rt5677.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. RT5677 audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : "realtek,rt5677".
  5. - reg : The I2C address of the device.
  6. - interrupts : The CODEC's interrupt output.
  7. - gpio-controller : Indicates this device is a GPIO controller.
  8. - #gpio-cells : Should be two. The first cell is the pin number and the
  9. second cell is used to specify optional parameters (currently unused).
  10. Optional properties:
  11. - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin.
  12. - realtek,in1-differential
  13. - realtek,in2-differential
  14. - realtek,lout1-differential
  15. - realtek,lout2-differential
  16. - realtek,lout3-differential
  17. Boolean. Indicate MIC1/2 input and LOUT1/2/3 outputs are differential,
  18. rather than single-ended.
  19. Pins on the device (for linking into audio routes):
  20. * IN1P
  21. * IN1N
  22. * IN2P
  23. * IN2N
  24. * MICBIAS1
  25. * DMIC1
  26. * DMIC2
  27. * DMIC3
  28. * DMIC4
  29. * LOUT1
  30. * LOUT2
  31. * LOUT3
  32. Example:
  33. rt5677 {
  34. compatible = "realtek,rt5677";
  35. reg = <0x2c>;
  36. interrupt-parent = <&gpio>;
  37. interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
  38. gpio-controller;
  39. #gpio-cells = <2>;
  40. realtek,pow-ldo2-gpio =
  41. <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  42. realtek,in1-differential = "true";
  43. };