Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 stereo power amplifiers

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,tas5707", "ti,tas5711", "ti,tas5717", "ti,tas5719", "ti,tas5721", "ti,tas5733", "ti,tas5753"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO for the active low reset line

pdn-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO for the active low powerdown line

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "mclk"

AVDD-supply — not listed as required here #

true — No constraints added by this property rule.

DVDD-supply — not listed as required here #

true — No constraints added by this property rule.

HPVDD-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_AB-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_CD-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_A-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_B-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_C-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD_D-supply — not listed as required here #

true — No constraints added by this property rule.

DRVDD-supply — not listed as required here #

true — No constraints added by this property rule.

PVDD-supply — not listed as required here #

true — No constraints added by this property rule.

#sound-dai-cells — required here #

Exact value (const): 0

port — not listed as required here #

Shared schema rule ($ref): audio-graph-port.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#sound-dai-cells"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,tas5717", "ti,tas5719"

When the condition matches (then) #

Properties and child nodes (properties)

PVDD_A-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_B-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_C-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_D-supply — not listed as required here

false — Not permitted by this property rule.

DRVDD-supply — not listed as required here

false — Not permitted by this property rule.

PVDD-supply — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,tas5711"

When the condition matches (then) #

Properties and child nodes (properties)

HPVDD-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_AB-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_CD-supply — not listed as required here

false — Not permitted by this property rule.

DRVDD-supply — not listed as required here

false — Not permitted by this property rule.

PVDD-supply — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,tas5721", "ti,tas5753"

When the condition matches (then) #

Properties and child nodes (properties)

HPVDD-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_AB-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_CD-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_A-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_B-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_C-supply — not listed as required here

false — Not permitted by this property rule.

PVDD_D-supply — not listed as required here

false — Not permitted by this property rule.

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>;

    codec@2a {
        compatible = "ti,tas5717";
        reg = <0x2a>;
        #sound-dai-cells = <0>;
        reset-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
        pdn-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
        AVDD-supply = <&avdd_supply>;
        DVDD-supply = <&dvdd_supply>;
        HPVDD-supply = <&hpvdd_supply>;
        PVDD_AB-supply = <&pvdd_ab_supply>;
        PVDD_CD-supply = <&pvdd_cd_supply>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page