aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch
diff options
context:
space:
mode:
authorSven Eckelmann <sven.eckelmann@openmesh.com>2018-04-16 13:51:15 +0200
committerMathias Kresin <dev@kresin.me>2018-04-23 22:07:22 +0200
commitc6aac196b80039ae1716b9af635c06992e62171f (patch)
tree95cde348a802030474f4f67eef32e09a207a2d57 /target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch
parente6bd568051c7ca77a59783fe50203f6e2a427f19 (diff)
downloadupstream-c6aac196b80039ae1716b9af635c06992e62171f.tar.gz
upstream-c6aac196b80039ae1716b9af635c06992e62171f.tar.bz2
upstream-c6aac196b80039ae1716b9af635c06992e62171f.zip
ipq40xx: fix gpio-hog related boot issues
The pinctrl initialization fails with the MSM pinctrl code and gpio-hogs because either the gpio ranges are not yet initialized (missing gpio-range in DT) or that the msm driver unconditionally tries to re-initializes the ranges (gpio-range in DT). To allow gpio-hogs and similar early-boot gpio code, the gpio-ranges must be in the device tree and the pinctrl-msm code must check whether the range was already initialized by the DT. Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com> [drop changes to unrelated dtsi files, refresh patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch')
-rw-r--r--target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch b/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch
index 112c921dbd..25f596eaff 100644
--- a/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch
+++ b/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch
@@ -15,7 +15,7 @@ so the info might change.
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
-@@ -539,6 +539,34 @@
+@@ -540,6 +540,34 @@
status = "disabled";
};