[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1410215046-31751-1-git-send-email-jacob.jun.pan@linux.intel.com>
Date: Mon, 8 Sep 2014 15:24:02 -0700
From: Jacob Pan <jacob.jun.pan@...ux.intel.com>
To: IIO <linux-iio@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
DEVICE TREE <devicetree@...r.kernel.org>,
Lee Jones <lee.jones@...aro.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Aaron Lu <aaron.lu@...el.com>, Alan Cox <alan@...ux.intel.com>,
Jean Delvare <khali@...ux-fr.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Grant Likely <grant.likely@...aro.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Hartmut Knaack <knaack.h@....de>,
Fugang Duan <B38611@...escale.com>,
Arnd Bergmann <arnd@...db.de>,
Zubair Lutfullah <zubair.lutfullah@...il.com>,
Sebastian Reichel <sre@...ian.org>,
Johannes Thumshirn <johannes.thumshirn@....de>,
Philippe Reynes <tremyfr@...oo.fr>,
Angelo Compagnucci <angelo.compagnucci@...il.com>,
Doug Anderson <dianders@...omium.org>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: [PATCH 0/4] Initial support for XPowers AXP288 PMIC
XPowers AXP288 is a customized PMIC found on some Intel Baytrail-CR platforms.
It comes with sub-functions such as USB charging, fuel gauge, ADC, and many LDO
and BUCK channels.
By extending the existing AXP20x driver, this patchset adds basic support
for AXP288 PMIC with GPADC as one MFD cell device driver. It also adds hooks
for ACPI opregion handler driver which can be used to handle ACPI requests.
Currently, the PMIC driver in this patchset does not support platform data
enumeration. But when ACPI _DSD and unified device properties become available,
cell devices with platform data will be added.
This patch does not use intel_soc_pmic core for i2c and regmap handling in that
axp288 shares similar programming interface with other Xpower PMICs supported in
axp20x.c. Therefore, extending axp20x.c to include axp288 makes more sense.
Jacob Pan (4):
mfd/axp20x: rename files to support more devices
mfd/axp2xx: extend axp20x to support axp288 pmic
regulator/axp20x: use axp2xx consolidated header
iio/adc/axp288: add support for axp288 gpadc
drivers/iio/adc/Kconfig | 8 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/axp288_gpadc.c | 250 ++++++++++++++++++
drivers/mfd/Kconfig | 7 +-
drivers/mfd/Makefile | 2 +-
drivers/mfd/axp20x.c | 258 ------------------
drivers/mfd/axp2xx.c | 500 +++++++++++++++++++++++++++++++++++
drivers/regulator/axp20x-regulator.c | 6 +-
include/linux/mfd/axp20x.h | 180 -------------
include/linux/mfd/axp2xx.h | 235 ++++++++++++++++
10 files changed, 1002 insertions(+), 445 deletions(-)
create mode 100644 drivers/iio/adc/axp288_gpadc.c
delete mode 100644 drivers/mfd/axp20x.c
create mode 100644 drivers/mfd/axp2xx.c
delete mode 100644 include/linux/mfd/axp20x.h
create mode 100644 include/linux/mfd/axp2xx.h
--
1.9.1
--
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