aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/simple-amplifier.txt
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-11-22 18:23:20 +0800
committerMark Brown <broonie@kernel.org>2018-11-23 14:01:40 +0000
commit8e84de031a11c4240f3654fd4c380542e358f5f6 (patch)
tree1819a9379b191e41595da8ae6a95dcf46e4a8055 /Documentation/devicetree/bindings/sound/simple-amplifier.txt
parentASoC: sunxi: sun50i-codec-analog: Add support for cpvdd regulator supply (diff)
downloadlinux-dev-8e84de031a11c4240f3654fd4c380542e358f5f6.tar.xz
linux-dev-8e84de031a11c4240f3654fd4c380542e358f5f6.zip
ASoC: dt-bindings: add regulator property to simple amplifier
Amplifier may have associated regulator, so add a property for it. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/simple-amplifier.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/simple-amplifier.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/simple-amplifier.txt b/Documentation/devicetree/bindings/sound/simple-amplifier.txt
index 8647edae7af0..7182ac4f1e65 100644
--- a/Documentation/devicetree/bindings/sound/simple-amplifier.txt
+++ b/Documentation/devicetree/bindings/sound/simple-amplifier.txt
@@ -4,9 +4,14 @@ Required properties:
- compatible : "dioo,dio2125" or "simple-audio-amplifier"
- enable-gpios : the gpio connected to the enable pin of the simple amplifier
+Optional properties:
+- VCC-supply : power supply for the device, as covered
+ in Documentation/devicetree/bindings/regulator/regulator.txt
+
Example:
amp: analog-amplifier {
compatible = "simple-audio-amplifier";
+ VCC-supply = <&regulator>;
enable-gpios = <&gpio GPIOH_3 0>;
};