Commit | Line | Data |
---|---|---|
58e49424 SG |
1 | * Freescale SGTL5000 Stereo Codec |
2 | ||
3 | Required properties: | |
4 | - compatible : "fsl,sgtl5000". | |
5 | ||
ddb6706a FE |
6 | - reg : the I2C address of the device |
7 | ||
77845b11 FE |
8 | - clocks : the clock provider of SYS_MCLK |
9 | ||
bd0593f5 JMH |
10 | - 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 | ||
87357797 JMH |
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 mentionned or the value is unknown, then | |
19 | the value is set to 1.25V. | |
bd0593f5 | 20 | |
c171b120 FE |
21 | - VDDA-supply : the regulator provider of VDDA |
22 | ||
23 | - VDDIO-supply: the regulator provider of VDDIO | |
24 | ||
25 | Optional properties: | |
26 | ||
27 | - VDDD-supply : the regulator provider of VDDD | |
28 | ||
58e49424 SG |
29 | Example: |
30 | ||
31 | codec: sgtl5000@0a { | |
32 | compatible = "fsl,sgtl5000"; | |
33 | reg = <0x0a>; | |
77845b11 | 34 | clocks = <&clks 150>; |
87357797 JMH |
35 | micbias-resistor-k-ohms = <2>; |
36 | micbias-voltage-m-volts = <2250>; | |
c171b120 FE |
37 | VDDA-supply = <®_3p3v>; |
38 | VDDIO-supply = <®_3p3v>; | |
58e49424 | 39 | }; |