Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / ti,tpa6130a2.yaml
bloba42bf9bde6940061640fda97244847e36e9b6ef4
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/ti,tpa6130a2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments - tpa6130a2 Codec module
9 maintainers:
10   - Sebastian Reichel <sre@kernel.org>
12 description:
13   Stereo, analog input headphone amplifier
15 properties:
16   compatible:
17     enum:
18       - ti,tpa6130a2
19       - ti,tpa6140a2
21   reg:
22     maxItems: 1
24   Vdd-supply:
25     description: power supply regulator
27   power-gpio:
28     description: gpio pin to power the device
30 required:
31   - compatible
32   - reg
33   - Vdd-supply
35 allOf:
36   - $ref: dai-common.yaml#
38 unevaluatedProperties: false
40 examples:
41   - |
42     #include <dt-bindings/gpio/gpio.h>
44     i2c {
45         #address-cells = <1>;
46         #size-cells = <0>;
48         amplifier@60 {
49             compatible = "ti,tpa6130a2";
50             reg = <0x60>;
51             Vdd-supply = <&vmmc2>;
52             power-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
53        };
54     };