From: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
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>
Cc: <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 2/8] arm64: dts: qcom: sc7280: Add WSA SoundWire and LPASS support
Date: Tue, 22 Apr 2025 21:52:59 +0530 [thread overview]
Message-ID: <5be729d9-aef0-4c35-a09e-06bb24ad5427@quicinc.com> (raw)
In-Reply-To: <9fd63681-28c3-4797-9ed0-f4b05e77e330@linaro.org>
On 3/27/2025 4:32 AM, Bryan O'Donoghue wrote:
> On 17/03/2025 05:41, Prasad Kumpatla wrote:
>> From: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
>>
>> Add WSA macroLPASS Codecs along with SoundWire controller.
>>
>> 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/sc7280.dtsi | 68 ++++++++++++++++++++++++++++
>> 1 file changed, 68 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi
>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi
>> index 39fbd3c40e47..90b2f6e2b7c0 100644
>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
>> @@ -2602,6 +2602,64 @@ swr1: soundwire@3230000 {
>> status = "disabled";
>> };
>>
>> + lpass_wsa_macro: codec@3240000 {
>> + compatible = "qcom,sc7280-lpass-wsa-macro";
>> + reg = <0x0 0x03240000 0x0 0x1000>;
>> +
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&lpass_wsa_swr_clk>, <&lpass_wsa_swr_data>;
>> +
>> + clocks = <&lpass_aon LPASS_AON_CC_TX_MCLK_CLK>,
>> + <&lpass_aon LPASS_AON_CC_TX_MCLK_2X_CLK>,
>> + <&lpass_va_macro>;
>> + clock-names = "mclk", "npl", "fsgen";
>
> clocks* go before pinctrl*
ACK,
>
>> +
>> + power-domains = <&lpass_hm
>> LPASS_CORE_CC_LPASS_CORE_HM_GDSC>,
>> + <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
>> + power-domain-names = "macro", "dcodec";
>> +
>> + #clock-cells = <0>;
>> + clock-output-names = "mclk";
>> + #sound-dai-cells = <1>;
>> +
>> + status = "disabled";
>> + };
>> +
>> + swr2: soundwire@3250000 {
>> + compatible = "qcom,soundwire-v1.6.0";
>> + reg = <0x0 0x03250000 0x0 0x2000>;
>> +
>> + interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&lpass_wsa_macro>;
>> + clock-names = "iface";
>> +
>> + qcom,din-ports = <2>;
>> + qcom,dout-ports = <6>;
>> +
>> + resets = <&lpass_audiocc LPASS_AUDIO_SWR_WSA_CGCR>;
>> + reset-names = "swr_audio_cgcr";
>
> vendor prefixes should come after standard names
>
> Documentation/devicetree/bindings/dts-coding-style.rst
> "Order of Properties in Device Node"
ACK, will check and update in next patch version.
Thanks,
Prasad
>
>> +
>> + qcom,ports-sinterval-low = /bits/ 8 <0x07 0x1f 0x3f 0x07
>> + 0x1f 0x3f 0x0f 0x0f>;
>> + qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0c 0x06 0x12
>> 0x0d 0x07 0x0a>;
>> + qcom,ports-offset2 = /bits/ 8 <0xff 0x00 0x1f 0xff 0x00
>> 0x1f 0x00 0x00>;
>> + qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff
>> 0xff 0xff 0xff>;
>> + qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff
>> 0xff 0xff 0xff>;
>> + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff
>> 0xff 0xff 0xff 0xff>;
>> + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01
>> 0xff 0xff 0x01
>> + 0xff 0xff>;
>> + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff
>> 0xff 0xff 0xff
>> + 0xff 0xff>;
>> + qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff
>> 0xff 0xff
>> + 0xff 0xff>;
>> +
>> + #address-cells = <2>;
>> + #size-cells = <0>;
>> + #sound-dai-cells = <1>;
>> +
>> + status = "disabled";
>> + };
>> +
>> lpass_audiocc: clock-controller@3300000 {
>> compatible = "qcom,sc7280-lpassaudiocc";
>> reg = <0 0x03300000 0 0x30000>,
>> @@ -2808,6 +2866,16 @@ lpass_tx_swr_data: tx-swr-data-state {
>> pins = "gpio1", "gpio2", "gpio14";
>> function = "swr_tx_data";
>> };
>> +
>> + lpass_wsa_swr_clk: wsa-swr-clk-state {
>> + pins = "gpio10";
>> + function = "wsa_swr_clk";
>> + };
>> +
>> + lpass_wsa_swr_data: wsa-swr-data-state {
>> + pins = "gpio11";
>> + function = "wsa_swr_data";
>> + };
>> };
>>
>> gpu: gpu@3d00000 {
>> --
>> 2.34.1
>>
>>
>
next prev parent reply other threads:[~2025-04-22 16:23 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 [this message]
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
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=5be729d9-aef0-4c35-a09e-06bb24ad5427@quicinc.com \
--to=quic_pkumpatl@quicinc.com \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.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=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
all inboxes | Powered by JetHome®