tlv320aic3x.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. - reset-gpios - GPIO specification for the active low RESET input.
  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. - ai3x-ocmv - Output Common-Mode Voltage selection:
  22. 0 - 1.35V,
  23. 1 - 1.5V,
  24. 2 - 1.65V,
  25. 3 - 1.8V
  26. - AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
  27. device as covered in Documentation/devicetree/bindings/regulator/regulator.txt
  28. Deprecated properties:
  29. - gpio-reset - gpio pin number used for codec reset
  30. CODEC output pins:
  31. * LLOUT
  32. * RLOUT
  33. * MONO_LOUT
  34. * HPLOUT
  35. * HPROUT
  36. * HPLCOM
  37. * HPRCOM
  38. CODEC input pins for TLV320AIC3104:
  39. * MIC2L
  40. * MIC2R
  41. * LINE1L
  42. * LINE1R
  43. CODEC input pins for other compatible codecs:
  44. * MIC3L
  45. * MIC3R
  46. * LINE1L
  47. * LINE2L
  48. * LINE1R
  49. * LINE2R
  50. The pins can be used in referring sound node's audio-routing property.
  51. Example:
  52. #include <dt-bindings/gpio/gpio.h>
  53. tlv320aic3x: tlv320aic3x@1b {
  54. compatible = "ti,tlv320aic3x";
  55. reg = <0x1b>;
  56. reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
  57. AVDD-supply = <&regulator>;
  58. IOVDD-supply = <&regulator>;
  59. DRVDD-supply = <&regulator>;
  60. DVDD-supply = <&regulator>;
  61. };