Thread (11 messages) flat view 11 messages, 4 authors, 2015-09-21

[linux-sunxi] Re: [PATCH 2/4] ARM: dts: sun7i: Add keypad node to Allwinner A20 SoC

From: Chen-Yu Tsai <hidden>
Date: 2015-09-17 14:21:34
Also in: linux-input, lkml

On Thu, Sep 17, 2015 at 7:29 PM, Maxime Ripard
[off-list ref] wrote:
Hi Yassin,

On Wed, Sep 16, 2015 at 12:05:55AM +1000, yassinjaffer at gmail.com wrote:
quoted
From: Yassin Jaffer <redacted>

Add Keypad controller node definition to the A20 SoC.

Signed-off-by: Yassin Jaffer <redacted>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 333604a..35cc8d0 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1198,6 +1198,15 @@
                      status = "disabled";
              };

+             kp: kp at 01c23000 {
The node name should reflect the class of the device. keypad at 01c23000
would be better for example.
Expanding the label to "keypad" as well would be nice.
"kp" could mean other things.

Thanks.

ChenYu
It looks good otherwise.

Thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help