[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DA7SEY5S1F1Z.1LZE7191BKBFM@linaro.org>
Date: Wed, 28 May 2025 13:20:16 +0100
From: "Alexey Klimov" <alexey.klimov@...aro.org>
To: "Prasad Kumpatla" <quic_pkumpatl@...cinc.com>, "Mohammad Rafi Shaik"
<quic_mohs@...cinc.com>
Cc: "Bjorn Andersson" <andersson@...nel.org>, "Linus Walleij"
<linus.walleij@...aro.org>, "Rob Herring" <robh@...nel.org>, "Krzysztof
Kozlowski" <krzk+dt@...nel.org>, "Conor Dooley" <conor+dt@...nel.org>,
"Srinivas Kandagatla" <srini@...nel.org>, "Liam Girdwood"
<lgirdwood@...il.com>, "Mark Brown" <broonie@...nel.org>, "Konrad Dybcio"
<konradybcio@...nel.org>, <cros-qcom-dts-watchers@...omium.org>,
<linux-arm-msm@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-sound@...r.kernel.org>, <kernel@....qualcomm.com>
Subject: Re: [PATCH v4 7/8] arm64: dts: qcom: qcm6490-idp: Add WSA8830
speakers and WCD9370 headset codec
On Tue May 27, 2025 at 12:12 PM BST, Prasad Kumpatla wrote:
> From: Mohammad Rafi Shaik <quic_mohs@...cinc.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@...cinc.com>
> Co-developed-by: Prasad Kumpatla <quic_pkumpatl@...cinc.com>
> Signed-off-by: Prasad Kumpatla <quic_pkumpatl@...cinc.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
Powered by blists - more mailing lists