[PATCH] ARM: dts: imx6q-bx50v3/imx6q-b450v3/imx6q-b650v3: change pca953x GPIO default settings

Subsystems: the rest

STALE3440d

2 messages, 2 authors, 2017-03-07 · open the first message on its own page

[PATCH] ARM: dts: imx6q-bx50v3/imx6q-b450v3/imx6q-b650v3: change pca953x GPIO default settings

From: Ken Lin <hidden>
Date: 2017-02-03 01:21:23

Leave pca953x P06,P07 pins on b850v3 platform and P06 pin on b450v3/b650v3 unconfigured
in the kernel space since they could be configured as DP1_RST and DP2_RST by the applications
for the DP FW update support

Signed-off-by: Ken Lin <ken.lin-ELdSlb/RfAS1Z/+hSey0Gg@public.gmane.org>
---
 arch/arm/boot/dts/imx6q-b450v3.dts  |  7 +++++++
 arch/arm/boot/dts/imx6q-b650v3.dts  |  7 +++++++
 arch/arm/boot/dts/imx6q-bx50v3.dtsi | 14 --------------
 3 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts b/arch/arm/boot/dts/imx6q-b450v3.dts
index 78bfc1a307d6..04779816d3d1 100644
--- a/arch/arm/boot/dts/imx6q-b450v3.dts
+++ b/arch/arm/boot/dts/imx6q-b450v3.dts
@@ -104,4 +104,11 @@
 		output-low;
 		line-name = "PCA9539-P05";
 	};
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
diff --git a/arch/arm/boot/dts/imx6q-b650v3.dts b/arch/arm/boot/dts/imx6q-b650v3.dts
index 1dcaee23ed9c..9ee8c81c2b80 100644
--- a/arch/arm/boot/dts/imx6q-b650v3.dts
+++ b/arch/arm/boot/dts/imx6q-b650v3.dts
@@ -97,6 +97,13 @@
 		output-low;
 		line-name = "PCA9539-P05";
 	};
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
 
 &usbphy1 {
diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
index e4a415fd899b..f99e6efda3e2 100644
--- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi
+++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi
@@ -184,20 +184,6 @@
 				interrupt-parent = <&gpio2>;
 				interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-				P06 {
-					gpio-hog;
-					gpios = <6 0>;
-					output-low;
-					line-name = "PCA9539-P06";
-				};
-
-				P07 {
-					gpio-hog;
-					gpios = <7 0>;
-					output-low;
-					line-name = "PCA9539-P07";
-				};
-
 				P10 {
 					gpio-hog;
 					gpios = <8 0>;
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ARM: dts: imx6q-bx50v3/imx6q-b450v3/imx6q-b650v3: change pca953x GPIO default settings

From: Shawn Guo <shawnguo@kernel.org>
Date: 2017-03-07 11:46:54

On Fri, Feb 03, 2017 at 09:21:14AM +0800, Ken Lin wrote:
Leave pca953x P06,P07 pins on b850v3 platform and P06 pin on b450v3/b650v3 unconfigured
in the kernel space since they could be configured as DP1_RST and DP2_RST by the applications
for the DP FW update support

Signed-off-by: Ken Lin <redacted>
I wrapped commit log and shorten the subject prefix a bit, and then
applied the patch.

Shawn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help