]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8750-mtp: Add speaker Soundwire port mapping
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 20 Aug 2025 14:12:34 +0000 (16:12 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 24 Aug 2025 02:37:15 +0000 (21:37 -0500)
Add appropriate mappings of Soundwire ports of WSA883x speaker
to correctly map the Speaker ports to the WSA macro ports.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250820141233.216713-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8750-mtp.dts

index 75cfbb510be57a1ab8cb3d870b5c34d3baa53c70..946ba53fe63a3037e642a7b1df36a4cf54eb7738 100644 (file)
                sound-name-prefix = "SpkrLeft";
                #thermal-sensor-cells = <0>;
                vdd-supply = <&vreg_l15b_1p8>;
+               /*
+                * WSA8835 Port 1 (DAC)     <=> SWR0 Port 1 (SPKR_L)
+                * WSA8835 Port 2 (COMP)    <=> SWR0 Port 2 (SPKR_L_COMP)
+                * WSA8835 Port 3 (BOOST)   <=> SWR0 Port 3 (SPKR_L_BOOST)
+                * WSA8835 Port 4 (VISENSE) <=> SWR0 Port 10 (SPKR_L_VI)
+                */
+               qcom,port-mapping = <1 2 3 10>;
        };
 
        /* WSA883x, right/back speaker */
                sound-name-prefix = "SpkrRight";
                #thermal-sensor-cells = <0>;
                vdd-supply = <&vreg_l15b_1p8>;
+               /*
+                * WSA8835 Port 1 (DAC)     <=> SWR0 Port 4 (SPKR_R)
+                * WSA8835 Port 2 (COMP)    <=> SWR0 Port 5 (SPKR_R_COMP)
+                * WSA8835 Port 3 (BOOST)   <=> SWR0 Port 6 (SPKR_R_BOOST)
+                * WSA8835 Port 4 (VISENSE) <=> SWR0 Port 11 (SPKR_R_VI)
+                */
+               qcom,port-mapping = <4 5 6 11>;
        };
 };