linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Initial support for XPowers AXP288 PMIC
@ 2014-09-08 22:24 Jacob Pan
  2014-09-08 22:24 ` [PATCH 1/4] mfd/axp20x: rename files to support more devices Jacob Pan
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Jacob Pan @ 2014-09-08 22:24 UTC (permalink / raw)
  To: IIO, LKML, DEVICE TREE, Lee Jones
  Cc: Srinivas Pandruvada, Aaron Lu, Alan Cox, Jean Delvare,
	Samuel Ortiz, Liam Girdwood, Mark Brown, Grant Likely,
	Greg Kroah-Hartman, Rob Herring, Lars-Peter Clausen,
	Hartmut Knaack, Fugang Duan, Arnd Bergmann, Zubair Lutfullah,
	Sebastian Reichel, Johannes Thumshirn, Philippe Reynes,
	Angelo Compagnucci, Doug Anderson, Jacob Pan

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-09-12  7:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-08 22:24 [PATCH 0/4] Initial support for XPowers AXP288 PMIC Jacob Pan
2014-09-08 22:24 ` [PATCH 1/4] mfd/axp20x: rename files to support more devices Jacob Pan
2014-09-09  8:11   ` Lee Jones
2014-09-08 22:24 ` [PATCH 2/4] mfd/axp2xx: extend axp20x to support axp288 pmic Jacob Pan
2014-09-09  7:37   ` Maxime Ripard
2014-09-09 12:45     ` Jacob Pan
2014-09-09 13:37       ` Maxime Ripard
2014-09-11 22:23         ` Jacob Pan
2014-09-08 22:24 ` [PATCH 3/4] regulator/axp20x: use axp2xx consolidated header Jacob Pan
2014-09-09 11:25   ` Mark Brown
2014-09-11 22:26     ` Jacob Pan
2014-09-12  7:39       ` Mark Brown
2014-09-08 22:24 ` [PATCH 4/4] iio/adc/axp288: add support for axp288 gpadc Jacob Pan
2014-09-10  4:19   ` Pallala, Ramakrishna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).