From: Philipp Zabel <p.zabel@pengutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Mark Brown <broonie@kernel.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Lee Jones <lee.jones@linaro.org>,
Krystian Garbaciak <krystian.garbaciak@diasemi.com>
Subject: [PATCH v2 0/2] Add Dialog DA9063 core and regulator drivers
Date: Thu, 25 Jul 2013 19:39:01 +0200 [thread overview]
Message-ID: <1374773943-7454-1-git-send-email-p.zabel@pengutronix.de> (raw)
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(+)
next reply other threads:[~2013-07-25 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 17:39 Philipp Zabel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1374773943-7454-1-git-send-email-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=broonie@kernel.org \
--cc=krystian.garbaciak@diasemi.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).