devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] gpio: max732x: Update MAX732X driver to use modern kernel API
@ 2015-01-13 13:41 Semen Protsenko
  2015-01-13 13:41 ` [PATCH 1/4] gpio: max732x: Add device tree support Semen Protsenko
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Semen Protsenko @ 2015-01-13 13:41 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot
  Cc: Grant Likely, Mark Rutland, linux-gpio, linux-kernel, devicetree,
	Marc Zyngier, Grygorii Strashko, Illia Smyrnov

This patch series updates driver for MAX732X I/O expander to use modern kernel
API (like Device Tree). Basically, I was needed this driver to work with
kernel 3.8 on our ARM-based board, but it was in obsolete state (supporting
only platform data from board-file). First patch makes driver work with
data taken from device tree file (old platform data support also kept in place
for compatibility reasons).

After adding device tree support it came to me that current approach to
implement interrupt controller is to use irq-domain framework. Hence the second
patch (only affects the code for generating interrupts on level change on
expander's GPIO input lines).

Once driver became fully functional (using data from device tree), another
issue showed up: lockdep validator revealed possible dead-lock in driver code.
Third patch fixes this problem.

Finally, fourth patch adds binding documentation showing how to describe MAX732X
driver in device tree file.

Semen Protsenko (4):
  gpio: max732x: Add device tree support
  gpio: max732x: Rewrite IRQ code to use irq_domain API
  gpio: max732x: Fix possible deadlock
  gpio: max732x: Add DT binding documentation

 .../devicetree/bindings/gpio/gpio-max732x.txt      |   59 +++++++
 drivers/gpio/Kconfig                               |    1 +
 drivers/gpio/gpio-max732x.c                        |  174 ++++++++++++++------
 3 files changed, 187 insertions(+), 47 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max732x.txt

-- 
1.7.9.5


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

end of thread, other threads:[~2015-01-15 17:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13 13:41 [PATCH 0/4] gpio: max732x: Update MAX732X driver to use modern kernel API Semen Protsenko
2015-01-13 13:41 ` [PATCH 1/4] gpio: max732x: Add device tree support Semen Protsenko
2015-01-15 16:52   ` Linus Walleij
2015-01-13 13:41 ` [PATCH 2/4] gpio: max732x: Rewrite IRQ code to use irq_domain API Semen Protsenko
     [not found]   ` <1421156505-16600-3-git-send-email-semen.protsenko-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-01-15 17:03     ` Linus Walleij
2015-01-13 13:41 ` [PATCH 3/4] gpio: max732x: Fix possible deadlock Semen Protsenko
2015-01-15 17:04   ` Linus Walleij
2015-01-13 13:41 ` [PATCH 4/4] gpio: max732x: Add DT binding documentation Semen Protsenko
2015-01-15 17:19   ` Linus Walleij

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).