From: Jorge Ramirez <jorge.ramirez@oss.qualcomm.com>
To: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
cros-qcom-dts-watchers@chromium.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com,
Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Subject: Re: [PATCH v1 4/8] arm64: dts: qcom: qcs6490-rb3gen2: add WSA8830 speakers amplifier
Date: Wed, 26 Mar 2025 18:28:00 +0100 [thread overview]
Message-ID: <Z+Q5IM0Qj8J5xZUm@trex> (raw)
In-Reply-To: <20250317054151.6095-5-quic_pkumpatl@quicinc.com>
On 17/03/25 11:11:47, Prasad Kumpatla wrote:
> From: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
>
> Add nodes for WSA8830 speakers amplifier on qcs6490-rb3gen2 board.
>
> 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/qcs6490-rb3gen2.dts | 27 ++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> index 23dea375c213..a1a3df77ad57 100644
> --- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> +++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
> @@ -870,6 +870,33 @@ &sdhc_2 {
> status = "okay";
> };
>
> +&swr2 {
> + qcom,din-ports = <0>;
> + qcom,dout-ports = <8>;
are these number of ports correct? from my unit tests, 8 seems to be out
of bounds (soundwire probe error)
> +
> + left_spkr: speaker@0,1 {
> + compatible = "sdw10217020200";
> + reg = <0 1>;
> + powerdown-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>;
> + #sound-dai-cells = <0>;
> + sound-name-prefix = "SpkrLeft";
> + #thermal-sensor-cells = <0>;
> + vdd-supply = <&vreg_l18b_1p8>;
> + qcom,port-mapping = <1 2 3 7>;
> + };
> +
> + right_spkr: speaker@0,2 {
> + compatible = "sdw10217020200";
> + reg = <0 2>;
> + powerdown-gpios = <&tlmm 158 GPIO_ACTIVE_LOW>;
> + #sound-dai-cells = <0>;
> + sound-name-prefix = "SpkrRight";
> + #thermal-sensor-cells = <0>;
> + vdd-supply = <&vreg_l18b_1p8>;
> + qcom,port-mapping = <4 5 6 8>;
> + };
> +};
> +
also, should we enable the soundwire controller?
> &tlmm {
> gpio-reserved-ranges = <32 2>, /* ADSP */
> <48 4>; /* NFC */
> --
> 2.34.1
>
next prev parent reply other threads:[~2025-03-26 17:28 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 5:41 [PATCH v1 0/8] Enable audio on qcs6490-RB3Gen2 and qcm6490-idp boards Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 1/8] arm64: dts: qcom: sc7280: Add gpr node Prasad Kumpatla
2025-03-26 22:51 ` Bryan O'Donoghue
2025-04-22 16:19 ` Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 2/8] arm64: dts: qcom: sc7280: Add WSA SoundWire and LPASS support Prasad Kumpatla
2025-03-26 23:02 ` Bryan O'Donoghue
2025-04-22 16:22 ` Prasad Kumpatla
2025-03-27 14:12 ` Dmitry Baryshkov
2025-04-22 16:24 ` Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 3/8] arm64: dts: qcom: qcs6490-rb3gen2: Modify WSA and VA macro clock nodes for audioreach solution Prasad Kumpatla
2025-04-01 16:05 ` Konrad Dybcio
2025-04-04 7:12 ` Luca Weiss
2025-04-22 16:59 ` Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 4/8] arm64: dts: qcom: qcs6490-rb3gen2: add WSA8830 speakers amplifier Prasad Kumpatla
2025-03-26 17:28 ` Jorge Ramirez [this message]
2025-04-22 17:08 ` Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 5/8] arm64: dts: qcom: qcs6490-rb3gen2: Add sound card Prasad Kumpatla
2025-04-01 21:32 ` Konrad Dybcio
2025-04-22 17:19 ` Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 6/8] arm64: dts: qcom: qcm6490-idp: Modify WSA/VA/RX/TX macro clock nodes for audioreach solution Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 7/8] arm64: dts: qcom: qcm6490-idp: Add WSA8830 speakers amplifier and WCD9370 headset codec Prasad Kumpatla
2025-03-17 5:41 ` [PATCH v1 8/8] arm64: dts: qcom: qcm6490-idp: Add sound card Prasad Kumpatla
2025-03-26 23:12 ` Bryan O'Donoghue
2025-04-22 17:21 ` Prasad Kumpatla
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=Z+Q5IM0Qj8J5xZUm@trex \
--to=jorge.ramirez@oss.qualcomm.com \
--cc=andersson@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=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_mohs@quicinc.com \
--cc=quic_pkumpatl@quicinc.com \
--cc=robh@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