Thread (11 messages) 11 messages, 5 authors, 2025-02-25

Re: [PATCH 1/2] ASoC: dt-bindings: imx-card: Add playback-only and capture-only property

From: Shengjiu Wang <shengjiu.wang@gmail.com>
Date: 2025-02-12 03:51:45
Also in: imx, linux-arm-kernel, linux-devicetree, linux-sound, lkml

On Tue, Feb 11, 2025 at 11:32 PM Frank Li [off-list ref] wrote:
On Tue, Feb 11, 2025 at 11:57:36AM +0800, Shengjiu Wang wrote:
quoted
Refer to audio graph card, add playback-only and capture-only property
for imx-audio-card.yaml for the case that only playback or capture
is supported.

Signed-off-by: Shengjiu Wang <redacted>
---
 .../devicetree/bindings/sound/imx-audio-card.yaml         | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/imx-audio-card.yaml b/Documentation/devicetree/bindings/sound/imx-audio-card.yaml
index f7ad5ea2491e..86571fa930f6 100644
--- a/Documentation/devicetree/bindings/sound/imx-audio-card.yaml
+++ b/Documentation/devicetree/bindings/sound/imx-audio-card.yaml
@@ -46,6 +46,14 @@ patternProperties:
         description: see tdm-slot.txt.
         $ref: /schemas/types.yaml#/definitions/uint32

+      playback-only:
+        description: link is used only for playback
+        $ref: /schemas/types.yaml#/definitions/flag
+
+      capture-only:
+        description: link is used only for capture
+        $ref: /schemas/types.yaml#/definitions/flag
+
why not ref to audio-graph-port.yaml?
audio-graph-port are based on 'port'. which is not used
in imx-card.  imx-card can't directly refer to audio-graph-port.yaml.

Best regards
Shengjiu Wang
Frank
quoted
       cpu:
         description: Holds subnode which indicates cpu dai.
         type: object
--
2.34.1
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help