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 | ||
10ff0802 FE |
10 | - VDDA-supply : the regulator provider of VDDA |
11 | ||
12 | - VDDIO-supply: the regulator provider of VDDIO | |
13 | ||
14 | Optional properties: | |
15 | ||
16 | - VDDD-supply : the regulator provider of VDDD | |
17 | ||
bd0593f5 JMH |
18 | - 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 | ||
87357797 JMH |
24 | - 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 | |
10ff0802 | 26 | If this node is not mentioned or the value is unknown, then |
87357797 | 27 | the value is set to 1.25V. |
bd0593f5 | 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 | }; |