mirror of https://gitee.com/openkylin/linux.git
25 lines
546 B
Plaintext
25 lines
546 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
|
|
|
|
- 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.
|
|
|
|
|
|
Example:
|
|
|
|
codec: sgtl5000@0a {
|
|
compatible = "fsl,sgtl5000";
|
|
reg = <0x0a>;
|
|
clocks = <&clks 150>;
|
|
sgtl5000-micbias-resistor = <1>;
|
|
};
|