Skip to contentSkip to conversation

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

PATCH In review Ken Lin 2 participants 2 messages Feb 3, 2017 – Mar 7, 2017

Subsystems (2)
lore
Share & tools
lore

Ken Lin

author
#0 lore raw

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

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

---
 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(-)
arch/arm/boot/dts/imx6q-b450v3.dts +7 -0
index 78bfc1a307d6..04779816d3d1 100644
@@ -104,4 +104,11 @@
 		output-low;
 		line-name = "PCA9539-P05";
 	};
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
arch/arm/boot/dts/imx6q-b650v3.dts +7 -0
index 1dcaee23ed9c..9ee8c81c2b80 100644
@@ -97,6 +97,13 @@
 		output-low;
 		line-name = "PCA9539-P05";
 	};
+
+        P07 {
+                gpio-hog;
+                gpios = <7 0>;
+                output-low;
+                line-name = "PCA9539-P07";
+        };
 };
 
 &usbphy1 {
arch/arm/boot/dts/imx6q-bx50v3.dtsi +0 -14
index e4a415fd899b..f99e6efda3e2 100644
@@ -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>;
Signature · 1 line
2.11.0
#1 lore raw
Quoted 5 lines · Ken Lin

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

I wrapped commit log and shorten the subject prefix a bit, and then applied the patch.

Shawn