[PATCH v2 0/2] Add Dialog DA9063 core and regulator drivers

From: Philipp Zabel
Date: Thu Jul 25 2013 - 13:39:47 EST


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(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/