* [PATCH] ARM: dts: armada: netgear-rn104: Add LCD to RN104 dts.
@ 2019-05-17 0:17 Ash Hughes
2019-05-17 8:34 ` Gregory CLEMENT
0 siblings, 1 reply; 2+ messages in thread
From: Ash Hughes @ 2019-05-17 0:17 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Andrew Lunn, Gregory Clement, Jason Cooper, Sebastian Hesselbarth
Adds the LCD on the rn104 to its dts file.
Signed-off-by: Ash Hughes <sehguh.hsa@gmail.com>
---
arch/arm/boot/dts/armada-370-netgear-rn104.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn104.dts b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
index 9fd1cb9f4992..85e2e9e27a9f 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
@@ -143,6 +143,20 @@
};
};
+ auxdisplay {
+ compatible = "hit,hd44780";
+ data-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>,
+ <&gpio1 26 GPIO_ACTIVE_HIGH>,
+ <&gpio1 27 GPIO_ACTIVE_HIGH>,
+ <&gpio1 29 GPIO_ACTIVE_HIGH>;
+ enable-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
+ rs-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
+ rw-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
+ backlight-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+ display-height-chars = <2>;
+ display-width-chars = <16>;
+ };
+
gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&backup_button_pin
--
2.21.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] 2+ messages in thread
* Re: [PATCH] ARM: dts: armada: netgear-rn104: Add LCD to RN104 dts.
2019-05-17 0:17 [PATCH] ARM: dts: armada: netgear-rn104: Add LCD to RN104 dts Ash Hughes
@ 2019-05-17 8:34 ` Gregory CLEMENT
0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2019-05-17 8:34 UTC (permalink / raw)
To: Ash Hughes, linux-arm-kernel
Cc: Andrew Lunn, Jason Cooper, Sebastian Hesselbarth
Hi Ash Hughes,
> Adds the LCD on the rn104 to its dts file.
>
Looks good,
Applied on mvebu/dt
Thanks,
Gregory
> Signed-off-by: Ash Hughes <sehguh.hsa@gmail.com>
> ---
> arch/arm/boot/dts/armada-370-netgear-rn104.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-370-netgear-rn104.dts b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
> index 9fd1cb9f4992..85e2e9e27a9f 100644
> --- a/arch/arm/boot/dts/armada-370-netgear-rn104.dts
> +++ b/arch/arm/boot/dts/armada-370-netgear-rn104.dts
> @@ -143,6 +143,20 @@
> };
> };
>
> + auxdisplay {
> + compatible = "hit,hd44780";
> + data-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>,
> + <&gpio1 26 GPIO_ACTIVE_HIGH>,
> + <&gpio1 27 GPIO_ACTIVE_HIGH>,
> + <&gpio1 29 GPIO_ACTIVE_HIGH>;
> + enable-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
> + rs-gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
> + rw-gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
> + backlight-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
> + display-height-chars = <2>;
> + display-width-chars = <16>;
> + };
> +
> gpio-keys {
> compatible = "gpio-keys";
> pinctrl-0 = <&backup_button_pin
> --
> 2.21.0
>
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://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] 2+ messages in thread
end of thread, other threads:[~2019-05-17 8:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-17 0:17 [PATCH] ARM: dts: armada: netgear-rn104: Add LCD to RN104 dts Ash Hughes
2019-05-17 8:34 ` Gregory CLEMENT
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).