mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
10ff08029d
'micbias-resistor-k-ohms' and 'micbias-voltage-m-volts' are optional properties, so move them below the 'Optional properties' line. While at it, fix a typo in 'mentioned'. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
40 lines
1019 B
Plaintext
40 lines
1019 B
Plaintext
* Freescale SGTL5000 Stereo Codec
|
|
|
|
Required properties:
|
|
- compatible : "fsl,sgtl5000".
|
|
|
|
- reg : the I2C address of the device
|
|
|
|
- clocks : the clock provider of SYS_MCLK
|
|
|
|
- VDDA-supply : the regulator provider of VDDA
|
|
|
|
- VDDIO-supply: the regulator provider of VDDIO
|
|
|
|
Optional properties:
|
|
|
|
- VDDD-supply : the regulator provider of VDDD
|
|
|
|
- micbias-resistor-k-ohms : the bias resistor to be used in kOmhs
|
|
The resistor can take values of 2k, 4k or 8k.
|
|
If set to 0 it will be off.
|
|
If this node is not mentioned or if the value is unknown, then
|
|
micbias resistor is set to 4K.
|
|
|
|
- micbias-voltage-m-volts : the bias voltage to be used in mVolts
|
|
The voltage can take values from 1.25V to 3V by 250mV steps
|
|
If this node is not mentioned or the value is unknown, then
|
|
the value is set to 1.25V.
|
|
|
|
Example:
|
|
|
|
codec: sgtl5000@0a {
|
|
compatible = "fsl,sgtl5000";
|
|
reg = <0x0a>;
|
|
clocks = <&clks 150>;
|
|
micbias-resistor-k-ohms = <2>;
|
|
micbias-voltage-m-volts = <2250>;
|
|
VDDA-supply = <®_3p3v>;
|
|
VDDIO-supply = <®_3p3v>;
|
|
};
|