diff options
author | Sven Eckelmann <sven.eckelmann@openmesh.com> | 2018-04-16 13:51:15 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-04-23 22:07:22 +0200 |
commit | c6aac196b80039ae1716b9af635c06992e62171f (patch) | |
tree | 95cde348a802030474f4f67eef32e09a207a2d57 /target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch | |
parent | e6bd568051c7ca77a59783fe50203f6e2a427f19 (diff) | |
download | upstream-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/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch')
-rw-r--r-- | target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch b/target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch index cd0f14eafd..33d744251c 100644 --- a/target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch +++ b/target/linux/ipq40xx/patches-4.14/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch @@ -51,7 +51,7 @@ Changes: }; --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi -@@ -538,5 +538,76 @@ +@@ -539,5 +539,76 @@ "legacy"; status = "disabled"; }; |