]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8550-hdk: add port mapping to speakers
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 27 Jun 2024 12:20:13 +0000 (14:20 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 2 Jul 2024 03:30:11 +0000 (22:30 -0500)
Add appropriate mappings of Soundwire ports of WSA8845 speaker.  This
solves second (south) speaker sound distortions when playing audio.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240627122015.30945-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8550-hdk.dts

index e0dc03a977714baa268f1cc02ed6d7a8f28bdc0c..2e12219006c92243d40217d822ad7eda98fba6c9 100644 (file)
 
                #sound-dai-cells = <0>;
                sound-name-prefix = "SpkrLeft";
+               qcom,port-mapping = <1 2 3 7 10 13>;
        };
 
        /* WSA8845, Speaker South */
 
                #sound-dai-cells = <0>;
                sound-name-prefix = "SpkrRight";
+               qcom,port-mapping = <4 5 6 7 11 13>;
        };
 };