devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] mfd: tps65217: Add power-button and IRQ support
@ 2016-06-20 10:50 Marcin Niestroj
  2016-06-20 10:50 ` [PATCH v4 1/5] mfd: tps65217: Add support for IRQs Marcin Niestroj
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: Marcin Niestroj @ 2016-06-20 10:50 UTC (permalink / raw)
  To: Lee Jones
  Cc: Tony Lindgren, Sebastian Reichel, Dmitry Eremin-Solenikov,
	David Woodhouse, Rob Herring, Pawel Moll, linux-omap, linux-pm,
	linux-input, devicetree, Grygorii Strashko, Marcin Niestroj

Hi,

the following patches add tps65217 power button support and make it usable
with am335x boards. They also fix a NULL dereference in tps65217 charger
subsystem and add possibility to use IRQs instead of polling task to
update AC power state.

Changes v3 -> v4:
 * Add irq_set_parent() during irq init (suggested by Grygorii)
 * Remove hardcoded IRQ trigger type, rely on DT bindings instead
   (suggested by Grygorii)
 * Rebased and tested on top of v4.7-rc4

Changes v2 -> v3 (suggested by Lee):
 * Alphabetical reorder of includes
 * Rename enum tps65217_irqs -> tps65217_irq_type, so we won't confuse
   it with structure object with the same name.
 * Fix inconsistent order of irq_enable and irq_disable
 * Remove redundant 'else' when returning from tps65217_irq_thread

Changes v1 -> v2:
 * Added information about parent device in tps65217 power button
   device-tree binding documentation (suggested by Rob)
 * Rebased and tested on top of v4.7-rc3

Marcin Niestroj (5):
  mfd: tps65217: Add support for IRQs
  power_supply: tps65217-charger: Fix NULL deref during property export
  power_supply: tps65217-charger: Add support for IRQs
  mfd: tps65217: Add power button as subdevice
  Input: Add tps65217 power button driver

 .../bindings/input/tps65217-pwrbutton.txt          |  17 ++
 drivers/input/misc/Kconfig                         |  10 +
 drivers/input/misc/Makefile                        |   1 +
 drivers/input/misc/tps65217-pwrbutton.c            | 131 +++++++++++++
 drivers/mfd/Kconfig                                |   1 +
 drivers/mfd/tps65217.c                             | 205 ++++++++++++++++++++-
 drivers/power/tps65217_charger.c                   |  46 ++++-
 include/linux/mfd/tps65217.h                       |  12 ++
 8 files changed, 407 insertions(+), 16 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/tps65217-pwrbutton.txt
 create mode 100644 drivers/input/misc/tps65217-pwrbutton.c

-- 
2.9.0


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

end of thread, other threads:[~2016-08-31 14:31 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 10:50 [PATCH v4 0/5] mfd: tps65217: Add power-button and IRQ support Marcin Niestroj
2016-06-20 10:50 ` [PATCH v4 1/5] mfd: tps65217: Add support for IRQs Marcin Niestroj
2016-06-24  9:58   ` Grygorii Strashko
     [not found]     ` <576D0437.1020800-l0cyMroinI0@public.gmane.org>
2016-08-22 10:02       ` Marcin Niestroj
2016-08-29  9:05     ` Marcin Niestroj
2016-08-30  9:04       ` Lee Jones
2016-06-20 10:50 ` [PATCH v4 2/5] power_supply: tps65217-charger: Fix NULL deref during property export Marcin Niestroj
2016-06-20 13:23   ` Krzysztof Kozlowski
2016-06-20 10:50 ` [PATCH v4 3/5] power_supply: tps65217-charger: Add support for IRQs Marcin Niestroj
2016-07-27  9:14   ` Marcin Niestroj
2016-07-27 20:04     ` Sebastian Reichel
     [not found]   ` <20160620105056.25843-4-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-15 19:26     ` Sebastian Reichel
2016-06-20 10:50 ` [PATCH v4 4/5] mfd: tps65217: Add power button as subdevice Marcin Niestroj
     [not found]   ` <20160620105056.25843-5-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-22 10:08     ` Marcin Niestroj
2016-08-29  9:08   ` Marcin Niestroj
2016-08-30  9:03     ` Lee Jones
2016-08-30  9:19       ` Marcin Niestroj
     [not found]         ` <9fafa9b0-cc45-6fe9-ddb9-5c933064261c-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-30  9:50           ` Lee Jones
2016-08-31  7:41             ` Marcin Niestroj
2016-08-31 11:17               ` Lee Jones
2016-08-31 11:18                 ` Marcin Niestroj
     [not found]                   ` <a1752816-3cee-adb9-79e2-bafce286a5c3-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-08-31 12:34                     ` Sebastian Reichel
2016-08-31 14:31                   ` Lee Jones
2016-06-20 10:50 ` [PATCH v4 5/5] Input: Add tps65217 power button driver Marcin Niestroj
2016-06-21 13:17   ` Rob Herring
2016-08-22 10:09     ` Marcin Niestroj
2016-08-29  9:09     ` Marcin Niestroj

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