arm64: dts: qcom: sm8450-hdk: align WCD9385 reset pin with downstream config
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 8 Mar 2023 18:33:17 +0000 (19:33 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 22 Mar 2023 03:40:03 +0000 (20:40 -0700)
Downstream DTS uses 16 mA drive strength for the WCD9385 audio codec
RESET_N reset pin.  It also pulls the pin down in shutdown mode, thus it
is more like a shutdown pin, not a reset.  Use the same settings here
for HDK8450 and keep the WCD9385 by default in powered off (so pin as
low).  Align the name of pin configuration node with other pins in the
DTS.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230308183317.559253-2-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sm8450-hdk.dts

index c97e775..e931545 100644 (file)
                output-low;
        };
 
-       wcd_default: wcd-default-state {
+       wcd_default: wcd-reset-n-active-state {
                pins = "gpio43";
                function = "gpio";
+               drive-strength = <16>;
                bias-disable;
+               output-low;
        };
 };