summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/cs4271.txt
diff options
context:
space:
mode:
authorPascal Huerst <pascal.huerst@gmail.com>2016-02-16 16:19:06 +0100
committerMark Brown <broonie@kernel.org>2016-02-26 11:44:32 +0900
commit9a397f473657ad47449b6ab94ff2bb3f1f2de48f (patch)
treeeb5e379b3c2d20c0946e05038770e582d62967b6 /Documentation/devicetree/bindings/sound/cs4271.txt
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadop-kernel-dev-9a397f473657ad47449b6ab94ff2bb3f1f2de48f.zip
op-kernel-dev-9a397f473657ad47449b6ab94ff2bb3f1f2de48f.tar.gz
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.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs4271.txt b/Documentation/devicetree/bindings/sound/cs4271.txt
index e2cd1d7..6e699ce 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 {
OpenPOWER on IntegriCloud