summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2018-10-29 22:45:54 -0700
committerAndy Gross <andy.gross@linaro.org>2018-11-09 17:17:53 -0600
commit9134586715e389fe90d9d28cb37a668f374d686a (patch)
treec6d02f08deb31209dc0ea4945ee3d0b65db620eb
parent5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 (diff)
downloadlinux-stable-9134586715e389fe90d9d28cb37a668f374d686a.tar.gz
linux-stable-9134586715e389fe90d9d28cb37a668f374d686a.tar.bz2
linux-stable-9134586715e389fe90d9d28cb37a668f374d686a.zip
arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP
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>
-rw-r--r--arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi
index b4276da1fb0d..11fd1fe8bdb5 100644
--- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi
@@ -241,3 +241,7 @@
};
};
};
+
+&tlmm {
+ gpio-reserved-ranges = <0 4>, <81 4>;
+};