[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ac2188dc-d524-41ae-b9d2-f0f5ff9861f0@linaro.org>
Date: Wed, 8 Oct 2025 19:53:16 +0200
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
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/7/25 12:21, Konrad Dybcio wrote:
> 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
Will add
Neil
>
>> .../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