From c6aac196b80039ae1716b9af635c06992e62171f Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Mon, 16 Apr 2018 13:51:15 +0200 Subject: 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 [drop changes to unrelated dtsi files, refresh patches] Signed-off-by: Mathias Kresin --- target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch') 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"; }; -- cgit v1.2.3