linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dts: fix status gpioleds on nanopi-neo-plus2
@ 2018-07-03 13:26 Jonathan A. Kollasch
  2018-07-05 14:50 ` Maxime Ripard
  2019-02-20 15:33 ` [PATCH v2] arm64: dts: allwinner: fix status LED " Jonathan A. Kollasch
  0 siblings, 2 replies; 4+ messages in thread
From: Jonathan A. Kollasch @ 2018-07-03 13:26 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
---
 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
index 506e25ba028a..b8eb43a0d007 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
@@ -71,8 +71,8 @@
 		};
 
 		status {
-			label = "nanopi:red:status";
-			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
+			label = "nanopi:blue:status";
+			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 		};
 	};
 
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] dts: fix status gpioleds on nanopi-neo-plus2
  2018-07-03 13:26 [PATCH] dts: fix status gpioleds on nanopi-neo-plus2 Jonathan A. Kollasch
@ 2018-07-05 14:50 ` Maxime Ripard
  2019-02-20 15:33 ` [PATCH v2] arm64: dts: allwinner: fix status LED " Jonathan A. Kollasch
  1 sibling, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2018-07-05 14:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Tue, Jul 03, 2018 at 08:26:36AM -0500, Jonathan A. Kollasch wrote:
> Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>

So, the prefix of your commit title should be "arm64: dts: allwinner:
<title>", and having a commit log explaining what you're doing, why
(and in this case the source) is going to be needed.

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180705/3b5af9e3/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2] arm64: dts: allwinner: fix status LED on nanopi-neo-plus2
  2018-07-03 13:26 [PATCH] dts: fix status gpioleds on nanopi-neo-plus2 Jonathan A. Kollasch
  2018-07-05 14:50 ` Maxime Ripard
@ 2019-02-20 15:33 ` Jonathan A. Kollasch
  2019-02-20 16:53   ` Maxime Ripard
  1 sibling, 1 reply; 4+ messages in thread
From: Jonathan A. Kollasch @ 2019-02-20 15:33 UTC (permalink / raw)
  To: Maxime Ripard, linux-arm-kernel; +Cc: Jonathan A. Kollasch

The schematics[1][2] for both versions of the NanoPi NEO Plus2 place the
STAT status LED on GPIOA10, and describe it as being a blue LED.

This change makes the blue status LED on my v1.0 board functional.

Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>

[1]: http://wiki.friendlyarm.com/wiki/images/8/86/Schematic_NanoPi_NEO_Plus2-v1.0-1704.pdf
[2]: http://wiki.friendlyarm.com/wiki/images/b/bf/Schematic_NanoPi_NEO_Plus2-v1.1-1805.pdf
---
 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
index 506e25ba028a..b8eb43a0d007 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts
@@ -71,8 +71,8 @@
 		};
 
 		status {
-			label = "nanopi:red:status";
-			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
+			label = "nanopi:blue:status";
+			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 		};
 	};
 
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] arm64: dts: allwinner: fix status LED on nanopi-neo-plus2
  2019-02-20 15:33 ` [PATCH v2] arm64: dts: allwinner: fix status LED " Jonathan A. Kollasch
@ 2019-02-20 16:53   ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2019-02-20 16:53 UTC (permalink / raw)
  To: Jonathan A. Kollasch; +Cc: linux-arm-kernel

Hi!

A few generic comments before, you should send the patches to all the
recipients in get_maintainers.pl, which means that in that case in
particular, you forgot to send it to Chen-Yu Tsai.

Also, when you're sending a new iteration, please provide the changes
you made since the previous iteration after the ---.

On Wed, Feb 20, 2019 at 09:33:03AM -0600, Jonathan A. Kollasch wrote:
> The schematics[1][2] for both versions of the NanoPi NEO Plus2 place the
> STAT status LED on GPIOA10, and describe it as being a blue LED.
> 
> This change makes the blue status LED on my v1.0 board functional.
> 
> Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
> 
> [1]: http://wiki.friendlyarm.com/wiki/images/8/86/Schematic_NanoPi_NEO_Plus2-v1.0-1704.pdf
> [2]: http://wiki.friendlyarm.com/wiki/images/b/bf/Schematic_NanoPi_NEO_Plus2-v1.1-1805.pdf

URLs also have the tendency to become dead quite fast, while the git
history is here for ever, so it'd be better to avoid having them in
the commit message itself, but feel free to add them as reference
after the ---

Thanks!
Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-20 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-03 13:26 [PATCH] dts: fix status gpioleds on nanopi-neo-plus2 Jonathan A. Kollasch
2018-07-05 14:50 ` Maxime Ripard
2019-02-20 15:33 ` [PATCH v2] arm64: dts: allwinner: fix status LED " Jonathan A. Kollasch
2019-02-20 16:53   ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).