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