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/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.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/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch')
-rw-r--r-- | target/linux/ipq40xx/patches-4.14/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ipq40xx/patches-4.14/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch b/target/linux/ipq40xx/patches-4.14/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch index 1d08b9de74..ed44359e5f 100644 --- a/target/linux/ipq40xx/patches-4.14/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch +++ b/target/linux/ipq40xx/patches-4.14/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch @@ -67,7 +67,7 @@ Changes: qcom,acc = <&acc3>; qcom,saw = <&saw3>; reg = <0x3>; -@@ -264,22 +274,22 @@ +@@ -265,22 +275,22 @@ }; acc0: clock-controller@b088000 { @@ -94,7 +94,7 @@ Changes: reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>; }; -@@ -307,6 +317,12 @@ +@@ -308,6 +318,12 @@ regulator; }; |