rt5651.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. RT5651 audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : "realtek,rt5651".
  5. - reg : The I2C address of the device.
  6. Optional properties:
  7. - realtek,in2-differential
  8. Boolean. Indicate MIC2 input are differential, rather than single-ended.
  9. - realtek,dmic-en
  10. Boolean. true if dmic is used.
  11. - realtek,jack-detect-source
  12. u32. Valid values:
  13. 1: Use JD1_1 pin for jack-detect
  14. 2: Use JD1_2 pin for jack-detect
  15. 3: Use JD2 pin for jack-detect
  16. - realtek,over-current-threshold-microamp
  17. u32, micbias over-current detection threshold in µA, valid values are
  18. 600, 1500 and 2000µA.
  19. - realtek,over-current-scale-factor
  20. u32, micbias over-current detection scale-factor, valid values are:
  21. 0: Scale current by 0.5
  22. 1: Scale current by 0.75
  23. 2: Scale current by 1.0
  24. 3: Scale current by 1.5
  25. Pins on the device (for linking into audio routes) for RT5651:
  26. * DMIC L1
  27. * DMIC R1
  28. * IN1P
  29. * IN2P
  30. * IN2N
  31. * IN3P
  32. * HPOL
  33. * HPOR
  34. * LOUTL
  35. * LOUTR
  36. * PDML
  37. * PDMR
  38. Example:
  39. rt5651: codec@1a {
  40. compatible = "realtek,rt5651";
  41. reg = <0x1a>;
  42. realtek,dmic-en = "true";
  43. realtek,in2-diff = "false";
  44. };