ASoC: dt-bindings: add regulator property to simple amplifier
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 22 Nov 2018 10:23:20 +0000 (18:23 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 23 Nov 2018 14:01:40 +0000 (14:01 +0000)
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>
Documentation/devicetree/bindings/sound/simple-amplifier.txt

index 8647edae7af038a64d2eadf5a1d6a403ecc2cacf..7182ac4f1e6588fd502e42171b892dc04fc13b6d 100644 (file)
@@ -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>;
 };