From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ivaylo Dimitrov Subject: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Date: Sun, 10 Jan 2016 19:46:30 +0200 Message-ID: <1452447990-22775-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: tony@atomide.com Cc: bcousson@baylibre.com, robh+dt@kernel.org, pawel.moll@arm.com, linux@arm.linux.org.uk, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ivaylo Dimitrov List-Id: devicetree@vger.kernel.org Add linux,can-disable; to all gpios exported from gpio-keys driver, so userspace can disable them Signed-off-by: Ivaylo Dimitrov --- arch/arm/boot/dts/omap3-n900.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 8ea924c..b58e8a0 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -68,6 +68,7 @@ linux,input-type = ; linux,code = ; gpio-key,wakeup; + linux,can-disable; }; camera_focus { @@ -75,6 +76,7 @@ gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; /* 68 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; camera_capture { @@ -82,6 +84,7 @@ gpios = <&gpio3 5 GPIO_ACTIVE_LOW>; /* 69 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; lock_button { @@ -89,6 +92,7 @@ gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; /* 113 */ linux,code = ; gpio-key,wakeup; + linux,can-disable; }; keypad_slide { @@ -97,6 +101,7 @@ linux,input-type = ; linux,code = ; gpio-key,wakeup; + linux,can-disable; }; proximity_sensor { @@ -104,6 +109,7 @@ gpios = <&gpio3 25 GPIO_ACTIVE_HIGH>; /* 89 */ linux,input-type = ; linux,code = ; + linux,can-disable; }; }; -- 1.9.1