fix green/blue pio-led on bananapi-r2
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): trinity-ae29ad25-a4fb-47f3-8d68-f6e58c875a0e-1529682447976@3c-app-gmx-bs42
PATCH 1/1 fix green/blue pio-led on bananapi-r2
From: Frank Wunderlich <[email protected]>
Date: Sun, 17 Jun 2018 19:11:58 +0200
Subject: [PATCH] [dts] fix green/blue pio-led ?green/blue pio-leds (near GPIO-Header) are swapped and LOW-active ?this patch restore this expected behaviour
?red cannot be switched afaik
---
?arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 14 +++++++------- ?1 file changed, 7 insertions(+), 7 deletions(-)
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +0 -0
@@ -89,21 +89,21 @@
??? ??? ?pinctrl-names = "default";
??? ??? ?pinctrl-0 = <&led_pins_a>;
?
-?? ??? ?blue {
-?? ??? ??? ?label = "bpi-r2:pio:blue";
-?? ??? ??? ?gpios = <&pio 241 GPIO_ACTIVE_HIGH>;
+?? ??? ?green {
+?? ??? ??? ?label = "bpi-r2:pio:green";
+?? ??? ??? ?gpios = <&pio 241 GPIO_ACTIVE_LOW>;
??? ??? ??? ?default-state = "off";
??? ??? ?};
?
-?? ??? ?green {
-?? ??? ??? ?label = "bpi-r2:pio:green";
-?? ??? ??? ?gpios = <&pio 240 GPIO_ACTIVE_HIGH>;
+?? ??? ?blue {
+?? ??? ??? ?label = "bpi-r2:pio:blue";
+?? ??? ??? ?gpios = <&pio 240 GPIO_ACTIVE_LOW>;
??? ??? ??? ?default-state = "off";
??? ??? ?};
?
??? ??? ?red {
??? ??? ??? ?label = "bpi-r2:pio:red";
-?? ??? ??? ?gpios = <&pio 239 GPIO_ACTIVE_HIGH>;
+?? ??? ??? ?gpios = <&pio 239 GPIO_ACTIVE_LOW>;
??? ??? ??? ?default-state = "off";
??? ??? ?};
??? ?};
?
?
?
PATCH 1/1 fix green/blue pio-led on bananapi-r2
Quoted 34 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Date: Sun, 17 Jun 2018 19:11:58 +0200
Subject: [PATCH] [dts] fix green/blue pio-led
green/blue pio-leds (near GPIO-Header) are swapped and LOW-active this patch restore this expected behaviour
red cannot be switched afaikSigned-off-by Frank Wunderlich <[email protected]>--- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +6
-6@@ -89,21 +89,21 @@ pinctrl-names = "default"; pinctrl-0 = <&led_pins_a>; - blue { - label = "bpi-r2:pio:blue"; - gpios = <&pio 241 GPIO_ACTIVE_HIGH>; + green { + label = "bpi-r2:pio:green"; + gpios = <&pio 241 GPIO_ACTIVE_LOW>; default-state = "off"; }; - green { - label = "bpi-r2:pio:green"; - gpios = <&pio 240 GPIO_ACTIVE_HIGH>; + blue { + label = "bpi-r2:pio:blue"; + gpios = <&pio 240 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts line 109
Quoted 10 lines
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +1
-1default-state = "off"; }; red { label = "bpi-r2:pio:red"; - gpios = <&pio 239 GPIO_ACTIVE_HIGH>; + gpios = <&pio 239 GPIO_ACTIVE_LOW>; default-state = "off"; }; };
Hi, Frank
Node name should be listed in alphabetic order that means you should keep the order and only have the fixes for its content.
Apart from that
Quoted 7 lines
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 1/1 fix green/blue pio-led on bananapi-r2
From: Frank Wunderlich <[email protected]>
Date: Mon, 25 Jun 2018 11:57:13 +0200
Subject: [PATCH] [dts] [v2] fix green/blue pio-led
pio-leds (near GPIO-Header) are swapped and LOW-active patch restore this expected behaviour
red cannot be switched afaik
v2: alphabetic order
--- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +3 -3
@@ -91,19 +91,19 @@ blue { label = "bpi-r2:pio:blue"; - gpios = <&pio 241 GPIO_ACTIVE_HIGH>; + gpios = <&pio 240 GPIO_ACTIVE_LOW>; default-state = "off"; }; green { label = "bpi-r2:pio:green"; - gpios = <&pio 240 GPIO_ACTIVE_HIGH>; + gpios = <&pio 241 GPIO_ACTIVE_LOW>; default-state = "off"; }; red { label = "bpi-r2:pio:red"; - gpios = <&pio 239 GPIO_ACTIVE_HIGH>; + gpios = <&pio 239 GPIO_ACTIVE_LOW>; default-state = "off"; }; };
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v2 1/1 fix green/blue pio-led on bananapi-r2
Quoted 33 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Date: Mon, 25 Jun 2018 11:57:13 +0200
Subject: [PATCH] [dts] [v2] fix green/blue pio-led
pio-leds (near GPIO-Header) are swapped and LOW-active patch restore this expected behaviour
red cannot be switched afaikv2: alphabetic order
Signed-off-by Frank Wunderlich <[email protected]>--- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +2
-2@@ -91,19 +91,19 @@ blue { label = "bpi-r2:pio:blue"; - gpios = <&pio 241 GPIO_ACTIVE_HIGH>; + gpios = <&pio 240 GPIO_ACTIVE_LOW>; default-state = "off"; }; green { label = "bpi-r2:pio:green"; - gpios = <&pio 240 GPIO_ACTIVE_HIGH>; + gpios = <&pio 241 GPIO_ACTIVE_LOW>;
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts line 109
Quoted 10 lines
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +1
-1default-state = "off"; }; red { label = "bpi-r2:pio:red"; - gpios = <&pio 239 GPIO_ACTIVE_HIGH>; + gpios = <&pio 239 GPIO_ACTIVE_LOW>; default-state = "off"; }; };
Matthias Brugger
maintainerPATCH v2 1/1 fix green/blue pio-led on bananapi-r2
In reply to Frank WunderlichQuoted 10 lines · Frank Wunderlich
From: Frank Wunderlich <[email protected]>
Date: Mon, 25 Jun 2018 11:57:13 +0200
Subject: [PATCH] [dts] [v2] fix green/blue pio-led
pio-leds (near GPIO-Header) are swapped and LOW-active patch restore this expected behaviour
red cannot be switched afaikv2: alphabetic order
I fixed the commit message and pushed it to v4.18-next/dts32
Quoted 40 lines
Signed-off-by Frank Wunderlich <[email protected]>--- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +3
-3@@ -91,19 +91,19 @@ blue { label = "bpi-r2:pio:blue"; - gpios = <&pio 241 GPIO_ACTIVE_HIGH>; + gpios = <&pio 240 GPIO_ACTIVE_LOW>; default-state = "off"; }; green { label = "bpi-r2:pio:green"; - gpios = <&pio 240 GPIO_ACTIVE_HIGH>; + gpios = <&pio 241 GPIO_ACTIVE_LOW>; default-state = "off"; }; red { label = "bpi-r2:pio:red"; - gpios = <&pio 239 GPIO_ACTIVE_HIGH>; + gpios = <&pio 239 GPIO_ACTIVE_LOW>; default-state = "off"; }; };?
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek