build/patch/kernel/archive/odroidxu4-5.4/add-gpio-line-names.patch

279 lines
7.0 KiB
Diff

diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
index b82af7c89..f243adf81 100644
--- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
@@ -18,6 +18,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPY7.0", "GPY7.1", "GPY7.2", "GPY7.3", "GPY7.4", "GPY7.5", "GPY7.6", "GPY7.7";
};
gpx0: gpx0 {
@@ -29,6 +30,7 @@
#interrupt-cells = <2>;
interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
<26 0>, <26 1>, <27 0>, <27 1>;
+ gpio-line-names = "GPX0.0", "GPX0.1", "GPX0.2", "GPX0.3", "GPX0.4", "GPX0.5", "GPX0.6", "GPX0.7";
};
gpx1: gpx1 {
@@ -40,6 +42,7 @@
#interrupt-cells = <2>;
interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
<30 0>, <30 1>, <31 0>, <31 1>;
+ gpio-line-names = "GPX1.0", "GPX1.1", "GPX1.2 CONN10 PIN 15", "GPX1.3 CONN10 PIN 18", "GPX1.4", "GPX1.5 CONN10 PIN 13", "GPX1.6 CONN10 PIN 17", "GPX1.7 CONN10 PIN 25";
};
gpx2: gpx2 {
@@ -48,6 +51,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPX2.0 CONN10 PIN 26", "GPX2.1 CONN10 PIN 24", "GPX2.2", "GPX2.3", "GPX2.4 CONN10 PIN 20", "GPX2.5 CONN10 PIN 21", "GPX2.6 CONN10 PIN 19", "GPX2.7 CONN10 PIN 22";
};
gpx3: gpx3 {
@@ -56,6 +60,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPX3.0", "GPX3.1 CONN10 PIN 27", "GPX3.2 CONN11 PIN 5", "GPX3.3", "GPX3.4", "GPX3.5", "GPX3.6", "GPX3.7";
};
dp_hpd: dp_hpd {
@@ -80,6 +85,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPC0.0", "GPC0.1", "GPC0.2", "GPC0.3", "GPC0.4", "GPC0.5", "GPC0.6", "GPC0.7";
};
gpc1: gpc1 {
@@ -88,6 +94,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPC1.0", "GPC1.1", "GPC1.2", "GPC1.3", "GPC1.4", "GPC1.5", "GPC1.6", "GPC1.7";
};
gpc2: gpc2 {
@@ -96,6 +103,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPC2.0", "GPC2.1", "GPC2.2", "GPC2.3", "GPC2.4", "GPC2.5", "GPC2.6";
};
gpc3: gpc3 {
@@ -104,6 +112,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPC3.0", "GPC3.1", "GPC3.2", "GPC3.3";
};
gpc4: gpc4 {
@@ -112,6 +121,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPC4.0", "GPC4.1";
};
gpd1: gpd1 {
@@ -120,41 +130,49 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPD1.0", "GPD1.1", "GPD1.2", "GPD1.3", "GPD1.4", "GPD1.5", "GPD1.6", "GPD1.7";
};
gpy0: gpy0 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY0.0", "GPY0.1", "GPY0.2", "GPY0.3", "GPY0.4", "GPY0.5";
};
gpy1: gpy1 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY1.0", "GPY1.1", "GPY1.2", "GPY1.3";
};
gpy2: gpy2 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY2.0", "GPY2.1", "GPY2.2", "GPY2.3", "GPY2.4", "GPY2.5";
};
gpy3: gpy3 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY3.0", "GPY3.1", "GPY3.2", "GPY3.3", "GPY3.4", "GPY3.5", "GPY3.6", "GPY3.7";
};
gpy4: gpy4 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY4.0", "GPY4.1", "GPY4.2", "GPY4.3", "GPY4.4", "GPY4.5", "GPY4.6", "GPY4.7";
};
gpy5: gpy5 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY5.0", "GPY5.1", "GPY5.2", "GPY5.3", "GPY5.4", "GPY5.5", "GPY5.6", "GPY5.7";
};
gpy6: gpy6 {
gpio-controller;
#gpio-cells = <2>;
+ gpio-line-names = "GPY6.0", "GPY6.1", "GPY6.2", "GPY6.3", "GPY6.4", "GPY6.5", "GPY6.6", "GPY6.7";
};
sd0_clk: sd0-clk {
@@ -305,6 +323,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPE0.0", "GPE0.1", "GPE0.2", "GPE0.3", "GPE0.4", "GPE0.5", "GPE0.6", "GPE0.7";
};
gpe1: gpe1 {
@@ -313,6 +332,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPE1.0", "GPE1.1";
};
gpf0: gpf0 {
@@ -321,6 +341,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPF0.0", "GPF0.1", "GPF0.2", "GPF0.3", "GPF0.4", "GPF0.5";
};
gpf1: gpf1 {
@@ -329,6 +350,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPF1.0", "GPF1.1", "GPF1.2", "GPF1.3", "GPF1.4", "GPF1.5", "GPF1.6", "GPF1.7";
};
gpg0: gpg0 {
@@ -337,6 +359,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPG0.0", "GPG0.1", "GPG0.2", "GPG0.3", "GPG0.4", "GPG0.5", "GPG0.6", "GPG0.7";
};
gpg1: gpg1 {
@@ -345,6 +368,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPG1.0", "GPG1.1", "GPG1.2", "GPG1.3", "GPG1.4", "GPG1.5", "GPG1.6", "GPG1.7";
};
gpg2: gpg2 {
@@ -353,6 +377,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPG2.0", "GPG2.1";
};
gpj4: gpj4 {
@@ -361,6 +386,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPJ4.0", "GPJ4.1", "GPJ4.2", "GPJ4.3";
};
cam_gpio_a: cam-gpio-a {
@@ -434,6 +460,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPA0.0 CONN10 PIN 6", "GPA0.1 CONN10 PIN 8", "GPA0.2 CONN10 PIN 4", "GPA0.3 CONN10 PIN 5", "GPA0.4", "GPA0.5", "GPA0.6", "GPA0.7";
};
gpa1: gpa1 {
@@ -442,6 +469,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPA1.0", "GPA1.1", "GPA1.2", "GPA1.3", "GPA1.4", "GPA1.5";
};
gpa2: gpa2 {
@@ -450,6 +478,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPA2.0", "GPA2.1", "GPA2.2 CONN11 PIN 4", "GPA2.3 CONN11 PIN 6", "GPA2.4 CONN10 PIN 10", "GPA2.5 CONN10 PIN 11", "GPA2.6 CONN10 PIN 9", "GPA2.7 CONN10 PIN 7";
};
gpb0: gpb0 {
@@ -458,6 +487,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPB0.0", "GPB0.1", "GPB0.2", "GPB0.3", "GPB0.4";
};
gpb1: gpb1 {
@@ -466,6 +496,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPB1.0", "GPB1.1", "GPB1.2", "GPB1.3", "GPB1.4", "GPB1.5", "GPB1.6", "GPB1.7";
};
gpb2: gpb2 {
@@ -474,6 +505,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPB2.0", "GPB2.1", "GPB2.2", "GPB2.3";
};
gpb3: gpb3 {
@@ -482,6 +514,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPB3.0", "GPB3.1", "GPB3.2 CONN10 PIN 16", "GPB3.3 CONN10 PIN 14", "GPB3.4", "GPB3.5", "GPB3.6", "GPB3.7";
};
gpb4: gpb4 {
@@ -490,6 +523,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPB4.0", "GPB4.1";
};
gph0: gph0 {
@@ -498,6 +532,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPH0.0", "GPH0.1", "GPH0.2", "GPH0.3", "GPH0.4", "GPH0.5", "GPH0.6", "GPH0.7";
};
uart0_data: uart0-data {
@@ -722,6 +757,7 @@
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-line-names = "GPZ.0 CONN11 PIN 7", "GPZ.1 CONN11 PIN 9", "GPZ.2 CONN11 PIN 11", "GPZ.3 CONN11 PIN 12", "GPZ.4 CONN11 PIN 10", "GPZ.5", "GPZ.6";
};
i2s0_bus: i2s0-bus {