ASoC: audio-graph-card: update bindings for amplifier support
authorShawn Guo <shawn.guo@linaro.org>
Thu, 29 Jun 2017 13:26:37 +0000 (21:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jun 2017 11:37:02 +0000 (12:37 +0100)
The audio-graph-card should be able to support widgets and routing in
the same way as what simple-audio-card does.  The patch adds the
properties into audio-graph-card bindings.  Then an optional property
'pa-gpios' for controlling external amplifier, which depends on DAPM
widgets and routing, is added.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/audio-graph-card.txt

index bac4b1b1060f071be182c0e41e3f3ee22e5de6d7..6e6720aa33f19b03c81db761413db684267acc73 100644 (file)
@@ -10,6 +10,8 @@ see ${LINUX}/Documentation/devicetree/bindings/sound/simple-card.txt
 Below are same as Simple-Card.
 
 - label
+- widgets
+- routing
 - dai-format
 - frame-master
 - bitclock-master
@@ -24,6 +26,9 @@ Required properties:
 - compatible                           : "audio-graph-card";
 - dais                                 : list of CPU DAI port{s}
 
+Optional properties:
+- pa-gpios: GPIO used to control external amplifier.
+
 Example: Single DAI case
 
        sound_card {