From: Bjorn Andersson Date: Tue, 30 Oct 2018 05:45:54 +0000 (-0700) Subject: arm64: dts: qcom: msm8998: Reserve gpio ranges on MTP X-Git-Tag: v4.20-rc5~1^2~9^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=9134586715e389fe90d9d28cb37a668f374d686a;p=linux.git 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 Reviewed-by: Jeffrey Hugo Signed-off-by: Andy Gross --- 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 @@ vreg_bob: bob { }; }; }; + +&tlmm { + gpio-reserved-ranges = <0 4>, <81 4>; +};