Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / sgtl5000.txt
1 * Freescale SGTL5000 Stereo Codec
2
3 Required properties:
4 - compatible : "fsl,sgtl5000".
5
6 - reg : the I2C address of the device
7
8 - clocks : the clock provider of SYS_MCLK
9
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
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
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
26         If this node is not mentioned or the value is unknown, then
27         the value is set to 1.25V.
28
29 - lrclk-strength: the LRCLK pad strength. Possible values are:
30 0, 1, 2 and 3 as per the table below:
31
32 VDDIO           1.8V            2.5V            3.3V
33 0 =             Disable
34 1 =             1.66 mA         2.87 mA         4.02  mA
35 2 =             3.33 mA         5.74 mA         8.03  mA
36 3 =             4.99 mA         8.61 mA         12.05 mA
37
38 Example:
39
40 codec: sgtl5000@a {
41         compatible = "fsl,sgtl5000";
42         reg = <0x0a>;
43         clocks = <&clks 150>;
44         micbias-resistor-k-ohms = <2>;
45         micbias-voltage-m-volts = <2250>;
46         VDDA-supply = <&reg_3p3v>;
47         VDDIO-supply = <&reg_3p3v>;
48 };