linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: add description of Netgear RN NV+v2 LCD
@ 2019-02-08  4:53 David Coles
  2019-02-08 13:56 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: David Coles @ 2019-02-08  4:53 UTC (permalink / raw)
  To: devicetree
  Cc: Mark Rutland, Andrew Lunn, Jason Cooper, Gregory Clement,
	linux-kernel, David Coles, Rob Herring, linux-arm-kernel,
	Sebastian Hesselbarth

GPIO pin mapping taken from NetGear NV+ v2 5.3.13 kernel sources[1]
(see arch/arm/plat-feroceon/mv_hal/rtc/ext_rtc/usiLCD.c).

1. https://www.downloads.netgear.com/files/GPL/RND_5.3.13_WW.src.zip

Signed-off-by: David Coles <coles.david@gmail.com>
---
 .../boot/dts/kirkwood-netgear_readynas_nv+_v2.dts  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dts
index 8cc8550242ef..a61b56f44ec7 100644
--- a/arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dts
+++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_nv+_v2.dts
@@ -184,6 +184,20 @@
 		gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
 	};
 
+	auxdisplay {
+		compatible = "hit,hd44780";
+		data-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>,
+			     <&gpio1 1 GPIO_ACTIVE_HIGH>,
+			     <&gpio1 3 GPIO_ACTIVE_HIGH>,
+			     <&gpio1 17 GPIO_ACTIVE_HIGH>;
+		enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
+		rs-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
+		rw-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
+		backlight-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
+		display-height-chars = <2>;
+		display-width-chars = <16>;
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.17.1


_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] ARM: dts: add description of Netgear RN NV+v2 LCD
  2019-02-08  4:53 [PATCH] ARM: dts: add description of Netgear RN NV+v2 LCD David Coles
@ 2019-02-08 13:56 ` Andrew Lunn
  2019-02-08 15:23   ` David Coles
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2019-02-08 13:56 UTC (permalink / raw)
  To: David Coles
  Cc: Mark Rutland, devicetree, Jason Cooper, Gregory Clement,
	linux-kernel, Rob Herring, linux-arm-kernel,
	Sebastian Hesselbarth

On Thu, Feb 07, 2019 at 08:53:05PM -0800, David Coles wrote:
> GPIO pin mapping taken from NetGear NV+ v2 5.3.13 kernel sources[1]
> (see arch/arm/plat-feroceon/mv_hal/rtc/ext_rtc/usiLCD.c).

Kirkwood! It has been a while since we had a kirkwood patch. Some NAS
boxes seem to never die. Nice to see somebody still hacking on them.

> Signed-off-by: David Coles <coles.david@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] ARM: dts: add description of Netgear RN NV+v2 LCD
  2019-02-08 13:56 ` Andrew Lunn
@ 2019-02-08 15:23   ` David Coles
  0 siblings, 0 replies; 3+ messages in thread
From: David Coles @ 2019-02-08 15:23 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Mark Rutland, devicetree, Jason Cooper, Gregory Clement,
	linux-kernel, Rob Herring, linux-arm-kernel,
	Sebastian Hesselbarth

On Fri, Feb 8, 2019 at 5:56 AM Andrew Lunn <andrew@lunn.ch> wrote:
> Kirkwood! It has been a while since we had a kirkwood patch. Some NAS
> boxes seem to never die. Nice to see somebody still hacking on them.

Netgear firmware only supported SMBv1, Windows 10 does not. Luckily
Arnaud Ebalard had done most of the heavy lifting years ago. Getting
the LCD working with the new HD44780 driver was icing on the cake.

Thanks,
David

_______________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2019-02-08 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-08  4:53 [PATCH] ARM: dts: add description of Netgear RN NV+v2 LCD David Coles
2019-02-08 13:56 ` Andrew Lunn
2019-02-08 15:23   ` David Coles

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).