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