[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1401116292-24066-1-git-send-email-boris.brezillon@free-electrons.com>
Date: Mon, 26 May 2014 16:58:07 +0200
From: Boris BREZILLON <boris.brezillon@...e-electrons.com>
To: Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
Carlo Caione <carlo@...one.org>,
Shuge <shuge@...winnertech.com>, kevin@...winnertech.com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
dev@...ux-sunxi.org,
Boris BREZILLON <boris.brezillon@...e-electrons.com>
Subject: [PATCH v2 0/5] mfd: axp20x: add AXP221 PMIC support
Hello,
This patch series adds basic support for the X-Powers' AXP221 PMIC.
At the moment the MFD device only exposes the AXP221 regulators but other
subdevices might be added later.
I'm still waiting for inputs regarding the ipsout regulator representation:
* The ipsout regulator is currently represented as a fixed regulator
providing a 5v output, and this is not exactly the case.
AFAIU (here's is the datasheet traduction if you want to check [1]), the
ipsout output is a multiplexer that choose among vbus (5V), acin (12V
which is then converted to 5V) and the battery power supply (3,5 -> 4,2 V).
This means the output voltage of ipsout vary between 3,5V and 5V.
How can we express this kind of muxer in the regulator framework (is there
already something available ?) ?
Note that the power supply selection is automatic, though we could force
one power supply, but then we loose the ability to unplug one power supply
without impacting the system.
Best Regards,
Boris
[1] http://linux-sunxi.org/AXP221#Regulators
Changes since v1:
- merge code with the axp20x driver
Boris BREZILLON (5):
mfd: axp20x: add AXP221 PMIC support
regulator: axp20x: prepare support for multiple AXP chip families
regulator: axp20x: add support for AXP221 regulators
regulator: axp20x: reset probe data before each probe
regulator: axp20x: resolve self dependency issue
drivers/mfd/axp20x.c | 58 +++++++-
drivers/regulator/axp20x-regulator.c | 250 +++++++++++++++++++++++++++--------
include/linux/mfd/axp20x.h | 56 ++++++++
3 files changed, 304 insertions(+), 60 deletions(-)
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists