wm8962.txt 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. WM8962 audio CODEC
  2. This device supports I2C only.
  3. Required properties:
  4. - compatible : "wlf,wm8962"
  5. - reg : the I2C address of the device.
  6. Optional properties:
  7. - spk-mono: This is a boolean property. If present, the SPK_MONO bit
  8. of R51 (Class D Control 2) gets set, indicating that the speaker is
  9. in mono mode.
  10. - mic-cfg : Default register value for R48 (Additional Control 4).
  11. If absent, the default should be the register default.
  12. - gpio-cfg : A list of GPIO configuration register values. The list must
  13. be 6 entries long. If absent, no configuration of these registers is
  14. performed. And note that only the value within [0x0, 0xffff] is valid.
  15. Any other value is regarded as setting the GPIO register by its reset
  16. value 0x0.
  17. Example:
  18. codec: wm8962@1a {
  19. compatible = "wlf,wm8962";
  20. reg = <0x1a>;
  21. gpio-cfg = <
  22. 0x0000 /* 0:Default */
  23. 0x0000 /* 1:Default */
  24. 0x0013 /* 2:FN_DMICCLK */
  25. 0x0000 /* 3:Default */
  26. 0x8014 /* 4:FN_DMICCDAT */
  27. 0x0000 /* 5:Default */
  28. >;
  29. };