Merge tag 'binfmt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / tas571x.txt
1 Texas Instruments TAS5711/TAS5717/TAS5719/TAS5721 stereo power amplifiers
2
3 The codec is controlled through an I2C interface.  It also has two other
4 signals that can be wired up to GPIOs: reset (strongly recommended), and
5 powerdown (optional).
6
7 Required properties:
8
9 - compatible: should be one of the following:
10   - "ti,tas5711",
11   - "ti,tas5717",
12   - "ti,tas5719",
13   - "ti,tas5721"
14 - reg: The I2C address of the device
15 - #sound-dai-cells: must be equal to 0
16
17 Optional properties:
18
19 - reset-gpios: GPIO specifier for the TAS571x's active low reset line
20 - pdn-gpios: GPIO specifier for the TAS571x's active low powerdown line
21 - clocks: clock phandle for the MCLK input
22 - clock-names: should be "mclk"
23 - AVDD-supply: regulator phandle for the AVDD supply (all chips)
24 - DVDD-supply: regulator phandle for the DVDD supply (all chips)
25 - HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719)
26 - PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719)
27 - PVDD_CD-supply: regulator phandle for the PVDD_CD supply (5717/5719)
28 - PVDD_A-supply: regulator phandle for the PVDD_A supply (5711)
29 - PVDD_B-supply: regulator phandle for the PVDD_B supply (5711)
30 - PVDD_C-supply: regulator phandle for the PVDD_C supply (5711)
31 - PVDD_D-supply: regulator phandle for the PVDD_D supply (5711)
32 - DRVDD-supply: regulator phandle for the DRVDD supply (5721)
33 - PVDD-supply: regulator phandle for the PVDD supply (5721)
34
35 Example:
36
37         tas5717: audio-codec@2a {
38                 compatible = "ti,tas5717";
39                 reg = <0x2a>;
40                 #sound-dai-cells = <0>;
41
42                 reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
43                 pdn-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
44
45                 clocks = <&clk_core CLK_I2S>;
46                 clock-names = "mclk";
47         };