[PATCH 1/2] ASoC: dt-bindings: imx-card: Add playback-only and capture-only property
Frank Li
Frank.li at nxp.com
Wed Feb 12 02:32:35 AEDT 2025
On Tue, Feb 11, 2025 at 11:57:36AM +0800, Shengjiu Wang wrote:
> 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 at nxp.com>
> ---
> .../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?
Frank
> cpu:
> description: Holds subnode which indicates cpu dai.
> type: object
> --
> 2.34.1
>
More information about the Linuxppc-dev
mailing list