Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333161 > unrolled thread
| Started by | Tony Lindgren <tony@atomide.com> |
|---|---|
| First post | 2016-02-12 23:00 +0100 |
| Last post | 2016-02-22 19:00 +0100 |
| Articles | 5 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Tony Lindgren <tony@atomide.com> - 2016-02-12 23:00 +0100
Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-02-21 18:50 +0100
Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Sebastian Reichel <sre@kernel.org> - 2016-02-21 20:20 +0100
[PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-02-22 15:50 +0100
Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled Tony Lindgren <tony@atomide.com> - 2016-02-22 19:00 +0100
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2016-02-12 23:00 +0100 |
| Subject | Re: [PATCH] ARM: dts: omap3-n900: Allow gpio keys to be disabled |
| Message-ID | <r1tUT-4d1-13@gated-at.bofh.it> |
* Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [160110 09:47]:
> Add linux,can-disable; to all gpios exported from gpio-keys driver, so
> userspace can disable them
...
> --- a/arch/arm/boot/dts/omap3-n900.dts
> +++ b/arch/arm/boot/dts/omap3-n900.dts
> @@ -68,6 +68,7 @@
> linux,input-type = <EV_SW>;
> linux,code = <SW_CAMERA_LENS_COVER>;
> gpio-key,wakeup;
> + linux,can-disable;
> };
>
> camera_focus {
Looks like this no longer applies because of linux,can-disable
to wakeup-source changes. Can you please update against v4.5-rc
series and repost?
Thanks,
Tony
[toc] | [next] | [standalone]
| From | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> |
|---|---|
| Date | 2016-02-21 18:50 +0100 |
| Message-ID | <r4GiS-12G-15@gated-at.bofh.it> |
| In reply to | #1333161 |
On 12.02.2016 23:53, Tony Lindgren wrote: > > Looks like this no longer applies because of linux,can-disable > to wakeup-source changes. Can you please update against v4.5-rc > series and repost? Could you elaborate on that? As I don't really understand what needs to be updated and what are "wakeup-source changes". Thanks, Ivo
[toc] | [prev] | [next] | [standalone]
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2016-02-21 20:20 +0100 |
| Message-ID | <r4HHY-2e1-11@gated-at.bofh.it> |
| In reply to | #1338879 |
[Multipart message — attachments visible in raw view] — view raw
Hi Ivo, On Sun, Feb 21, 2016 at 07:49:30PM +0200, Ivaylo Dimitrov wrote: > On 12.02.2016 23:53, Tony Lindgren wrote: > >Looks like this no longer applies because of linux,can-disable > >to wakeup-source changes. Can you please update against v4.5-rc > >series and repost? > > Could you elaborate on that? As I don't really understand what needs to be > updated and what are "wakeup-source changes". Due to changes in the kernel source (each gpio key in omap3-n900.dts gained a "wakeup-source" property) the patch can no longer be applied using "git am". Just rebase your patch to current 4.5-rc and resend it. -- Sebastian
[toc] | [prev] | [next] | [standalone]
| From | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> |
|---|---|
| Date | 2016-02-22 15:50 +0100 |
| Message-ID | <r4ZYe-7bh-23@gated-at.bofh.it> |
| In reply to | #1333161 |
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>
---
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 74d8f7eb..f01a151 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;
};
};
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2016-02-22 19:00 +0100 |
| Message-ID | <r52W5-YY-1@gated-at.bofh.it> |
| In reply to | #1339582 |
* Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [160222 06:43]: > Add linux,can-disable; to all gpios exported from gpio-keys driver, so > userspace can disable them Thanks applying into omap-for-v4.6/dt. Tony
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web