xref: /linux/Documentation/devicetree/bindings/sound/tas2552.txt (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
15df7f71dSDan MurphyTexas Instruments - tas2552 Codec module
25df7f71dSDan Murphy
35df7f71dSDan MurphyThe tas2552 serial control bus communicates through I2C protocols
45df7f71dSDan Murphy
55df7f71dSDan MurphyRequired properties:
65df7f71dSDan Murphy	- compatible - One of:
75df7f71dSDan Murphy		"ti,tas2552" - TAS2552
8ddea87eaSFabio Estevam	- reg -  I2C slave address: it can be 0x40 if ADDR pin is 0
9ddea87eaSFabio Estevam				    or 0x41 if ADDR pin is 1.
105df7f71dSDan Murphy	- supply-*: Required supply regulators are:
115df7f71dSDan Murphy		"vbat"		battery voltage
125df7f71dSDan Murphy		"iovdd"		I/O Voltage
135df7f71dSDan Murphy		"avdd"		Analog DAC Voltage
145df7f71dSDan Murphy
155df7f71dSDan MurphyOptional properties:
165df7f71dSDan Murphy	- enable-gpio - gpio pin to enable/disable the device
175df7f71dSDan Murphy
187d8d2c94SFabio Estevamtas2552 can receive its reference clock via MCLK, BCLK, IVCLKIN pin or use the
1921e397bdSPeter Ujfalusiinternal 1.8MHz. This CLKIN is used by the PLL. In addition to PLL, the PDM
2021e397bdSPeter Ujfalusireference clock is also selectable: PLL, IVCLKIN, BCLK or MCLK.
2121e397bdSPeter UjfalusiFor system integration the dt-bindings/sound/tas2552.h header file provides
227d8d2c94SFabio Estevamdefined values to select and configure the PLL and PDM reference clocks.
2321e397bdSPeter Ujfalusi
245df7f71dSDan MurphyExample:
255df7f71dSDan Murphy
265df7f71dSDan Murphytas2552: tas2552@41 {
275df7f71dSDan Murphy	compatible = "ti,tas2552";
285df7f71dSDan Murphy	reg = <0x41>;
296cd6ad0eSFabio Estevam	vbat-supply = <&reg_vbat>;
306cd6ad0eSFabio Estevam	iovdd-supply = <&reg_iovdd>;
316cd6ad0eSFabio Estevam	avdd-supply = <&reg_avdd>;
325df7f71dSDan Murphy	enable-gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
335df7f71dSDan Murphy};
345df7f71dSDan Murphy
355df7f71dSDan MurphyFor more product information please see the link below:
36*5856d8bdSAlexander A. Klimovhttps://www.ti.com/product/TAS2552
37