mfd: axp20x: Extend axp20x to support axp288 pmic
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 7 Oct 2014 04:17:14 +0000 (21:17 -0700)
committerLee Jones <lee.jones@linaro.org>
Tue, 7 Oct 2014 08:30:05 +0000 (09:30 +0100)
commitaf7e9069543aabd415d7c543f3f89b143ac1a932
tree40e00e77c9aef5b83dab704575330e27cc6beed7
parentbfe01a5ba2490f299e1d2d5508cbbbadd897bbe9
mfd: axp20x: Extend axp20x to support axp288 pmic

X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar
to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and
AD converters. It also provides extended status and interrupt reporting
capabilities than the devices currently supported in axp20x.c.

In addition to feature extension, this patch also adds ACPI binding for
enumeration.

This consolidated driver should support more X-Powers' PMICs in both device
tree and ACPI enumerated platforms.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/axp20x.c
include/linux/mfd/axp20x.h