18c2ecf20Sopenharmony_ciTexas Instruments - tlv320aic32x4 Codec module
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe tlv320aic32x4 serial control bus communicates through I2C protocols
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciRequired properties:
68c2ecf20Sopenharmony_ci - compatible - "string" - One of:
78c2ecf20Sopenharmony_ci	"ti,tlv320aic32x4" TLV320AIC3204
88c2ecf20Sopenharmony_ci	"ti,tlv320aic32x6" TLV320AIC3206, TLV320AIC3256
98c2ecf20Sopenharmony_ci - reg: I2C slave address
108c2ecf20Sopenharmony_ci - supply-*: Required supply regulators are:
118c2ecf20Sopenharmony_ci    "iov" - digital IO power supply
128c2ecf20Sopenharmony_ci    "ldoin" - LDO power supply
138c2ecf20Sopenharmony_ci    "dv" - Digital core power supply
148c2ecf20Sopenharmony_ci    "av" - Analog core power supply
158c2ecf20Sopenharmony_ci    If you supply ldoin, dv and av are optional. Otherwise they are required
168c2ecf20Sopenharmony_ci   See regulator/regulator.txt for more information about the detailed binding
178c2ecf20Sopenharmony_ci   format.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciOptional properties:
208c2ecf20Sopenharmony_ci - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt
218c2ecf20Sopenharmony_ci - clocks/clock-names: Clock named 'mclk' for the master clock of the codec.
228c2ecf20Sopenharmony_ci   See clock/clock-bindings.txt for information about the detailed format.
238c2ecf20Sopenharmony_ci - aic32x4-gpio-func - <array of 5 int>
248c2ecf20Sopenharmony_ci	- Types are defined in include/sound/tlv320aic32x4.h
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciExample:
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_cicodec: tlv320aic32x4@18 {
308c2ecf20Sopenharmony_ci	compatible = "ti,tlv320aic32x4";
318c2ecf20Sopenharmony_ci	reg = <0x18>;
328c2ecf20Sopenharmony_ci	clocks = <&clks 201>;
338c2ecf20Sopenharmony_ci	clock-names = "mclk";
348c2ecf20Sopenharmony_ci	aic32x4-gpio-func= <
358c2ecf20Sopenharmony_ci			0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
368c2ecf20Sopenharmony_ci			0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
378c2ecf20Sopenharmony_ci			0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */
388c2ecf20Sopenharmony_ci			0xff /* AIC32X4_MFPX_DEFAULT_VALUE */
398c2ecf20Sopenharmony_ci			0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */
408c2ecf20Sopenharmony_ci		>;
418c2ecf20Sopenharmony_ci};
42