]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: x1e80100-crd: fix WCD audio codec TX port mapping
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 11 Jun 2024 14:25:54 +0000 (16:25 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 16 Jun 2024 20:28:07 +0000 (15:28 -0500)
Starting with the LPASS v11 (SM8550 also X1E80100), there is an
additional output port on SWR2 Soundwire instance, thus WCD9385 audio
codec TX port mapping should be shifted by one.  This is a necessary fix
for proper audio recording via analogue microphones connected to WCD9385
codec (e.g. headset AMIC2).

Fixes: 229c9ce0fd11 ("arm64: dts: qcom: x1e80100-crd: add WCD9385 Audio Codec")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240611142555.994675-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-crd.dts

index cfcedf1d26a00b88ee132abde2d524f949e085b5..b1832a4080476a4b56fec28e46a7ba4d1686250d 100644 (file)
        wcd_tx: codec@0,3 {
                compatible = "sdw20217010d00";
                reg = <0 3>;
-               qcom,tx-port-mapping = <1 1 2 3>;
+               qcom,tx-port-mapping = <2 2 3 4>;
        };
 };