Thread (1 message) flat view 1 message, 1 author, 2022-08-23

Re: [PATCH 1/2] ASoC: mediatek: dt-bindings: modify machine bindings for SOF

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-23 17:18:55
Also in: alsa-devel, linux-arm-kernel, linux-mediatek, lkml

On 20/08/2022 10:53, Chunxu Li wrote:
quoted hunk
From: "chunxu.li" <redacted>

Add SOF related field.
1. Add a property "mediatek,adsp", Only when adsp phandle could be
retrieved from DTS, the SOF related part of machine driver is executed.
2. Add a property "mediatek,dai-link" to support dai-links could be
specified from DTS

Signed-off-by: chunxu.li <redacted>
---
 .../bindings/sound/mt8186-mt6366-da7219-max98357.yaml  | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml b/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
index 513cd28b2027..d810dfccd1f8 100644
--- a/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
+++ b/Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml
@@ -43,6 +43,16 @@ properties:
     required:
       - sound-dai
 
+  mediatek,adsp:
+    $ref: "/schemas/types.yaml#/definitions/phandle"
No need for quotes.

Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help