projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52af7e3
)
arm64: zynqmp: Use keycode from input/input.h
author
Michal Simek
<michal.simek@xilinx.com>
Tue, 27 Mar 2018 10:13:13 +0000
(12:13 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 9 Apr 2018 10:14:48 +0000
(12:14 +0200)
Instead of hardcoding numbers.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu102-revA.dts
patch
|
blob
|
history
diff --git
a/arch/arm/dts/zynqmp-zcu102-revA.dts
b/arch/arm/dts/zynqmp-zcu102-revA.dts
index efa94a14194b14ef7cb112bcda7349a42652a1b1..c04e37dc65f37c9f33b7492c9c507d89a15c4bcf 100644
(file)
--- a/
arch/arm/dts/zynqmp-zcu102-revA.dts
+++ b/
arch/arm/dts/zynqmp-zcu102-revA.dts
@@
-11,6
+11,7
@@
#include "zynqmp.dtsi"
#include "zynqmp-clk-ccf.dtsi"
+#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
#include <dt-bindings/phy/phy.h>
@@
-51,7
+52,7
@@
sw19 {
label = "sw19";
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
- linux,code = <
108>; /* down */
+ linux,code = <
KEY_DOWN>;
gpio-key,wakeup;
autorepeat;
};