FourSemi FS2104/5S Digital Audio Amplifier

Schema identifier ($id): "http://devicetree.org/schemas/sound/foursemi,fs2105s.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nick Li <nick.li@foursemi.com>"

The FS2104 is a 15W Inductor-Less, Stereo, Closed-Loop, Digital Input Class-D Power Amplifier with Enhanced Signal Processing. The FS2105S is a 30W Inductor-Less, Stereo, Closed-Loop, Digital Input Class-D Power Amplifier with Enhanced Signal Processing.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "foursemi,fs2104"

Item 2

Exact value (const): "foursemi,fs2105s"

Rule 2

Allowed values (enum): "foursemi,fs2105s"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

The clock of I2S BCLK

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "bclk"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

pvdd-supply — required here #

Regulator for power supply(PVDD in datasheet).

dvdd-supply — required here #

Regulator for digital supply(DVDD in datasheet).

reset-gpios — required here #

Maximum number of items (maxItems): 1

It's the SDZ pin in datasheet, the pin is active low, it will power down and reset the chip to shut down state.

firmware-name — required here #

Maximum number of items (maxItems): 1

The firmware(*.bin) contains: a. Register initialization settings b. DSP effect parameters c. Multi-scene sound effect configurations(optional) It's gernerated by FourSemi's tuning tool.

Required in this object (required): "compatible", "reg", "#sound-dai-cells", "pvdd-supply", "dvdd-supply", "reset-gpios", "firmware-name"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    audio-codec@68 {
        compatible = "foursemi,fs2105s";
        reg = <0x68>;
        clocks = <&clocks 18>;
        clock-names = "bclk";
        #sound-dai-cells = <0>;
        pvdd-supply = <&pvdd_supply>;
        dvdd-supply = <&dvdd_supply>;
        reset-gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
        firmware-name = "fs2105s-btl-2p0-0s.bin";
        pinctrl-names = "default";
        pinctrl-0 = <&fs210x_pins_default>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page