[PATCH v2 0/9] mfd: axp20x: Add support for RSB based AXP223

From: Chen-Yu Tsai
Date: Thu Nov 12 2015 - 23:04:56 EST


Hi everyone,

This is v2 of the AXP223 PMIC series.

Changes since v1:

- Dropped NMI interrupt controller dts patch (Merged)

- Change MFD_AXP20X to represent the axp20x core, and drop MFD_AXP20X_CORE

- Keep the axp20x core bits named axp20x.c

- Add patch 7 to add AXP223 to sun8i-q8-common.dtsi

- Add patch 8 & 9 to update defconfigs

- Make axp20x drivers tristate and buildable as modules

- Drop "_sunxi" substring from identifiers in axp20x-rsb driver


This series adds support for the Reduced Serial Bus based AXP223 PMIC.
The AXP223 is functionally identical to the AXP221, which we already
support. Only some default values for the regulators are different.
The defaults fit their recommended application, paired with different
SoCs.

Patch 1 adds AXP223 to the list of supported chips in the DT binding.

Patch 2 splits the axp20x mfd driver into 2 parts, a core library, and
an I2C driver.

Patch 3 adds an RSB based driver for the AXP223.

Patch 4 adds support for the AXP223 regulators

Patch 5 enables the AXP223 PMIC and its regulators for the Sinlinx
SinA33.

Patch 6 adds a label to the simplefb node in the sun8i dts.

Patch 7 enables the AXP223 PMIC and its regulators for A23/A33 based
Q8 devices.

Patch 8 enables MFD_AXP20X_I2C and MFD_AXP20X_RSB in sunxi_defconfig

Patch 9 enables SUNXI_RSB, MFD_AXP20X_RSB and MFD_AXP20X_RSB in
multi_v7_defconfig, and changes all existing AXP20X related symbols
to M (module).


Regards
ChenYu


Chen-Yu Tsai (9):
mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings
mfd: axp20x: Split the driver into core and i2c bits
mfd: axp20x: Add support for RSB based AXP223 PMIC
regulator: axp20x: Support new AXP223 PMIC
ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator
nodes
ARM: dts: sun8i: Add simplefb node labels to reference at board level
ARM: dts: sun8i: q8-common: Add AXP223 PMIC device and regulator nodes
ARM: sunxi_defconfig: Update MFD_AXP20X symbol and enable
MFD_AXP20X_RSB
ARM: multi_v7_defconfig: Enable RSB and AXP20X related drivers as
modules

Documentation/devicetree/bindings/mfd/axp20x.txt | 7 +-
arch/arm/boot/dts/sun8i-a23-a33.dtsi | 2 +-
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 79 +++++++++++++-
arch/arm/boot/dts/sun8i-q8-common.dtsi | 86 ++++++++++++++-
arch/arm/configs/multi_v7_defconfig | 8 +-
arch/arm/configs/sunxi_defconfig | 2 +
drivers/mfd/Kconfig | 25 ++++-
drivers/mfd/Makefile | 2 +
drivers/mfd/axp20x-i2c.c | 127 +++++++++++++++++++++++
drivers/mfd/axp20x-rsb.c | 93 +++++++++++++++++
drivers/mfd/axp20x.c | 110 +++-----------------
drivers/regulator/axp20x-regulator.c | 3 +
include/linux/mfd/axp20x.h | 34 +++++-
13 files changed, 467 insertions(+), 111 deletions(-)
create mode 100644 drivers/mfd/axp20x-i2c.c
create mode 100644 drivers/mfd/axp20x-rsb.c

--
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/