diff options
author | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> | 2016-02-22 15:42:59 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2016-02-22 18:56:45 +0100 |
commit | 05cf1e030b7860f2e8b729d8197c5992ce12977e (patch) | |
tree | 5725a72c08726c564bbb3fed4913508198c0f3f3 | |
parent | ARM: dts: am43x-epos-evm: Add the am438 compatible string (diff) | |
download | linux-05cf1e030b7860f2e8b729d8197c5992ce12977e.tar.xz linux-05cf1e030b7860f2e8b729d8197c5992ce12977e.zip |
ARM: dts: omap3-n900: Allow gpio keys to be disabled
Add linux,can-disable; to all gpios exported from gpio-keys driver, so
userspace can disable them
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 20603f3f9bd0..2ae38dfea61e 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -68,6 +68,7 @@ linux,input-type = <5>; /* EV_SW */ linux,code = <0x09>; /* SW_CAMERA_LENS_COVER */ wakeup-source; + linux,can-disable; }; camera_focus { @@ -75,6 +76,7 @@ gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */ linux,code = <0x210>; /* KEY_CAMERA_FOCUS */ wakeup-source; + linux,can-disable; }; camera_capture { @@ -82,6 +84,7 @@ gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */ linux,code = <0xd4>; /* KEY_CAMERA */ wakeup-source; + linux,can-disable; }; lock_button { @@ -89,6 +92,7 @@ gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */ linux,code = <0x98>; /* KEY_SCREENLOCK */ wakeup-source; + linux,can-disable; }; keypad_slide { @@ -97,6 +101,7 @@ linux,input-type = <5>; /* EV_SW */ linux,code = <0x0a>; /* SW_KEYPAD_SLIDE */ wakeup-source; + linux,can-disable; }; proximity_sensor { @@ -104,6 +109,7 @@ gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */ linux,input-type = <5>; /* EV_SW */ linux,code = <0x0b>; /* SW_FRONT_PROXIMITY */ + linux,can-disable; }; }; |