From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
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: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] arm64: dts: qcom: sm8750: Add Soundwire nodes
Date: Mon, 12 May 2025 21:38:01 +0200 [thread overview]
Message-ID: <1a0be977-39b8-4089-a37e-dd378c03e476@oss.qualcomm.com> (raw)
In-Reply-To: <afda790f-0b5e-4569-a92b-904df936df85@linaro.org>
On 5/8/25 12:37 PM, Krzysztof Kozlowski wrote:
> On 25/04/2025 11:24, Konrad Dybcio wrote:
>> On 4/24/25 11:40 AM, Krzysztof Kozlowski wrote:
>>> Add Soundwire controllers on SM8750, fully compatible with earlier
>>> SM8650 generation.
>>>
>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>> ---
>>> arch/arm64/boot/dts/qcom/sm8750.dtsi | 122 +++++++++++++++++++++++++++++++++++
>>> 1 file changed, 122 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> index 149d2ed17641a085d510f3a8eab5a96304787f0c..1e7aa25c675e76ce6aa571e04d7117b8c2ab25f8 100644
>>> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi
>>> @@ -2257,6 +2257,36 @@ lpass_wsa2macro: codec@6aa0000 {
>>> #sound-dai-cells = <1>;
>>> };
>>>
>>> + swr3: soundwire@6ab0000 {
>>> + compatible = "qcom,soundwire-v2.0.0";
>>
>> They're v2.1.0, same on 8650, there's a number of new registers
>
> Sorry, but no. This the "generic" compatible and it is correct. Devices
> expose versions, which is perfectly usable, thus changing compatible to
> different one is not useful. We could go with soc specific compatibles
> and new generic one, but what would that solve? This one is generic
> enough - the device is compatible with v2.0.
Well, I'd expect a "2.1.0", "2.0.0" fallback there..
[...]
>>> + swr2: soundwire@7630000 {
>>> + compatible = "qcom,soundwire-v2.0.0";
>>> + reg = <0 0x07630000 0 0x10000>;
>>> + interrupts = <GIC_SPI 761 IRQ_TYPE_LEVEL_HIGH>,
>>> + <GIC_SPI 785 IRQ_TYPE_LEVEL_HIGH>;
>>> + interrupt-names = "core", "wakeup";
>>> + clocks = <&lpass_txmacro>;
>>> + clock-names = "iface";
>>> + label = "TX";
>>> +
>>> + pinctrl-0 = <&tx_swr_active>;
>>> + pinctrl-names = "default";
>>> +
>>> + qcom,din-ports = <4>;
>>> + qcom,dout-ports = <0>;
>>
>> There's 1 OUT port on this instance
>>
>> otherwise (modulo the settings I don't have a reference for)
>
> Omitted on purpose, no port configuration available.
alright
Konrad
next prev parent reply other threads:[~2025-05-12 19:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-24 9:40 [PATCH 0/2] arm64: dts: qcom: sm8750: Add sound Krzysztof Kozlowski
2025-04-24 9:40 ` [PATCH 1/2] arm64: dts: qcom: sm8750: Add Soundwire nodes Krzysztof Kozlowski
2025-04-25 9:24 ` Konrad Dybcio
2025-05-08 10:37 ` Krzysztof Kozlowski
2025-05-12 19:38 ` Konrad Dybcio [this message]
2025-05-13 8:26 ` Krzysztof Kozlowski
2025-05-16 11:36 ` Konrad Dybcio
2025-05-16 21:46 ` Dmitry Baryshkov
2025-04-24 9:40 ` [PATCH 2/2] arm64: dts: qcom: sm8750-mtp: Add sound (speakers, headset codec, dmics) Krzysztof Kozlowski
2025-04-25 9:30 ` Konrad Dybcio
2025-04-28 14:41 ` Krzysztof Kozlowski
2025-04-29 19:11 ` Konrad Dybcio
2025-04-30 6:19 ` Krzysztof Kozlowski
2025-04-30 10:48 ` Konrad Dybcio
2025-04-30 11:07 ` neil.armstrong
2025-04-30 11:17 ` Konrad Dybcio
2025-04-30 11:18 ` Krzysztof Kozlowski
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=1a0be977-39b8-4089-a37e-dd378c03e476@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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®