summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/sgtl5000.txt
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jean-michel.hautbois@vodalys.com>2014-10-14 08:43:11 +0200
committerMark Brown <broonie@kernel.org>2014-10-20 12:22:33 +0100
commitbd0593f5f6add279257334b4a76aecd3ee8d31dc (patch)
tree1bad69bc4a955dd74dcfb9c38cb069954bfdf20b /Documentation/devicetree/bindings/sound/sgtl5000.txt
parent7f6d75d77683c8f9c18836a2fea2a1e76efc3a9a (diff)
ASoC: sgtl5000: Add MicBias resistor support in DT
Some systems may require a different resistor than the default one (4K). This adds a property in sgtl5000 codec. It keeps the default of 4K when nothing is specified so it does not break existing code. Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/sgtl5000.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/sgtl5000.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt
index 955df60a118c..d6ec92707d81 100644
--- a/Documentation/devicetree/bindings/sound/sgtl5000.txt
+++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt
@@ -7,10 +7,18 @@ Required properties:
- 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>;
};