diff options
author | Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> | 2014-10-14 02:43:12 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 07:22:33 -0400 |
commit | 8735779774b8bbe14456c9e6ba4525eefc67a228 (patch) | |
tree | a011c1f117e4193cece5654d3b4d3ea2bd7349e7 /Documentation | |
parent | bd0593f5f6add279257334b4a76aecd3ee8d31dc (diff) |
ASoC: sgtl5000: Add MicBias voltage support
Some systems may require to specify a bias different than default (1.25V).
This adds a property in sgtl5000 codec.
The property is specified in milli-volts so that it is coherent with datasheet.
Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/sgtl5000.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt index d6ec92707d81..1aab40339617 100644 --- a/Documentation/devicetree/bindings/sound/sgtl5000.txt +++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt | |||
@@ -13,6 +13,10 @@ Required properties: | |||
13 | If this node is not mentioned or if the value is unknown, then | 13 | If this node is not mentioned or if the value is unknown, then |
14 | micbias resistor is set to 4K. | 14 | micbias resistor is set to 4K. |
15 | 15 | ||
16 | - micbias-voltage-m-volts : the bias voltage to be used in mVolts | ||
17 | The voltage can take values from 1.25V to 3V by 250mV steps | ||
18 | If this node is not mentionned or the value is unknown, then | ||
19 | the value is set to 1.25V. | ||
16 | 20 | ||
17 | Example: | 21 | Example: |
18 | 22 | ||
@@ -20,5 +24,6 @@ codec: sgtl5000@0a { | |||
20 | compatible = "fsl,sgtl5000"; | 24 | compatible = "fsl,sgtl5000"; |
21 | reg = <0x0a>; | 25 | reg = <0x0a>; |
22 | clocks = <&clks 150>; | 26 | clocks = <&clks 150>; |
23 | sgtl5000-micbias-resistor = <1>; | 27 | micbias-resistor-k-ohms = <2>; |
28 | micbias-voltage-m-volts = <2250>; | ||
24 | }; | 29 | }; |