sgtl5000.txt 1020 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * Freescale SGTL5000 Stereo Codec
  2. Required properties:
  3. - compatible : "fsl,sgtl5000".
  4. - reg : the I2C address of the device
  5. - clocks : the clock provider of SYS_MCLK
  6. - micbias-resistor-k-ohms : the bias resistor to be used in kOmhs
  7. The resistor can take values of 2k, 4k or 8k.
  8. If set to 0 it will be off.
  9. If this node is not mentioned or if the value is unknown, then
  10. micbias resistor is set to 4K.
  11. - micbias-voltage-m-volts : the bias voltage to be used in mVolts
  12. The voltage can take values from 1.25V to 3V by 250mV steps
  13. If this node is not mentionned or the value is unknown, then
  14. the value is set to 1.25V.
  15. - VDDA-supply : the regulator provider of VDDA
  16. - VDDIO-supply: the regulator provider of VDDIO
  17. Optional properties:
  18. - VDDD-supply : the regulator provider of VDDD
  19. Example:
  20. codec: sgtl5000@0a {
  21. compatible = "fsl,sgtl5000";
  22. reg = <0x0a>;
  23. clocks = <&clks 150>;
  24. micbias-resistor-k-ohms = <2>;
  25. micbias-voltage-m-volts = <2250>;
  26. VDDA-supply = <&reg_3p3v>;
  27. VDDIO-supply = <&reg_3p3v>;
  28. };