[PATCH 0/3] Updates for gpio-keys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

some time ago I posted a patch that allows using gpio-keys for gpios
that can only trigger an irq on one one edge.

This is still the main reason I modified gpio-keys for.

What's new (apart from some clean-ups that went into seperate patches)
is that the edges that don't trigger an irq (only one or even both) are
now polled.  This should make the driver generic enough to substitute
all other gpio-key drivers.  (I didn't check this though.)

As a result gpio-keys now depends on INPUT_POLLDEV which together with
an increased memory footprint should be the only downside.

I appreciate any constructive feedback.

Best regards
Uwe

Uwe Kleine-König (3):
  Input: gpio-keys - optimize interrupt handler
  Input: gpio-keys - simplify argument list for report_event
  Input: gpio-keys - add polling support

 drivers/input/keyboard/Kconfig     |    1 +
 drivers/input/keyboard/gpio_keys.c |  194 +++++++++++++++++++++++++-----------
 include/linux/gpio_keys.h          |    3 +
 3 files changed, 138 insertions(+), 60 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux