linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alexey Klimov" <alexey.klimov@linaro.org>
To: "Prasad Kumpatla" <quic_pkumpatl@quicinc.com>,
	"Mohammad Rafi Shaik" <quic_mohs@quicinc.com>
Cc: "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>,
	<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>
Subject: Re: [PATCH v4 7/8] arm64: dts: qcom: qcm6490-idp: Add WSA8830 speakers and WCD9370 headset codec
Date: Wed, 28 May 2025 13:20:16 +0100	[thread overview]
Message-ID: <DA7SEY5S1F1Z.1LZE7191BKBFM@linaro.org> (raw)
In-Reply-To: <20250527111227.2318021-8-quic_pkumpatl@quicinc.com>

On Tue May 27, 2025 at 12:12 PM BST, Prasad Kumpatla wrote:
> From: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
>
> Add nodes for WSA8830 speakers and WCD9370 headset codec
> on qcm6490-idp board.
>
> Enable lpass macros along with audio support pin controls.
>
> 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>
> ---
>  arch/arm64/boot/dts/qcom/qcm6490-idp.dts      | 96 +++++++++++++++++++
>  .../boot/dts/qcom/qcs6490-audioreach.dtsi     | 24 +++++
>  2 files changed, 120 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> index 7a155ef6492e..884abbda74fd 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> @@ -18,6 +18,7 @@
>  #include "pm7325.dtsi"

[..]

> +&swr0 {
> +	status = "okay";
> +
> +	wcd937x_rx: codec@0,4 {
> +		compatible = "sdw20217010a00";
> +		reg = <0 4>;
> +		qcom,rx-port-mapping = <1 2 3 4 5>;
> +		qcom,rx-channel-mapping = /bits/ 8 <1 2 1 1 2 1 1 2>;
> +	};
> +};
> +
> +&swr1 {
> +	status = "okay";
> +
> +	wcd937x_tx: codec@0,3 {
> +		compatible = "sdw20217010a00";
> +		reg = <0 3>;
> +		qcom,tx-port-mapping = <1 1 2 3>;
> +		qcom,tx-channel-mapping = /bits/ 8 <1 2 1 1 2 3 3 4 1 2 3 4>;

It will be tremendously useful to add comments that elaborate the {rx,tx}-channel-mapping
(and port mapping for what it's worth) here like it is done in other dt files.
For example in the same way as it is done in sm8650-qrd.dts
or like here:
https://lore.kernel.org/linux-arm-msm/20250526-sm8750-audio-part-2-v3-3-74429c686bb1@linaro.org/

Best regards,
Alexey

  reply	other threads:[~2025-05-28 12:20 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
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 [this message]
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=DA7SEY5S1F1Z.1LZE7191BKBFM@linaro.org \
    --to=alexey.klimov@linaro.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).