linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] regulator/power/mfd/input/extcon: Merge max77843 into max77693
@ 2015-05-24  5:43 Krzysztof Kozlowski
  2015-05-24  5:43 ` [PATCH v2 1/9] mfd/extcon: max77693: Remove unused extern declarations and max77693_dev members Krzysztof Kozlowski
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-24  5:43 UTC (permalink / raw)
  To: Chanwoo Choi, MyungJoo Ham, Dmitry Torokhov, Samuel Ortiz,
	Lee Jones, Sebastian Reichel, Dmitry Eremin-Solenikov,
	David Woodhouse, Liam Girdwood, Mark Brown, linux-kernel,
	linux-input, linux-pm
  Cc: Krzysztof Kozlowski

Hi,


The patchset merges max77843 regulator driver into max77693.
I am asking for review and acks from multiple subsystems: extcon,
input, mfd, power and regulator.


Changes since v1
================
1. Drop patch "regulator: max77693: Use core code for charger's
   is_enabled" because Mark Brown picked it up.
2. Patch 2: remove some more old IRQ extcon stuff (suggested by Chanwoo
   Choi).
3. Patch 6: minor fixes over defines (suggested by Lee Jones).
4. Send last patch, previously it slipped during "git send-email".
5. Add acks obtained for v1. I still need more of them. :)


Rationale
=========
The recently added max77843 regulator driver is very similar to
its older brother: the max77693. Both devices provide two safeouts
and a charger.

The main difference is in charger's output capabilities and related
registry values.

With some code additions the max77693 regulator driver can support both
chipsets. This reduces overall code duplication and is a first step
toward integrating other drivers for these devices.


Patchset description
====================
Patches 1-2 do various cleanup.
Patch 3 prepares max77694 regulator driver for supporting different
devices.
Patch 4 switches max77693 drivers to common state container.
Patch 5 updates max77843 drivers to common state container.
Patches 6-7 do final cleanup before merging.
Patches 8-9 do the merge of max77843 regulator into max77693.


Dependencies
============
The patchset is rebased on next-20150522. It touches all currently
merged max77843 drivers: extcon, mfd, input and regulator
(charger driver was not yet merged).

Everything is bisectable but next patches depend on previous ones.
So probably the easiest way would be picking picked up by one
maintainer.


Best regards,
Krzysztof


Krzysztof Kozlowski (9):
  mfd/extcon: max77693: Remove unused extern declarations and
    max77693_dev members
  mfd: max77693: Store I2C device type as enum and add default unknown
  regulator: max77693: Support different register configurations
  extcon/input/mfd/power/regulator: max77693: Move state container to
    common header
  extcon/input/mfd/regulator: max77843: Switch to common max77693 state
    container
  mfd/extcon: max77693: Rename defines to allow inclusion with max77843
  mfd/extcon: max77843: Rename defines to allow inclusion with max77693
  regulator: max77693: Add support for MAX77843 device
  regulator: Remove the max77843 driver

 drivers/extcon/extcon-max77693.c     |  94 +++++++---------
 drivers/extcon/extcon-max77843.c     |  66 +++++++-----
 drivers/input/misc/max77693-haptic.c |   1 +
 drivers/input/misc/max77843-haptic.c |   3 +-
 drivers/mfd/max77693.c               |  31 +++---
 drivers/mfd/max77843.c               |  20 ++--
 drivers/power/max77693_charger.c     |   1 +
 drivers/regulator/Kconfig            |  16 +--
 drivers/regulator/Makefile           |   1 -
 drivers/regulator/max77693.c         | 161 ++++++++++++++++++++++++----
 drivers/regulator/max77843.c         | 201 -----------------------------------
 include/linux/mfd/max77693-common.h  |  49 +++++++++
 include/linux/mfd/max77693-private.h | 134 +++++++++--------------
 include/linux/mfd/max77843-private.h | 174 ++++++++++++++----------------
 14 files changed, 432 insertions(+), 520 deletions(-)
 delete mode 100644 drivers/regulator/max77843.c
 create mode 100644 include/linux/mfd/max77693-common.h

-- 
2.1.4


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

end of thread, other threads:[~2015-05-29 11:06 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-24  5:43 [PATCH v2 0/9] regulator/power/mfd/input/extcon: Merge max77843 into max77693 Krzysztof Kozlowski
2015-05-24  5:43 ` [PATCH v2 1/9] mfd/extcon: max77693: Remove unused extern declarations and max77693_dev members Krzysztof Kozlowski
2015-05-24  5:43 ` [PATCH v2 2/9] mfd: max77693: Store I2C device type as enum and add default unknown Krzysztof Kozlowski
2015-05-27 10:23   ` Lee Jones
2015-05-27 11:13     ` Krzysztof Kozłowski
2015-05-27 12:15       ` Lee Jones
2015-05-27 12:24         ` Lee Jones
2015-05-24  5:43 ` [PATCH v2 3/9] regulator: max77693: Support different register configurations Krzysztof Kozlowski
2015-05-24  5:43 ` [PATCH v2 4/9] extcon/input/mfd/power/regulator: max77693: Move state container to common header Krzysztof Kozlowski
2015-05-26 17:46   ` Dmitry Torokhov
2015-05-27 10:25   ` Lee Jones
2015-05-27 13:55   ` Chanwoo Choi
2015-05-24  5:43 ` [PATCH v2 5/9] extcon/input/mfd/regulator: max77843: Switch to common max77693 state container Krzysztof Kozlowski
2015-05-26 17:46   ` Dmitry Torokhov
2015-05-27 10:25   ` Lee Jones
2015-05-27 13:54   ` Chanwoo Choi
2015-05-24  5:43 ` [PATCH v2 6/9] mfd/extcon: max77693: Rename defines to allow inclusion with max77843 Krzysztof Kozlowski
2015-05-27 10:26   ` Lee Jones
2015-05-27 13:52   ` Chanwoo Choi
2015-05-24  5:43 ` [PATCH v2 7/9] mfd/extcon: max77843: Rename defines to allow inclusion with max77693 Krzysztof Kozlowski
2015-05-27 13:50   ` Chanwoo Choi
2015-05-27 23:42     ` Krzysztof Kozłowski
2015-05-29 11:06       ` Chanwoo Choi
2015-05-24  5:43 ` [PATCH v2 8/9] regulator: max77693: Add support for MAX77843 device Krzysztof Kozlowski
2015-05-24  5:43 ` [PATCH v2 9/9] regulator: Remove the max77843 driver 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).