diff options
author | Pascal Huerst <pascal.huerst@gmail.com> | 2016-02-16 18:19:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-26 05:44:32 +0300 |
commit | 9a397f473657ad47449b6ab94ff2bb3f1f2de48f (patch) | |
tree | eb5e379b3c2d20c0946e05038770e582d62967b6 /Documentation/devicetree/bindings/sound/cs4271.txt | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | linux-9a397f473657ad47449b6ab94ff2bb3f1f2de48f.tar.xz |
ASoC: cs4271: add regulator consumer support
The cs4271 has three power domains: vd, vl and va.
Enable them all, as long as the codec is in use.
While at it, factored out the reset code into its own function.
Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/cs4271.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/cs4271.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs4271.txt b/Documentation/devicetree/bindings/sound/cs4271.txt index e2cd1d7539e5..6e699ceabacd 100644 --- a/Documentation/devicetree/bindings/sound/cs4271.txt +++ b/Documentation/devicetree/bindings/sound/cs4271.txt @@ -33,12 +33,19 @@ Optional properties: Note that this is not needed in case the clocks are stable throughout the entire runtime of the codec. + - vd-supply: Digital power + - vl-supply: Logic power + - va-supply: Analog Power + Examples: codec_i2c: cs4271@10 { compatible = "cirrus,cs4271"; reg = <0x10>; reset-gpio = <&gpio 23 0>; + vd-supply = <&vdd_3v3_reg>; + vl-supply = <&vdd_3v3_reg>; + va-supply = <&vdd_3v3_reg>; }; codec_spi: cs4271@0 { |