summaryrefslogtreecommitdiff
path: root/drivers/mfd/axp20x.c
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2014-11-24 12:24:47 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-11-27 01:32:05 +0300
commitd8139f6311129b4fdc370cbfc03424afea83693b (patch)
tree24f99112df72f58fcd5f73fb43aed9d356505ae6 /drivers/mfd/axp20x.c
parentb1eea857d8c70dc3789cc2231e3c0a273a67ba06 (diff)
downloadlinux-d8139f6311129b4fdc370cbfc03424afea83693b.tar.xz
ACPI / PMIC: support PMIC operation region for XPower AXP288
The Baytrail-T-CR platform firmware has defined two customized operation regions for PMIC chip Dollar Cove XPower - one is for power resource handling and one is for thermal just like the CrystalCove one. This patch adds support for them on top of the common PMIC opregion region code. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Lee Jones <lee.jones@linaro.org> for the MFD part Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mfd/axp20x.c')
-rw-r--r--drivers/mfd/axp20x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index 971b0eb8d821..1df18d188342 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -354,6 +354,9 @@ static struct mfd_cell axp288_cells[] = {
.num_resources = ARRAY_SIZE(axp288_battery_resources),
.resources = axp288_battery_resources,
},
+ {
+ .name = "axp288_pmic_acpi",
+ },
};
static struct axp20x_dev *axp20x_pm_power_off;