blob: 5666da7b86059f39c411a6acebf5b8dc758342ac [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
Fabio Estevam10ff0802016-05-31 17:41:50 -030010- VDDA-supply : the regulator provider of VDDA
11
12- VDDIO-supply: the regulator provider of VDDIO
13
14Optional properties:
15
16- VDDD-supply : the regulator provider of VDDD
17
Jean-Michel Hautboisbd0593f2014-10-14 08:43:11 +020018- micbias-resistor-k-ohms : the bias resistor to be used in kOmhs
19 The resistor can take values of 2k, 4k or 8k.
20 If set to 0 it will be off.
21 If this node is not mentioned or if the value is unknown, then
22 micbias resistor is set to 4K.
23
Jean-Michel Hautbois87357792014-10-14 08:43:12 +020024- micbias-voltage-m-volts : the bias voltage to be used in mVolts
25 The voltage can take values from 1.25V to 3V by 250mV steps
Fabio Estevam10ff0802016-05-31 17:41:50 -030026 If this node is not mentioned or the value is unknown, then
Jean-Michel Hautbois87357792014-10-14 08:43:12 +020027 the value is set to 1.25V.
Jean-Michel Hautboisbd0593f2014-10-14 08:43:11 +020028
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};