aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Mack2014-07-03 09:56:43 -0500
committerMark Brown2014-07-03 10:09:42 -0500
commitc46af3124b05ccb37d1311e442f191bb5c1d888e (patch)
treebadc98c3da5fff36ec11026724ef33927a1722af /Documentation/devicetree/bindings/sound/ti,tas5086.txt
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadti-linux-kernel-c46af3124b05ccb37d1311e442f191bb5c1d888e.tar.gz
ti-linux-kernel-c46af3124b05ccb37d1311e442f191bb5c1d888e.tar.xz
ti-linux-kernel-c46af3124b05ccb37d1311e442f191bb5c1d888e.zip
ASoC: tas5086: add regulator consumer support
The TAS5086 has two power domains, DVDD and AVDD. Enable them both as long as the codec is in use. Also, switch on the power to identify the chip at device probe level, and switch it off again afterwards. The codec level will take care for power handling later. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/ti,tas5086.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/ti,tas5086.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ti,tas5086.txt b/Documentation/devicetree/bindings/sound/ti,tas5086.txt
index d2866a0d6a26..234dad296da7 100644
--- a/Documentation/devicetree/bindings/sound/ti,tas5086.txt
+++ b/Documentation/devicetree/bindings/sound/ti,tas5086.txt
@@ -31,6 +31,9 @@ Optional properties:
31 31
32 Most systems should not set any of these properties. 32 Most systems should not set any of these properties.
33 33
34 - avdd-supply: Power supply for AVDD, providing 3.3V
35 - dvdd-supply: Power supply for DVDD, providing 3.3V
36
34Examples: 37Examples:
35 38
36 i2c_bus { 39 i2c_bus {
@@ -39,5 +42,7 @@ Examples:
39 reg = <0x1b>; 42 reg = <0x1b>;
40 reset-gpio = <&gpio 23 0>; 43 reset-gpio = <&gpio 23 0>;
41 ti,charge-period = <156000>; 44 ti,charge-period = <156000>;
45 avdd-supply = <&vdd_3v3_reg>;
46 dvdd-supply = <&vdd_3v3_reg>;
42 }; 47 };
43 }; 48 };