rt5668.txt 1010 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. RT5668B audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : "realtek,rt5668b"
  5. - reg : The I2C address of the device.
  6. Optional properties:
  7. - interrupts : The CODEC's interrupt output.
  8. - realtek,dmic1-data-pin
  9. 0: dmic1 is not used
  10. 1: using GPIO2 pin as dmic1 data pin
  11. 2: using GPIO5 pin as dmic1 data pin
  12. - realtek,dmic1-clk-pin
  13. 0: using GPIO1 pin as dmic1 clock pin
  14. 1: using GPIO3 pin as dmic1 clock pin
  15. - realtek,jd-src
  16. 0: No JD is used
  17. 1: using JD1 as JD source
  18. - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
  19. Pins on the device (for linking into audio routes) for RT5668B:
  20. * DMIC L1
  21. * DMIC R1
  22. * IN1P
  23. * HPOL
  24. * HPOR
  25. Example:
  26. rt5668 {
  27. compatible = "realtek,rt5668b";
  28. reg = <0x1a>;
  29. interrupt-parent = <&gpio>;
  30. interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
  31. realtek,ldo1-en-gpios =
  32. <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
  33. realtek,dmic1-data-pin = <1>;
  34. realtek,dmic1-clk-pin = <1>;
  35. realtek,jd-src = <1>;
  36. };