xref: /freebsd/sys/contrib/device-tree/Bindings/sound/tas571x.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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- reg: The I2C address of the device
16- #sound-dai-cells: must be equal to 0
17
18Optional properties:
19
20- reset-gpios: GPIO specifier for the TAS571x's active low reset line
21- pdn-gpios: GPIO specifier for the TAS571x's active low powerdown line
22- clocks: clock phandle for the MCLK input
23- clock-names: should be "mclk"
24- AVDD-supply: regulator phandle for the AVDD supply (all chips)
25- DVDD-supply: regulator phandle for the DVDD supply (all chips)
26- HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719)
27- PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719)
28- PVDD_CD-supply: regulator phandle for the PVDD_CD supply (5717/5719)
29- PVDD_A-supply: regulator phandle for the PVDD_A supply (5711)
30- PVDD_B-supply: regulator phandle for the PVDD_B supply (5711)
31- PVDD_C-supply: regulator phandle for the PVDD_C supply (5711)
32- PVDD_D-supply: regulator phandle for the PVDD_D supply (5711)
33- DRVDD-supply: regulator phandle for the DRVDD supply (5721)
34- PVDD-supply: regulator phandle for the PVDD supply (5721)
35
36Example:
37
38	tas5717: audio-codec@2a {
39		compatible = "ti,tas5717";
40		reg = <0x2a>;
41		#sound-dai-cells = <0>;
42
43		reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
44		pdn-gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
45
46		clocks = <&clk_core CLK_I2S>;
47		clock-names = "mclk";
48	};
49