Texas Instruments - tpa6130a2 Codec module

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

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

Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"

Stereo, analog input headphone amplifier

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,tpa6130a2", "ti,tpa6140a2"

reg — required here #

Maximum number of items (maxItems): 1

Vdd-supply — required here #

power supply regulator

power-gpio — not listed as required here #

gpio pin to power the device

Required in this object (required): "compatible", "reg", "Vdd-supply"

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

    amplifier@60 {
        compatible = "ti,tpa6130a2";
        reg = <0x60>;
        Vdd-supply = <&vmmc2>;
        power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
   };
};

Source notes #

Annotations retained from the schema source

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

Edit this page