linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Dialog DA9063 core and regulator drivers
@ 2013-07-25 17:39 Philipp Zabel
  2013-07-25 17:39 ` [PATCH v2 1/2] mfd: Add Dialog DA9063 core driver Philipp Zabel
  2013-07-25 17:39 ` [PATCH v2 2/2] regulator: Add Dialog DA9063 voltage regulators support Philipp Zabel
  0 siblings, 2 replies; 6+ messages in thread
From: Philipp Zabel @ 2013-07-25 17:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mark Brown, Samuel Ortiz, Lee Jones, Krystian Garbaciak

Hi,

here is a second round of the DA9063 mfd core and regulator patch, with the
following changes since v1:
 - Reordered to avoid forward declarations
 - Split set/get_mode into buck and ldo specific versions and
   dropped da9063_get/update_mode_internal
 - Dropped suspend_enable/disable for 32K_OUT and stopped buck
   enable from touching suspend register fields
 - Replaced custom bitfield handling with reg(map)_field
 - Register all regulators instead of only those listed in platform data
 - Check for model id (0x61) and revision id (3)
 - Use module_i2c_driver instead of subsys_initcall
 - Fixed DA9063_BMEM/BCORE2_ILIM_MASK values
 - Removed da9063_model accessor functions and unused DA9063_PAGE/REG defines
 - Removed the unused SHIFT defines, reg_fields are initialized
   from MASK alone

The core driver depends on a patch I've sent earlier:
"[RFC] regmap: core: allow a virtual range to cover its own data window"
(https://lkml.org/lkml/2013/7/23/165).

regards
Philipp

 drivers/mfd/Kconfig                  |   12 +
 drivers/mfd/Makefile                 |    3 +
 drivers/mfd/da9063-core.c            |  185 ++++++
 drivers/mfd/da9063-i2c.c             |  182 ++++++
 drivers/mfd/da9063-irq.c             |  193 +++++++
 drivers/regulator/Kconfig            |   10 +
 drivers/regulator/Makefile           |    1 +
 drivers/regulator/da9063-regulator.c |  960 +++++++++++++++++++++++++++++++
 include/linux/mfd/da9063/core.h      |   93 +++
 include/linux/mfd/da9063/pdata.h     |  114 ++++
 include/linux/mfd/da9063/registers.h | 1028 ++++++++++++++++++++++++++++++++++
 11 files changed, 2781 insertions(+)


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

end of thread, other threads:[~2013-07-29  8:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 17:39 [PATCH v2 0/2] Add Dialog DA9063 core and regulator drivers Philipp Zabel
2013-07-25 17:39 ` [PATCH v2 1/2] mfd: Add Dialog DA9063 core driver Philipp Zabel
2013-07-28 12:55   ` Mark Brown
2013-07-25 17:39 ` [PATCH v2 2/2] regulator: Add Dialog DA9063 voltage regulators support Philipp Zabel
2013-07-28 12:51   ` Mark Brown
2013-07-29  8:28     ` Philipp Zabel

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