[PATCH v4 1/7] mfd: axp20x: add AXP221 PMIC support
boris.brezillon at free-electrons.com
Wed Jun 18 01:46:58 PDT 2014
On 18/06/2014 10:36, Lee Jones wrote:
> On Tue, 17 Jun 2014, Boris BREZILLON wrote:
>> Add support for the AXP221 PMIC device to the existing AXP20x driver.
>> The AXP221 defines a new set of registers, power supplies and regulators,
>> but most of the API is similar to the AXP20x ones.
>> The AXP20x irq chip definition is reused, though some interrupts are not
>> available in the AXP221.
>> Signed-off-by: Boris BREZILLON <boris.brezillon at free-electrons.com>
>> drivers/mfd/axp20x.c | 64 ++++++++++++++++++++++++++++++++++++++++++----
>> include/linux/mfd/axp20x.h | 56 ++++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 115 insertions(+), 5 deletions(-)
> Looks good to me now.
> Acked-by: Lee Jones <lee.jones at linaro.org>
> Can this go in independently to the other patches in the set?
Yes, as long as no one define an axp221 node in his DT.
In this case axp221 regulators would be considered as axp20x ones (which
might be a bit problematic), because axp20x-regulator driver does not
test the axp variant before probing its regulators (this test is
introduced in patch 3).
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
More information about the linux-arm-kernel