]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: qcm6490-idp: Fix WCD9370 reset GPIO polarity
authorRavi Hothi <ravi.hothi@oss.qualcomm.com>
Fri, 20 Feb 2026 09:02:20 +0000 (14:32 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 23 Feb 2026 16:12:08 +0000 (10:12 -0600)
The WCD9370 audio codec reset line on QCM6490 IDP should be active-low, but
the device tree described it as active-high. As a result, the codec is
kept in reset and fails to reset the SoundWire, leading to timeouts
and ASoC card probe failure (-ETIMEDOUT).

Fix the reset GPIO polarity to GPIO_ACTIVE_LOW so the codec can properly
initialize.

Fixes: aa04c298619f ("arm64: dts: qcom: qcm6490-idp: Add WSA8830 speakers and WCD9370 headset codec")
Signed-off-by: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260220090220.2992193-1-ravi.hothi@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-idp.dts

index 089a027c57d5caed103f41f20c01fe1294b4c950..b2f00e107643dcc79da89e40206f86a834da9e33 100644 (file)
                pinctrl-0 = <&wcd_default>;
                pinctrl-names = "default";
 
-               reset-gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW>;
 
                vdd-buck-supply = <&vreg_l17b_1p7>;
                vdd-rxtx-supply = <&vreg_l18b_1p8>;