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

From: Claudio Cabral
Date: Wed Oct 05 2022 - 10:27:57 EST


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@xxxxxxxxxxxxxxx>
Signed-off-by: Alvin Šipraga <alsi@xxxxxxxxxxxxxxx>
Signed-off-by: Claudio Cabral <clca@xxxxxxxxxxxxxxx>
---
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