rt5640.txt 863 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. RT5640 audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : "realtek,rt5640".
  5. - reg : The I2C address of the device.
  6. - interrupts : The CODEC's interrupt output.
  7. Optional properties:
  8. - realtek,in1-differential
  9. - realtek,in2-differential
  10. Boolean. Indicate MIC1/2 input are differential, rather than single-ended.
  11. - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
  12. Pins on the device (for linking into audio routes):
  13. * DMIC1
  14. * DMIC2
  15. * MICBIAS1
  16. * IN1P
  17. * IN1R
  18. * IN2P
  19. * IN2R
  20. * HPOL
  21. * HPOR
  22. * LOUTL
  23. * LOUTR
  24. * MONOP
  25. * MONON
  26. * SPOLP
  27. * SPOLN
  28. * SPORP
  29. * SPORN
  30. Example:
  31. rt5640 {
  32. compatible = "realtek,rt5640";
  33. reg = <0x1c>;
  34. interrupt-parent = <&gpio>;
  35. interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
  36. realtek,ldo1-en-gpios =
  37. <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  38. };