linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] mfd: tps65217: Add power-button and IRQ support
@ 2016-09-08  9:58 Marcin Niestroj
  2016-09-08  9:58 ` [PATCH v5 1/3] mfd: tps65217: Add support for IRQs Marcin Niestroj
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Marcin Niestroj @ 2016-09-08  9:58 UTC (permalink / raw)
  To: Lee Jones
  Cc: Dmitry Torokhov, Tony Lindgren, Sebastian Reichel, Rob Herring,
	Pawel Moll, Grygorii Strashko, linux-omap, linux-pm, linux-input,
	devicetree, Marcin Niestroj

Hi,

This is a resend of v4, rebased on v4.8-rc4, with dropped two patches:
 * "power_supply: tps65217-charger: Fix NULL deref during property export"
   (already in mainline)
 * "power_supply: tps65217-charger: Add support for IRQs" (queued into
   power-supply's -next branch)

The following patches add tps65217 power button support and make it usable
with am335x boards. It was developed and rebased on v4.8-rc4.

Changes v4 -> v5:
 * Dropped two patches (they were already dropped in v4 resend):
   * "power_supply: tps65217-charger: Fix NULL deref during property export"
     (already in mainline)
   * "power_supply: tps65217-charger: Add support for IRQs" (queued into
     power-supply's -next branch)
 * Combine tps65217 and tps65218 power button drivers (as suggested by Dmitry)
 * Combine device-tree documentation for tps65217 and tps65218 power buttons

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 (3):
  mfd: tps65217: Add support for IRQs
  mfd: tps65217: Add power button as subdevice
  Input: Add support for tps65217 power button

 .../bindings/input/tps65218-pwrbutton.txt          |  17 +-
 drivers/input/misc/Kconfig                         |   4 +-
 drivers/input/misc/tps65218-pwrbutton.c            | 102 +++++++---
 drivers/mfd/Kconfig                                |   1 +
 drivers/mfd/tps65217.c                             | 205 ++++++++++++++++++++-
 include/linux/mfd/tps65217.h                       |  12 ++
 6 files changed, 298 insertions(+), 43 deletions(-)

-- 
2.9.3


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

end of thread, other threads:[~2016-09-08 23:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08  9:58 [PATCH v5 0/3] mfd: tps65217: Add power-button and IRQ support Marcin Niestroj
2016-09-08  9:58 ` [PATCH v5 1/3] mfd: tps65217: Add support for IRQs Marcin Niestroj
2016-09-08 23:17   ` Tony Lindgren
2016-09-08  9:58 ` [PATCH v5 2/3] mfd: tps65217: Add power button as subdevice Marcin Niestroj
2016-09-08 23:18   ` Tony Lindgren
     [not found] ` <20160908095900.30975-1-m.niestroj-z3quKL4iOrmQ6ZAhV5LmOA@public.gmane.org>
2016-09-08  9:59   ` [PATCH v5 3/3] Input: Add support for tps65217 power button Marcin Niestroj
2016-09-08 17:04     ` Dmitry Torokhov
2016-09-08 23:21       ` Tony Lindgren

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