linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] input: gpio_keys: Convert to GPIO descriptors
@ 2016-02-19 10:16 Geert Uytterhoeven
  2016-02-19 10:16 ` [PATCH 1/3] input: gpio_keys: Add support for " Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2016-02-19 10:16 UTC (permalink / raw)
  To: Dmitry Torokhov, Aaron Lu, Mika Westerberg, Rafael J. Wysocki
  Cc: Vincent Pelletier, Linus Walleij, Alexandre Courbot, linux-input,
	linux-gpio, Geert Uytterhoeven

	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@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-03-09  8:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-19 10:16 [PATCH 0/3] input: gpio_keys: Convert to GPIO descriptors Geert Uytterhoeven
2016-02-19 10:16 ` [PATCH 1/3] input: gpio_keys: Add support for " Geert Uytterhoeven
2016-02-19 10:16 ` [PATCH 2/3] input: gpio_keys: Switch from irq_of_parse_and_map() to platform_get_irq() Geert Uytterhoeven
2016-02-23 19:35   ` Dmitry Torokhov
2016-02-19 10:16 ` [PATCH 3/3] input: gpio_keys: Make use of the device property API Geert Uytterhoeven
2016-02-19 10:46   ` Geert Uytterhoeven
2016-02-22 19:58   ` Dmitry Torokhov
2016-02-23  7:29     ` Mika Westerberg
2016-02-23 17:54       ` Dmitry Torokhov
2016-02-28  2:03     ` sergk sergk2mail
2016-02-29  8:17       ` Mika Westerberg
2016-02-29 16:24         ` sergk sergk2mail
2016-03-01  7:52           ` Mika Westerberg
2016-03-09  3:36             ` Linus Walleij
2016-03-09  8:36               ` Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).