linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mfd: max8997: add regmap support
@ 2014-03-11 13:58 Robert Baldyga
  2014-03-11 13:58 ` [PATCH 1/3] mfd: max8997: use regmap to access registers Robert Baldyga
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Robert Baldyga @ 2014-03-11 13:58 UTC (permalink / raw)
  To: sameo, lee.jones
  Cc: myungjoo.ham, cw00.choi, dmitry.torokhov, cooloney, rpurdie,
	dbaryshkov, dwmw2, lgirdwood, broonie, a.zummo, paul.gortmaker,
	linux-kernel, linux-input, linux-leds, rtc-linux, m.szyprowski,
	k.kozlowski, Robert Baldyga

Hi,

This patchset modifies max8997 driver and associated function drivers to use
register maps instead of operating directly on i2c bus. This change allowed
to simplify irq handling, and to move some initializations to individual
function drivers. Hence now when some functions are not enabled, their i2c
clients, regmaps and irqs are not registered.

Best regards
Robert Baldyga
Samsung R&D Institute Poland

Robert Baldyga (3):
  mfd: max8997: use regmap to access registers
  mfd: max8997: handle IRQs using regmap
  mfd: max8997: move regmap handling to function drivers

 drivers/extcon/extcon-max8997.c     |  136 ++++++++++--
 drivers/input/misc/max8997_haptic.c |  117 +++++++++--
 drivers/leds/leds-max8997.c         |   13 +-
 drivers/mfd/Makefile                |    2 +-
 drivers/mfd/max8997-irq.c           |  387 -----------------------------------
 drivers/mfd/max8997.c               |  207 ++++++-------------
 drivers/power/max8997_charger.c     |   33 +--
 drivers/regulator/max8997.c         |   87 ++++----
 drivers/rtc/rtc-max8997.c           |   98 ++++++---
 include/linux/mfd/max8997-private.h |   86 ++++++--
 10 files changed, 482 insertions(+), 684 deletions(-)
 delete mode 100644 drivers/mfd/max8997-irq.c

-- 
1.7.9.5


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

end of thread, other threads:[~2014-03-11 15:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-11 13:58 [PATCH 0/3] mfd: max8997: add regmap support Robert Baldyga
2014-03-11 13:58 ` [PATCH 1/3] mfd: max8997: use regmap to access registers Robert Baldyga
2014-03-11 14:32   ` Krzysztof Kozlowski
2014-03-11 14:59     ` Robert Baldyga
2014-03-11 15:20       ` Krzysztof Kozlowski
2014-03-11 13:58 ` [PATCH 2/3] mfd: max8997: handle IRQs using regmap Robert Baldyga
2014-03-11 14:43   ` Krzysztof Kozlowski
2014-03-11 13:58 ` [PATCH 3/3] mfd: max8997: move regmap handling to function drivers Robert Baldyga
2014-03-11 15:07   ` Krzysztof Kozlowski

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