2011-07-22 00:28:51 +08:00
|
|
|
* Freescale SGTL5000 Stereo Codec
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : "fsl,sgtl5000".
|
|
|
|
|
2012-04-24 12:11:09 +08:00
|
|
|
- reg : the I2C address of the device
|
|
|
|
|
2013-06-10 21:24:42 +08:00
|
|
|
- clocks : the clock provider of SYS_MCLK
|
|
|
|
|
2014-10-14 14:43:11 +08:00
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
2011-07-22 00:28:51 +08:00
|
|
|
Example:
|
|
|
|
|
|
|
|
codec: sgtl5000@0a {
|
|
|
|
compatible = "fsl,sgtl5000";
|
|
|
|
reg = <0x0a>;
|
2013-06-10 21:24:42 +08:00
|
|
|
clocks = <&clks 150>;
|
2014-10-14 14:43:11 +08:00
|
|
|
sgtl5000-micbias-resistor = <1>;
|
2011-07-22 00:28:51 +08:00
|
|
|
};
|