1*4882a593SmuzhiyunTexas Instruments - tlv320aic32x4 Codec module 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe tlv320aic32x4 serial control bus communicates through I2C protocols 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunRequired properties: 6*4882a593Smuzhiyun - compatible - "string" - One of: 7*4882a593Smuzhiyun "ti,tlv320aic32x4" TLV320AIC3204 8*4882a593Smuzhiyun "ti,tlv320aic32x6" TLV320AIC3206, TLV320AIC3256 9*4882a593Smuzhiyun - reg: I2C slave address 10*4882a593Smuzhiyun - supply-*: Required supply regulators are: 11*4882a593Smuzhiyun "iov" - digital IO power supply 12*4882a593Smuzhiyun "ldoin" - LDO power supply 13*4882a593Smuzhiyun "dv" - Digital core power supply 14*4882a593Smuzhiyun "av" - Analog core power supply 15*4882a593Smuzhiyun If you supply ldoin, dv and av are optional. Otherwise they are required 16*4882a593Smuzhiyun See regulator/regulator.txt for more information about the detailed binding 17*4882a593Smuzhiyun format. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunOptional properties: 20*4882a593Smuzhiyun - reset-gpios: Reset-GPIO phandle with args as described in gpio/gpio.txt 21*4882a593Smuzhiyun - clocks/clock-names: Clock named 'mclk' for the master clock of the codec. 22*4882a593Smuzhiyun See clock/clock-bindings.txt for information about the detailed format. 23*4882a593Smuzhiyun - aic32x4-gpio-func - <array of 5 int> 24*4882a593Smuzhiyun - Types are defined in include/sound/tlv320aic32x4.h 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunExample: 28*4882a593Smuzhiyun 29*4882a593Smuzhiyuncodec: tlv320aic32x4@18 { 30*4882a593Smuzhiyun compatible = "ti,tlv320aic32x4"; 31*4882a593Smuzhiyun reg = <0x18>; 32*4882a593Smuzhiyun clocks = <&clks 201>; 33*4882a593Smuzhiyun clock-names = "mclk"; 34*4882a593Smuzhiyun aic32x4-gpio-func= < 35*4882a593Smuzhiyun 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ 36*4882a593Smuzhiyun 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ 37*4882a593Smuzhiyun 0x04 /* MFP3 AIC32X4_MFP3_GPIO_ENABLED */ 38*4882a593Smuzhiyun 0xff /* AIC32X4_MFPX_DEFAULT_VALUE */ 39*4882a593Smuzhiyun 0x08 /* MFP5 AIC32X4_MFP5_GPIO_INPUT */ 40*4882a593Smuzhiyun >; 41*4882a593Smuzhiyun}; 42