arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep
authorStephan Gerhold <stephan@gerhold.net>
Fri, 5 Jun 2020 18:59:15 +0000 (20:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Sep 2020 09:21:15 +0000 (11:21 +0200)
[ Upstream commit e2ee9edc282961783d519c760bbaa20fed4dec38 ]

The original qcom kernel changed the PDM GPIOs to be pull-down
during sleep at some point. Reportedly this was done because
there was some "leakage at PDM outputs during sleep":

  https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit/?id=0f87e08c1cd3e6484a6f7fb3e74e37340bdcdee0

I cannot say how effective this is, but everything seems to work
fine with this change so let's apply the same to mainline just
to be sure.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200605185916.318494-3-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/msm8916-pins.dtsi

index fabc0cebe2aa2c82bd5b0dab15a4bf980fd82326..1f9ff2cea2151761d020bfef1195bdee54cc1432 100644 (file)
                                pins = "gpio63", "gpio64", "gpio65", "gpio66",
                                       "gpio67", "gpio68";
                                drive-strength = <2>;
-                               bias-disable;
+                               bias-pull-down;
                        };
                };
        };