tlv320aic3x.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. - reg - <int> - I2C slave address
  10. Optional properties:
  11. - gpio-reset - gpio pin number used for codec reset
  12. - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
  13. - ai3x-micbias-vg - MicBias Voltage required.
  14. 1 - MICBIAS output is powered to 2.0V,
  15. 2 - MICBIAS output is powered to 2.5V,
  16. 3 - MICBIAS output is connected to AVDD,
  17. If this node is not mentioned or if the value is incorrect, then MicBias
  18. is powered down.
  19. - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
  20. device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
  21. CODEC output pins:
  22. * LLOUT
  23. * RLOUT
  24. * MONO_LOUT
  25. * HPLOUT
  26. * HPROUT
  27. * HPLCOM
  28. * HPRCOM
  29. CODEC input pins:
  30. * MIC3L
  31. * MIC3R
  32. * LINE1L
  33. * LINE2L
  34. * LINE1R
  35. * LINE2R
  36. The pins can be used in referring sound node's audio-routing property.
  37. Example:
  38. tlv320aic3x: tlv320aic3x@1b {
  39. compatible = "ti,tlv320aic3x";
  40. reg = <0x1b>;
  41. AVDD-supply = <&regulator>;
  42. IOVDD-supply = <&regulator>;
  43. DRVDD-supply = <&regulator>;
  44. DVDD-supply = <&regulator>;
  45. };