rt5640.txt 642 B

123456789101112131415161718192021222324252627282930
  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. Example:
  13. rt5640 {
  14. compatible = "realtek,rt5640";
  15. reg = <0x1c>;
  16. interrupt-parent = <&gpio>;
  17. interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
  18. realtek,ldo1-en-gpios =
  19. <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
  20. };