tlv320aic31xx.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Texas Instruments - tlv320aic31xx Codec module
  2. The tlv320aic31xx serial control bus communicates through I2C protocols
  3. Required properties:
  4. - compatible - "string" - One of:
  5. "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp
  6. "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp
  7. "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP)
  8. "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP)
  9. "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP)
  10. "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP)
  11. - reg - <int> - I2C slave address
  12. - HPVDD-supply, SPRVDD-supply, SPLVDD-supply, AVDD-supply, IOVDD-supply,
  13. DVDD-supply : power supplies for the device as covered in
  14. Documentation/devicetree/bindings/regulator/regulator.txt
  15. Optional properties:
  16. - gpio-reset - gpio pin number used for codec reset
  17. - ai31xx-micbias-vg - MicBias Voltage setting
  18. 1 or MICBIAS_2_0V - MICBIAS output is powered to 2.0V
  19. 2 or MICBIAS_2_5V - MICBIAS output is powered to 2.5V
  20. 3 or MICBIAS_AVDD - MICBIAS output is connected to AVDD
  21. If this node is not mentioned or if the value is unknown, then
  22. micbias is set to 2.0V.
  23. CODEC output pins:
  24. * HPL
  25. * HPR
  26. * SPL, devices with stereo speaker amp
  27. * SPR, devices with stereo speaker amp
  28. * SPK, devices with mono speaker amp
  29. * MICBIAS
  30. CODEC input pins:
  31. * MIC1LP
  32. * MIC1RP
  33. * MIC1LM
  34. The pins can be used in referring sound node's audio-routing property.
  35. Example:
  36. #include <dt-bindings/sound/tlv320aic31xx-micbias.h>
  37. tlv320aic31xx: tlv320aic31xx@18 {
  38. compatible = "ti,tlv320aic311x";
  39. reg = <0x18>;
  40. ai31xx-micbias-vg = <MICBIAS_OFF>;
  41. HPVDD-supply = <&regulator>;
  42. SPRVDD-supply = <&regulator>;
  43. SPLVDD-supply = <&regulator>;
  44. AVDD-supply = <&regulator>;
  45. IOVDD-supply = <&regulator>;
  46. DVDD-supply = <&regulator>;
  47. };