projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9873fde
)
ARM: dts: imx6sx-sdb: enable gpio buttons as wakeup source
author
Anson Huang
<Anson.Huang@nxp.com>
Thu, 30 Aug 2018 06:59:39 +0000
(14:59 +0800)
committer
Shawn Guo
<shawnguo@kernel.org>
Mon, 3 Sep 2018 04:25:24 +0000
(12:25 +0800)
This patch enables i.MX6SX SDB board's below GPIO buttons
as wakeup sources:
SW4(FUNC1): KEY_VOLUMEUP
SW5(FUNC2): KEY_VOLUMEDOWN
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sx-sdb.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/imx6sx-sdb.dtsi
b/arch/arm/boot/dts/imx6sx-sdb.dtsi
index
f8f3187
..
53b3408
100644
(file)
--- a/
arch/arm/boot/dts/imx6sx-sdb.dtsi
+++ b/
arch/arm/boot/dts/imx6sx-sdb.dtsi
@@
-40,12
+40,14
@@
label = "Volume Up";
gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
+ wakeup-source;
};
volume-down {
label = "Volume Down";
gpios = <&gpio1 19 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
+ wakeup-source;
};
};