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