Hi Dmitry, This is third version of the series. Purpose of this patch is to allow userland to disable GPIO buttons interrupting the CPU. There is now sysfs interface that can be used to control the buttons by key code or by switch code. I merged those previous 2 patches as one. This is because it made little sense of having separate patch for adding the 'can_disable' field. Changes in v3: - merged previous 2 patches into one - buttons have 'can_disable' field instead of irqflags field Tested with RX-51. Thanks, MW --- Mika Westerberg (1): Input: gpio-keys - added support for disabling gpios through sysfs Documentation/ABI/testing/sysfs-platform-gpio-keys | 44 +++ drivers/input/keyboard/gpio_keys.c | 318 +++++++++++++++++++- include/linux/gpio_keys.h | 1 + 3 files changed, 352 insertions(+), 11 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-platform-gpio-keys -- 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