[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260121-careful-beige-iguana-c32bbd@quoll>
Date: Wed, 21 Jan 2026 09:03:56 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Shengjiu Wang <shengjiu.wang@....com>
Cc: shengjiu.wang@...il.com, Xiubo.Lee@...il.com, festevam@...il.com,
nicoleotsuka@...il.com, lgirdwood@...il.com, broonie@...nel.org, perex@...ex.cz,
tiwai@...e.com, linux-sound@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org, robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 2/4] ASoC: dt-bindings: fsl,sai: Add AUDMIX mode
support on i.MX952
On Tue, Jan 20, 2026 at 11:52:08AM +0800, Shengjiu Wang wrote:
> The SAI can connect to AUDMIX, but AUDMIX can be bypassed or not on
> i.MX952, so add 'fsl,sai-amix-mode' property for this feature, with
> this property present, then SAI driver will try to config the setting,
I am still not sure this is hardware static property. You say "can be
bypassed", so I imagine same board could have it bypassed or not,
depending on use case (so mixers).
> fsl,sai-amix-mode = <0> is bypass mode, fsl,sai-amix-mode = <1> is
> the AUDMIX mode.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@....com>
> ---
> .../devicetree/bindings/sound/fsl,sai.yaml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
> index d838ee0b61cb..7808c324eebc 100644
> --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml
> +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml
> @@ -133,6 +133,13 @@ properties:
> - description: dataline mask for 'rx'
> - description: dataline mask for 'tx'
>
> + fsl,sai-amix-mode:
> + $ref: /schemas/types.yaml#/definitions/uint32
Anyway, string is more readable.
> + description:
> + The audmix module is bypassed from hardware or not.
> + Bypass AUDMIX(0), AUDMIX mode(1)
Drop last sentence and use enum [ bypass, mode-1-whatever-this-means ]
> + enum: [0, 1]
What is the default? What is the meaning of lack of this property?
> +
> fsl,sai-mclk-direction-output:
> description: SAI will output the SAI MCLK clock.
> type: boolean
> @@ -180,6 +187,15 @@ allOf:
> properties:
> fsl,sai-synchronous-rx: false
>
> + - if:
> + required:
> + - fsl,sai-amix-mode
> + then:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx952-sai
There is no such compatible.
> +
> required:
> - compatible
> - reg
> --
> 2.34.1
>
Powered by blists - more mailing lists