[PATCH 1/2] ASoC: dt-bindings: add pin-switches to audio-graph-card2.yaml

Claudio Cabral CLCA at bang-olufsen.dk
Wed Oct 5 16:27:39 CEST 2022


Document support for pin-switches in audio-graph-card2
this devicetree property behaves the same way as its homonym in
simple-card

Reviewed-by: Alvin Šipraga <alsi at bang-olufsen.dk>
Signed-off-by: Alvin Šipraga <alsi at bang-olufsen.dk>
Signed-off-by: Claudio Cabral <clca at bang-olufsen.dk>
---
 Documentation/devicetree/bindings/sound/audio-graph-card2.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
index 7416067c945e..ab2cc83d6b4b 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
@@ -32,6 +32,9 @@ properties:
   codec2codec:
     type: object
     description: Codec to Codec node
+  pin-switches:
+    description: the widget names for which pin switches must be created.
+    $ref: /schemas/types.yaml#/definitions/string-array
 
 required:
   - compatible
-- 
2.37.3


More information about the Alsa-devel mailing list