Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: dt-bindings: imx-card: Add playback-only and capture-only property

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 <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250217021715.284951-2-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shengjiu Wang and committed by
Mark Brown
8c6ede5c b47834ee

+14
+14
Documentation/devicetree/bindings/sound/imx-audio-card.yaml
··· 46 46 description: see tdm-slot.txt. 47 47 $ref: /schemas/types.yaml#/definitions/uint32 48 48 49 + playback-only: 50 + description: link is used only for playback 51 + $ref: /schemas/types.yaml#/definitions/flag 52 + 53 + capture-only: 54 + description: link is used only for capture 55 + $ref: /schemas/types.yaml#/definitions/flag 56 + 49 57 cpu: 50 58 description: Holds subnode which indicates cpu dai. 51 59 type: object ··· 78 70 required: 79 71 - link-name 80 72 - cpu 73 + 74 + allOf: 75 + - not: 76 + required: 77 + - playback-only 78 + - capture-only 81 79 82 80 additionalProperties: false 83 81