All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Add Maxim 77802 PMIC support
@ 2014-06-16 18:02 ` Javier Martinez Canillas
  0 siblings, 0 replies; 67+ messages in thread
From: Javier Martinez Canillas @ 2014-06-16 18:02 UTC (permalink / raw)
  To: Lee Jones
  Cc: Samuel Ortiz, Mark Brown, Mike Turquette, Liam Girdwood,
	Alessandro Zummo, Kukjin Kim, Doug Anderson, Olof Johansson,
	Sjoerd Simons, Daniel Stone, Tomeu Vizoso, Krzysztof Kozlowski,
	linux-arm-kernel, devicetree, linux-samsung-soc, linux-kernel,
	Javier Martinez Canillas

MAX77802 is a PMIC that contains 10 high efficiency Buck regulators,
32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs,
a Real-Time-Clock (RTC) and a I2C interface to program the individual
regulators, clocks and the RTC.

This second version of the patch-set addresses several issues pointed
out by Krzysztof Kozlowski, Mark Brown and Lee Jones. The individual
changes are added on each patch change log.

The series are based on drivers added by Simon Glass to the Chrome OS
kernel and adds support for the Maxim 77802 Power Management IC, their
regulators, clocks, RTC and I2C interface. It's composed of patches:

[PATCH v2 1/10] mfd: max77686: Convert to use regmap_irq
[PATCH v2 2/10] clk: max77686: add DT include for MAX77686 PMIC clock
[PATCH v2 3/10] Documentation: dt: improve Maxim 77686 PMIC clocks binding
[PATCH v2 4/10] clk: Add generic driver for Maxim PMIC clocks
[PATCH v2 5/10] clk: max77686: convert to the generic max clock driver
[PATCH v2 6/10] mfd: Add driver for Maxim 77802 Power Management IC
[PATCH v2 7/10] regulator: Add driver for Maxim 77802 PMIC regulators
[PATCH v2 8/10] clk: Add driver for Maxim 77802 PMIC clocks
[PATCH v2 9/10] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock
[PATCH v2 10/10] ARM: dts: Add max77802 device node for exynos5420-peach-pit

Patches 1-3 are improvements to the max77686 driver, Patch 4 adds a generic
clock driver that can be shared by both max77686 and max77802 clock drivers
and Patch 5 converts the former.

Patches 6-9 add support for the different 77802 devices and Patch 10 enables
the MAX77802 PMIC on the Exynos5420 based Peach pit board.

The patch-set has been tested on both Daisy/Snow (max77686) and Peach pit
(max77802) Chromebooks.

NOTE: Since this series convert the max77686 driver to use regmap_irq API
(getting rid of drivers/mfd/max77686-irq.c) and refactor the clock driver,
the amount of duplicated code between 77686 and 77802 drivers were reduced
significantly since v1. Still there is room for more code consolidation if
the max77686 core mfd driver is extended to support max77802 instead.

drivers/mfd/max14577.c is an example of such a combined driver that support
two different Maxim PMIC (14577 and 77836) but I'm not convinced that having
a single driver to support both 77686 and 77802 lead to a cleaner and more
maintainable code than having two separate (and now smaller) mfd core drivers.

Thanks a lot and best regards,
Javier

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

end of thread, other threads:[~2014-06-24 16:43 UTC | newest]

Thread overview: 67+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-16 18:02 [PATCH v2 00/10] Add Maxim 77802 PMIC support Javier Martinez Canillas
2014-06-16 18:02 ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 01/10] mfd: max77686: Convert to use regmap_irq Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-17 20:32   ` Lee Jones
2014-06-17 20:32     ` Lee Jones
2014-06-17 20:57   ` Doug Anderson
2014-06-17 20:57     ` Doug Anderson
2014-06-17 20:57     ` Doug Anderson
2014-06-18  9:21     ` Javier Martinez Canillas
2014-06-18  9:21       ` Javier Martinez Canillas
2014-06-18  9:21       ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 02/10] clk: max77686: add DT include for MAX77686 PMIC clock Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 03/10] Documentation: dt: improve Maxim 77686 PMIC clocks binding Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 04/10] clk: Add generic driver for Maxim PMIC clocks Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 05/10] clk: max77686: convert to the generic max clock driver Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 06/10] mfd: Add driver for Maxim 77802 Power Management IC Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 19:27   ` Mark Brown
2014-06-16 19:27     ` Mark Brown
2014-06-17 10:57     ` Javier Martinez Canillas
2014-06-17 10:57       ` Javier Martinez Canillas
2014-06-18  8:32       ` Lee Jones
2014-06-18  8:32         ` Lee Jones
2014-06-18  9:50         ` Javier Martinez Canillas
2014-06-18  9:50           ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 07/10] regulator: Add driver for Maxim 77802 PMIC regulators Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 19:25   ` Mark Brown
2014-06-16 19:25     ` Mark Brown
2014-06-17 10:49     ` Javier Martinez Canillas
2014-06-17 10:49       ` Javier Martinez Canillas
2014-06-17 10:49       ` Javier Martinez Canillas
2014-06-17 14:12       ` Mark Brown
2014-06-17 14:12         ` Mark Brown
2014-06-17 16:05         ` Javier Martinez Canillas
2014-06-17 16:05           ` Javier Martinez Canillas
2014-06-21 20:40           ` Mark Brown
2014-06-21 20:40             ` Mark Brown
2014-06-23  9:28             ` Javier Martinez Canillas
2014-06-23  9:28               ` Javier Martinez Canillas
2014-06-23  9:47               ` Mark Brown
2014-06-23  9:47                 ` Mark Brown
2014-06-23  9:47                 ` Mark Brown
2014-06-24 16:43                 ` Javier Martinez Canillas
2014-06-24 16:43                   ` Javier Martinez Canillas
2014-06-17 21:17   ` Lee Jones
2014-06-17 21:17     ` Lee Jones
2014-06-17 21:17     ` Lee Jones
2014-06-18  9:47     ` Javier Martinez Canillas
2014-06-18  9:47       ` Javier Martinez Canillas
2014-06-18 14:10       ` Lee Jones
2014-06-18 14:10         ` Lee Jones
2014-06-19 13:32         ` Alessandro Zummo
2014-06-19 13:32           ` Alessandro Zummo
2014-06-16 18:02 ` [PATCH v2 08/10] clk: Add driver for Maxim 77802 PMIC clocks Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 09/10] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas
2014-06-16 18:02 ` [PATCH v2 10/10] ARM: dts: Add max77802 device node for exynos5420-peach-pit Javier Martinez Canillas
2014-06-16 18:02   ` Javier Martinez Canillas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.