All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] regulator: axp20x: Add support for AXP813/818 regulators
@ 2017-09-29  3:25 ` Chen-Yu Tsai
  0 siblings, 0 replies; 57+ messages in thread
From: Chen-Yu Tsai @ 2017-09-29  3:25 UTC (permalink / raw)
  To: Lee Jones, Mark Brown, Maxime Ripard
  Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-kernel,
	linux-sunxi, Quentin Schulz

Hi everyone,

This series adds support for the X-Powers AXP813/818 [1] PMICs'
regulators. The series is quite straightforward. There are no compile
time dependencies between the driver patches, so each can go through
their respective (mfd and regulator) trees.

Patch 1 fixes a wrong bit offset for the AXP803 DCDC5/6 poly-phase
detection code. This code path is not exercised as we don't have any
boards that tie these two outputs together.

Patch 2 adds driver support for the AXP813 regulators. The DT binding
part was merged together with the PMIC compatible string and basic
descriptions.

Patch 3 adds a axp20x-regulator cell for AXP813, thereby enabling the
regulators.

Patch 4 adds a shared dtsi file for the PMIC. This currently contains
a list of regulator nodes, but will be expanded with Quentin's power
supply work.

Patches 5 through 7 add regulator nodes to board dts files for the A83T
boards that I have. They are not squashed together as each file has
substantial additions.

Originally my work also included enabling SDIO WiFi and Ethernet. But
the Ethernet bindings were reverted, and SDIO probing somehow didn't
work after v4.14-rc1. Everything can be found here:

    https://github.com/wens/linux/tree/a83t-regulator-wifi-eth

Please have a look and merge if everything looks OK.


Regards
ChenYu


[1] AXP813 and AXP818 are functionally identical. They have different
    labels and are bundled with different SoCs (A83T and H8), as a sort
    of product or market segmentation.


Chen-Yu Tsai (7):
  regulator: axp20x: Fix poly-phase bit offset for AXP803 DCDC5/6
  regulator: axp20x: Add support for AXP813 regulators
  mfd: axp20x: Add axp20x-regulator cell for AXP813
  ARM: dts: sunxi: Add dtsi for AXP81x PMIC
  ARM: dts: sun8i: a83t: cubietruck-plus: Add AXP818 regulator nodes
  ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes
  ARM: dts: sun8i: a83t: allwinner-h8homlet-v2: Add AXP818 regulator
    nodes

 .../{sun8i-a83t-bananapi-m3.dts => axp81x.dtsi}    | 157 ++++++++++-----------
 .../boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts  | 126 ++++++++++++++++-
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts       | 134 +++++++++++++++++-
 arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts   | 150 +++++++++++++++++++-
 drivers/mfd/axp20x.c                               |   2 +
 drivers/regulator/axp20x-regulator.c               | 104 +++++++++++++-
 include/linux/mfd/axp20x.h                         |   3 +
 7 files changed, 582 insertions(+), 94 deletions(-)
 copy arch/arm/boot/dts/{sun8i-a83t-bananapi-m3.dts => axp81x.dtsi} (52%)

-- 
2.14.2

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

end of thread, other threads:[~2017-10-04 11:29 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-29  3:25 [PATCH 0/7] regulator: axp20x: Add support for AXP813/818 regulators Chen-Yu Tsai
2017-09-29  3:25 ` Chen-Yu Tsai
2017-09-29  3:25 ` Chen-Yu Tsai
2017-09-29  3:25 ` [PATCH 1/7] regulator: axp20x: Fix poly-phase bit offset for AXP803 DCDC5/6 Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  8:33   ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-10-04 11:29   ` Applied "regulator: axp20x: Fix poly-phase bit offset for AXP803 DCDC5/6" to the regulator tree Mark Brown
2017-10-04 11:29     ` Mark Brown
2017-10-04 11:29     ` Mark Brown
2017-09-29  3:25 ` [PATCH 2/7] regulator: axp20x: Add support for AXP813 regulators Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  8:33   ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-10-04 10:50   ` Lee Jones
2017-10-04 10:50     ` Lee Jones
2017-10-04 10:50     ` Lee Jones
2017-10-04 11:29   ` Applied "regulator: axp20x: Add support for AXP813 regulators" to the regulator tree Mark Brown
2017-10-04 11:29     ` Mark Brown
2017-10-04 11:29     ` Mark Brown
2017-09-29  3:25 ` [PATCH 3/7] mfd: axp20x: Add axp20x-regulator cell for AXP813 Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  8:33   ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-09-29  8:33     ` Maxime Ripard
2017-10-04 10:49   ` Lee Jones
2017-10-04 10:49     ` Lee Jones
2017-10-04 10:49     ` Lee Jones
2017-09-29  3:25 ` [PATCH 4/7] ARM: dts: sunxi: Add dtsi for AXP81x PMIC Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  8:32   ` Maxime Ripard
2017-09-29  8:32     ` Maxime Ripard
2017-09-29  8:32     ` Maxime Ripard
2017-09-29  8:41     ` Chen-Yu Tsai
2017-09-29  8:41       ` Chen-Yu Tsai
2017-09-29  8:41       ` Chen-Yu Tsai
2017-09-29  3:25 ` [PATCH 5/7] ARM: dts: sun8i: a83t: cubietruck-plus: Add AXP818 regulator nodes Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-10-02 16:24   ` Maxime Ripard
2017-10-02 16:24     ` Maxime Ripard
2017-10-02 16:24     ` Maxime Ripard
2017-10-03  2:14     ` Chen-Yu Tsai
2017-10-03  2:14       ` Chen-Yu Tsai
2017-10-03  2:14       ` Chen-Yu Tsai
2017-09-29  3:25 ` [PATCH 6/7] ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 " Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25 ` [PATCH 7/7] ARM: dts: sun8i: a83t: allwinner-h8homlet-v2: Add AXP818 " Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai
2017-09-29  3:25   ` Chen-Yu Tsai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.