[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6d9af57f-9174-405b-9131-145fd6d63a5f@oss.qualcomm.com>
Date: Tue, 7 Oct 2025 12:21:01 +0200
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Neil Armstrong <neil.armstrong@...aro.org>,
Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: linux-sound@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH RFC 2/6] ASoC: dt-bindings: qcom,sm8250: Add clocks
properties for I2S
On 10/6/25 8:37 PM, Neil Armstrong wrote:
> In order to describe the block and master clock of each I2S bus, add
> the first 5 I2S busses clock entries.
>
> The names (primary, secondary, tertiarty, quaternary, quinary) uses
> the LPASS clock naming which were used for a long time on Qualcomm
> LPASS firmware interfaces.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@...aro.org>
> ---
There's also a senary (6th) I2S bus instance, which there is no reason
not to describe
> .../devicetree/bindings/sound/qcom,sm8250.yaml | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> index 8ac91625dce5ccba5c5f31748c36296b12fac1a6..fd0d7a7ddc7b363a66e1e7bd72c7290666efb511 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
> @@ -64,6 +64,24 @@ properties:
> $ref: /schemas/types.yaml#/definitions/string
> description: User visible long sound card name
>
> + clocks:
> + minItems: 2
> + maxItems: 10
> +
> + clock-names:
> + minItems: 2
> + items:
> + - const: primary-mi2s # Primary I2S Bit Clock
> + - const: primary-mclk # Primary I2S Master Clock
> + - const: secondary-mi2s # Secondary I2S Bit Clock
> + - const: secondary-mclk # Secondary I2S Master Clock
> + - const: tertiary-mi2s # Tertiary I2S Bit Clock
> + - const: tertiary-mclk # Tertiary I2S Master Clock
> + - const: quaternary-mi2s # Quaternary I2S Bit Clock
> + - const: quaternary-mclk # Quaternary I2S Master Clock
> + - const: quinary-mi2s # Quinary I2S Bit Clock
> + - const: quinary-mclk # Quinary I2S Master Clock
I think a single top-level comment saying "mclk" is the master
clock and the other one is a bit clock would suffice
Konrad
Powered by blists - more mailing lists