[PATCH v2] ASoC: dt-bindings: simple-card: Document simple-audio-card, plat

Faiz Abbas faiz.abbas at arm.com
Tue Jan 17 07:18:08 CET 2023


The simple card driver already has support for a simple-audio-card,plat
property but its not reflected in the documentation. Add documentation
for this plat property.

Signed-off-by: Faiz Abbas <faiz.abbas at arm.com>
---
Changes since v1:
1. Updated commit message to indicate the property already exists
2. Removed redundant example
3. Fixed formatting issue found by 'make DT_CHECKER_FLAGS=-m dt_binding_check'

 Documentation/devicetree/bindings/sound/simple-card.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml
index ed19899bc94b..9abe99f15763 100644
--- a/Documentation/devicetree/bindings/sound/simple-card.yaml
+++ b/Documentation/devicetree/bindings/sound/simple-card.yaml
@@ -205,6 +205,8 @@ patternProperties:
     $ref: "#/definitions/dai"
   "^simple-audio-card,codec(@[0-9a-f]+)?$":
     $ref: "#/definitions/dai"
+  "^simple-audio-card,plat(@[0-9a-f]+)?$":
+    $ref: "#/definitions/dai"
 
   "^simple-audio-card,dai-link(@[0-9a-f]+)?$":
     description: |
-- 
2.25.1



More information about the Alsa-devel mailing list