43 lines
1.6 KiB
Diff
43 lines
1.6 KiB
Diff
From 297177a45b95097ae4f25a6f6d191d592e1bb018 Mon Sep 17 00:00:00 2001
|
|
From: Christian Lamparter <chunkeey@gmail.com>
|
|
Date: Wed, 8 Jan 2020 13:54:57 +0100
|
|
Subject: [PATCH] ARM64: dts: qcom: add gpio-ranges property
|
|
|
|
This patch adds the gpio-ranges property to almost all of
|
|
the Qualcomm ARM platforms that utilize the pinctrl-msm
|
|
framework.
|
|
|
|
The gpio-ranges property is part of the gpiolib subsystem.
|
|
As a result, the binding text is available in section
|
|
"2.1 gpio- and pin-controller interaction" of
|
|
Documentation/devicetree/bindings/gpio/gpio.txt
|
|
|
|
For more information please see the patch titled:
|
|
"pinctrl: msm: fix gpio-hog related boot issues" from
|
|
this series.
|
|
|
|
Reported-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
|
|
Tested-by: Sven Eckelmann <sven.eckelmann@openmesh.com> [ipq4019]
|
|
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
|
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
|
|
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
|
|
Tested-by: Robert Marko <robert.marko@sartura.hr> [ipq4019]
|
|
Cc: Luka Perkov <luka.perkov@sartura.hr>
|
|
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
|
|
Link: https://lore.kernel.org/r/20200108125455.308969-2-robert.marko@sartura.hr
|
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
|
---
|
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 1 +
|
|
1 files changed, 1 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
|
@@ -21,6 +21,7 @@
|
|
reg = <0x1000000 0x300000>;
|
|
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
|
|
gpio-controller;
|
|
+ gpio-ranges = <&tlmm 0 0 70>;
|
|
#gpio-cells = <0x2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <0x2>;
|