]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 30 Oct 2018 05:45:54 +0000 (22:45 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 9 Nov 2018 23:17:53 +0000 (17:17 -0600)
GPIOs 0 through 3 and 81 through 84 are configured to not be accessible
from the application CPUs. Mark them as reserved to allow the MSM8998
MTP to boot after the introduction of 3edfb7bd76bd ("gpiolib: Show
correct direction from the beginning").

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi

index b4276da1fb0d98d7441bb4ac7161d90fb914e8a9..11fd1fe8bdb5209793c09afccff1e7893d2e4e00 100644 (file)
@@ -241,3 +241,7 @@ vreg_bob: bob {
                };
        };
 };
+
+&tlmm {
+       gpio-reserved-ranges = <0 4>, <81 4>;
+};