arm64: dts: qcom: msm8998-oneplus-cheeseburger: fix backlight pin function
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 13 Oct 2022 21:06:10 +0000 (17:06 -0400)
committerBjorn Andersson <andersson@kernel.org>
Tue, 18 Oct 2022 03:01:46 +0000 (22:01 -0500)
There is no "normal" function, so use "gpio" for backlight button pin
configuration.

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

index ef2a88a..122f6c2 100644 (file)
@@ -35,7 +35,7 @@
        button_backlight_default: button-backlight-state {
                pinconf {
                        pins = "gpio5";
-                       function = "normal";
+                       function = "gpio";
                        bias-pull-down;
                        qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
                };