sgtl5000.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. * Freescale SGTL5000 Stereo Codec
  2. Required properties:
  3. - compatible : "fsl,sgtl5000".
  4. - reg : the I2C address of the device
  5. - #sound-dai-cells: must be equal to 0
  6. - clocks : the clock provider of SYS_MCLK
  7. - VDDA-supply : the regulator provider of VDDA
  8. - VDDIO-supply: the regulator provider of VDDIO
  9. Optional properties:
  10. - VDDD-supply : the regulator provider of VDDD
  11. - micbias-resistor-k-ohms : the bias resistor to be used in kOhms
  12. The resistor can take values of 2k, 4k or 8k.
  13. If set to 0 it will be off.
  14. If this node is not mentioned or if the value is unknown, then
  15. micbias resistor is set to 4K.
  16. - micbias-voltage-m-volts : the bias voltage to be used in mVolts
  17. The voltage can take values from 1.25V to 3V by 250mV steps
  18. If this node is not mentioned or the value is unknown, then
  19. the value is set to 1.25V.
  20. - lrclk-strength: the LRCLK pad strength. Possible values are:
  21. 0, 1, 2 and 3 as per the table below:
  22. VDDIO 1.8V 2.5V 3.3V
  23. 0 = Disable
  24. 1 = 1.66 mA 2.87 mA 4.02 mA
  25. 2 = 3.33 mA 5.74 mA 8.03 mA
  26. 3 = 4.99 mA 8.61 mA 12.05 mA
  27. Example:
  28. sgtl5000: codec@a {
  29. compatible = "fsl,sgtl5000";
  30. reg = <0x0a>;
  31. #sound-dai-cells = <0>;
  32. clocks = <&clks 150>;
  33. micbias-resistor-k-ohms = <2>;
  34. micbias-voltage-m-volts = <2250>;
  35. VDDA-supply = <&reg_3p3v>;
  36. VDDIO-supply = <&reg_3p3v>;
  37. };