blob: 0e5e4eb3ef1bdd9c3b85ccfcd8c81fbbc5455f08 [file] [log] [blame]
Shawn Guo58e49422011-07-22 00:28:51 +08001* Freescale SGTL5000 Stereo Codec
2
3Required properties:
4- compatible : "fsl,sgtl5000".
5
Fabio Estevamddb67062012-04-24 01:11:09 -03006- reg : the I2C address of the device
7
Fabio Estevam77845b12013-06-10 10:24:42 -03008- clocks : the clock provider of SYS_MCLK
9
Jean-Michel Hautboisbd0593f2014-10-14 08:43:11 +020010- micbias-resistor-k-ohms : the bias resistor to be used in kOmhs
11 The resistor can take values of 2k, 4k or 8k.
12 If set to 0 it will be off.
13 If this node is not mentioned or if the value is unknown, then
14 micbias resistor is set to 4K.
15
Jean-Michel Hautbois87357792014-10-14 08:43:12 +020016- 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 mentionned or the value is unknown, then
19 the value is set to 1.25V.
Jean-Michel Hautboisbd0593f2014-10-14 08:43:11 +020020
Fabio Estevamc171b122014-10-14 11:11:02 -030021- VDDA-supply : the regulator provider of VDDA
22
23- VDDIO-supply: the regulator provider of VDDIO
24
25Optional properties:
26
27- VDDD-supply : the regulator provider of VDDD
28
Shawn Guo58e49422011-07-22 00:28:51 +080029Example:
30
31codec: sgtl5000@0a {
32 compatible = "fsl,sgtl5000";
33 reg = <0x0a>;
Fabio Estevam77845b12013-06-10 10:24:42 -030034 clocks = <&clks 150>;
Jean-Michel Hautbois87357792014-10-14 08:43:12 +020035 micbias-resistor-k-ohms = <2>;
36 micbias-voltage-m-volts = <2250>;
Fabio Estevamc171b122014-10-14 11:11:02 -030037 VDDA-supply = <&reg_3p3v>;
38 VDDIO-supply = <&reg_3p3v>;
Shawn Guo58e49422011-07-22 00:28:51 +080039};