[PATCH 0/3] input: gpio_keys: Convert to GPIO descriptors

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

 



	Hi Dmitry,

GPIO descriptors are the preferred way over legacy GPIO numbers
nowadays.  This patch series converts the gpio_keys driver to use GPIO
descriptors, like was done before for gpio_keys_polled.

As a bonus, support for ACPI based systems was added by making use of
the device property API. While this is not required for my use case, it
was easy to do, and keeps gpio_keys and gpio_keys_polled in sync.

This has been tested on a DT-based system only (r8a7791/koelsch).

Thanks for your comments!

Geert Uytterhoeven (3):
  input: gpio_keys: Add support for GPIO descriptors
  input: gpio_keys: Switch from irq_of_parse_and_map() to
    platform_get_irq()
  input: gpio_keys: Make use of the device property API

 drivers/input/keyboard/gpio_keys.c | 133 ++++++++++++++++++-------------------
 include/linux/gpio_keys.h          |   2 +-
 2 files changed, 66 insertions(+), 69 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux