rt5640.txt 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. RT5640/RT5639 audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : One of "realtek,rt5640" or "realtek,rt5639".
  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. - realtek,in3-differential
  11. Boolean. Indicate MIC1/2/3 input are differential, rather than single-ended.
  12. - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
  13. Pins on the device (for linking into audio routes) for RT5639/RT5640:
  14. * DMIC1
  15. * DMIC2
  16. * MICBIAS1
  17. * IN1P
  18. * IN1N
  19. * IN2P
  20. * IN2N
  21. * IN3P
  22. * IN3N
  23. * HPOL
  24. * HPOR
  25. * LOUTL
  26. * LOUTR
  27. * SPOLP
  28. * SPOLN
  29. * SPORP
  30. * SPORN
  31. Additional pins on the device for RT5640:
  32. * MONOP
  33. * MONON
  34. Example:
  35. rt5640 {
  36. compatible = "realtek,rt5640";
  37. reg = <0x1c>;
  38. interrupt-parent = <&gpio>;
  39. interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
  40. realtek,ldo1-en-gpios =
  41. <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  42. };