Re: [PATCH 1/2] arm64: dts: qcom: sm8750: Add Soundwire nodes

From: Konrad Dybcio
Date: Fri Apr 25 2025 - 05:25:02 EST


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@xxxxxxxxxx>
> ---
> 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

[...]


> + 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)

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad