From: Krzysztof Kozlowski <krzk@kernel.org>
To: Prasad Kumpatla <quic_pkumpatl@quicinc.com>,
Bjorn Andersson <andersson@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: cros-qcom-dts-watchers@chromium.org,
linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, kernel@oss.qualcomm.com,
Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Subject: Re: [PATCH v4 2/8] ASoC: dt-bindings: qcom: Manage clock settings for ADSP solution
Date: Tue, 27 May 2025 13:58:44 +0200 [thread overview]
Message-ID: <171b980d-9c50-4891-86dc-e30d712f5384@kernel.org> (raw)
In-Reply-To: <20250527111227.2318021-3-quic_pkumpatl@quicinc.com>
On 27/05/2025 13:12, Prasad Kumpatla wrote:
> From: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
>
> Manage clock settings for ADSP solution and document the clock properties
> on sc7280 lpass pincontrol node which is required for ADSP based
> solution.
>
> Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
> Co-developed-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
> Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
> ---
Nothing in cover letter explained what was happening with this patch.
Provide changelog under --- in such case.
> .../qcom,sc7280-lpass-lpi-pinctrl.yaml | 10 ++++++++
> .../bindings/sound/qcom,lpass-va-macro.yaml | 12 +++++++---
> .../bindings/sound/qcom,lpass-wsa-macro.yaml | 24 ++++++++++++++++---
Split patches per subsystem. Pinctrl is not ASoC.
> 3 files changed, 40 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> index 08801cc4e476..b1270124bfe3 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> @@ -20,6 +20,16 @@ properties:
> reg:
> maxItems: 2
>
> + clocks:
> + items:
> + - description: LPASS Core voting clock
> + - description: LPASS Audio voting clock
> +
> + clock-names:
> + items:
> + - const: core
> + - const: audio
> +
> patternProperties:
> "-state$":
> oneOf:
> diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
> index f41deaa6f4df..92b97c214060 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
> @@ -78,10 +78,16 @@ allOf:
> then:
> properties:
> clocks:
> - maxItems: 1
> + minItems: 1
> + maxItems: 3
> clock-names:
> - items:
> - - const: mclk
> + oneOf:
> + - items: # for ADSP based platforms
> + - const: mclk
> + - const: macro
> + - const: dcodec
> + - items: # for ADSP bypass based platforms
> + - const: mclk
This device always receives same amount of clocks. Hardware is not
different if you decide to not use ADSP.
>
> - if:
> properties:
> diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
> index 9082e363c709..6a999ed484e7 100644
> --- a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
> +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
> @@ -35,11 +35,11 @@ properties:
> const: 0
>
> clocks:
> - minItems: 4
> + minItems: 3
> maxItems: 6
>
> clock-names:
> - minItems: 4
> + minItems: 3
> maxItems: 6
>
> clock-output-names:
> @@ -59,12 +59,30 @@ required:
>
> allOf:
> - $ref: dai-common.yaml#
> -
> - if:
> properties:
> compatible:
> enum:
> - qcom,sc7280-lpass-wsa-macro
> + then:
> + properties:
> + clock-names:
> + oneOf:
> + - items: # for ADSP based platforms
> + - const: mclk
> + - const: npl
> + - const: macro
> + - const: dcodec
> + - const: fsgen
> + - items: # for ADSP bypass based platforms
> + - const: mclk
> + - const: npl
> + - const: fsgen
This silently breaks ABI. Third clock is macro.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-05-27 11:58 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 11:12 [PATCH v4 0/8] Enable audio on qcs6490-RB3Gen2 and qcm6490-idp boards Prasad Kumpatla
2025-05-27 11:12 ` [PATCH v4 1/8] arm64: dts: qcom: qcs6490-audioreach: Add gpr node Prasad Kumpatla
2025-06-17 20:45 ` Bjorn Andersson
2025-06-25 6:50 ` Prasad Kumpatla
2025-07-05 12:16 ` Dmitry Baryshkov
2025-05-27 11:12 ` [PATCH v4 2/8] ASoC: dt-bindings: qcom: Manage clock settings for ADSP solution Prasad Kumpatla
2025-05-27 11:58 ` Krzysztof Kozlowski [this message]
2025-06-01 12:45 ` Prasad Kumpatla
2025-06-01 14:50 ` Krzysztof Kozlowski
2025-06-10 13:10 ` Konrad Dybcio
2025-05-27 11:12 ` [PATCH v4 3/8] arm64: dts: qcom: sc7280: Add WSA SoundWire and LPASS support Prasad Kumpatla
2025-05-31 18:32 ` Konrad Dybcio
2025-05-27 11:12 ` [PATCH v4 4/8] arm64: dts: qcom: qcs6490-audioreach: Modify LPASS macros clock settings for audioreach Prasad Kumpatla
2025-05-31 18:27 ` Konrad Dybcio
2025-05-27 11:12 ` [PATCH v4 5/8] arm64: dts: qcom: qcs6490-rb3gen2: Add WSA8830 speakers amplifier Prasad Kumpatla
2025-05-27 11:59 ` Krzysztof Kozlowski
2025-06-01 12:52 ` Prasad Kumpatla
2025-06-01 14:54 ` Krzysztof Kozlowski
2025-06-04 8:20 ` Dmitry Baryshkov
2025-05-27 11:12 ` [PATCH v4 6/8] arm64: dts: qcom: qcs6490-rb3gen2: Add sound card Prasad Kumpatla
2025-05-27 12:00 ` Krzysztof Kozlowski
2025-06-01 12:56 ` Prasad Kumpatla
2025-05-27 11:12 ` [PATCH v4 7/8] arm64: dts: qcom: qcm6490-idp: Add WSA8830 speakers and WCD9370 headset codec Prasad Kumpatla
2025-05-28 12:20 ` Alexey Klimov
2025-06-01 12:58 ` Prasad Kumpatla
2025-05-31 12:35 ` Konrad Dybcio
2025-06-01 12:58 ` Prasad Kumpatla
2025-05-27 11:12 ` [PATCH v4 8/8] arm64: dts: qcom: qcm6490-idp: Add sound card Prasad Kumpatla
2025-05-27 14:17 ` [PATCH v4 0/8] Enable audio on qcs6490-RB3Gen2 and qcm6490-idp boards Alexey Klimov
2025-06-01 13:01 ` Prasad Kumpatla
2025-06-02 5:16 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=171b980d-9c50-4891-86dc-e30d712f5384@kernel.org \
--to=krzk@kernel.org \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=quic_mohs@quicinc.com \
--cc=quic_pkumpatl@quicinc.com \
--cc=robh@kernel.org \
--cc=srini@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).