Commit 177d8f1f authored by Tony Lindgren's avatar Tony Lindgren

ARM: dts: omap4-droid4: Fix lost keypad slide interrupts for droid4

We may lose edge interrupts for gpio banks other than the first gpio
bank as they are not always powered. Instead, we must use the padconf
interrupt as that is always powered.

Note that we still also use the gpio for reading the pin state as that
can't be done with the padconf device.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent eda080ea
...@@ -16,8 +16,13 @@ volume_down { ...@@ -16,8 +16,13 @@ volume_down {
debounce-interval = <10>; debounce-interval = <10>;
}; };
/*
* We use pad 0x4a100116 abe_dmic_din3.gpio_122 as the irq instead
* of the gpio interrupt to avoid lost events in deeper idle states.
*/
slider { slider {
label = "Keypad Slide"; label = "Keypad Slide";
interrupts-extended = <&omap4_pmx_core 0xd6>;
gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio122 */ gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; /* gpio122 */
linux,input-type = <EV_SW>; linux,input-type = <EV_SW>;
linux,code = <SW_KEYPAD_SLIDE>; linux,code = <SW_KEYPAD_SLIDE>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment