diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-08-30 14:59:39 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-09-03 12:25:24 +0800 |
commit | f5d5d2e6c6490e8245ca704f1d3d0295161d78f5 (patch) | |
tree | 23ef4a5b4f39ce22b5c1189eacb685f456287baf /arch/arm/boot/dts/imx6sx-sdb.dtsi | |
parent | 9873fde84ae8ce385865134f8610d8ef6e635c59 (diff) | |
download | lwn-f5d5d2e6c6490e8245ca704f1d3d0295161d78f5.tar.gz lwn-f5d5d2e6c6490e8245ca704f1d3d0295161d78f5.zip |
ARM: dts: imx6sx-sdb: enable gpio buttons as wakeup source
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi index f8f31872fa14..53b3408b5fab 100644 --- 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; }; }; |