tlv320aic3x.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Texas Instruments - tlv320aic3x Codec module
  2. The tlv320aic3x serial control bus communicates through I2C protocols
  3. Required properties:
  4. - compatible - "string" - One of:
  5. "ti,tlv320aic3x" - Generic TLV320AIC3x device
  6. "ti,tlv320aic33" - TLV320AIC33
  7. "ti,tlv320aic3007" - TLV320AIC3007
  8. "ti,tlv320aic3106" - TLV320AIC3106
  9. "ti,tlv320aic3104" - TLV320AIC3104
  10. - reg - <int> - I2C slave address
  11. Optional properties:
  12. - gpio-reset - gpio pin number used for codec reset
  13. - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
  14. - Not supported on tlv320aic3104
  15. - ai3x-micbias-vg - MicBias Voltage required.
  16. 1 - MICBIAS output is powered to 2.0V,
  17. 2 - MICBIAS output is powered to 2.5V,
  18. 3 - MICBIAS output is connected to AVDD,
  19. If this node is not mentioned or if the value is incorrect, then MicBias
  20. is powered down.
  21. - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
  22. device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
  23. CODEC output pins:
  24. * LLOUT
  25. * RLOUT
  26. * MONO_LOUT
  27. * HPLOUT
  28. * HPROUT
  29. * HPLCOM
  30. * HPRCOM
  31. CODEC input pins for TLV320AIC3104:
  32. * MIC2L
  33. * MIC2R
  34. * LINE1L
  35. * LINE1R
  36. CODEC input pins for other compatible codecs:
  37. * MIC3L
  38. * MIC3R
  39. * LINE1L
  40. * LINE2L
  41. * LINE1R
  42. * LINE2R
  43. The pins can be used in referring sound node's audio-routing property.
  44. Example:
  45. tlv320aic3x: tlv320aic3x@1b {
  46. compatible = "ti,tlv320aic3x";
  47. reg = <0x1b>;
  48. AVDD-supply = <&regulator>;
  49. IOVDD-supply = <&regulator>;
  50. DRVDD-supply = <&regulator>;
  51. DVDD-supply = <&regulator>;
  52. };