All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/9] AXP803 PMIC support for Pine64
@ 2017-05-18  7:16 ` Icenowy Zheng
  0 siblings, 0 replies; 125+ messages in thread
From: Icenowy Zheng @ 2017-05-18  7:16 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Marc Zyngier, Rob Herring,
	Maxime Ripard, Chen-Yu Tsai, Lee Jones, Liam Girdwood,
	Mark Brown
  Cc: linux-kernel, devicetree, linux-arm-kernel, linux-sunxi, Icenowy Zheng

The Pine64 (including Pine64+) boards have an AXP803 PMIC, which is a PMIC
similar to AXP288, but tweaked to use with Allwinner SoCs rather than Intel
tablets (with DCIN and Vbus re-splitted like other AXP PMICs, and RSB bus
support added).

This patchset adds support for it and enabled it in Pine64 device tree.

Some parts of this patchset is already applied, including basical AXP803
MFD code and A64 RSB device node.

Thus this patchset is now still two parts, but a bit different to older
revisions:

- Part1: from PATCH 1/9 to PATCH 4/9, which focus on enabling AXP803 in the
  device tree: the R_INTC interrupt controller (for the NMI line, which is
  connected to AXP803 on Pine64), and finally the basical AXP803 node.
- Part2: from PATCH 5/9 to PATCH 9/9, which are enabling the regulator
  function of the AXP803 PMIC. Finally Wi-Fi function is added
  as a usage of regulators function.

PATCH 1 adds device tree binding of A64 R_INTC.

PATCH 2 really adds support for A64 R_INTC in NMI driver.

PATCH 3 adds R_INTC node in A64 device tree.

PATCH 4 adds AXP803 node to the Pine64 device tree by using already
applied drivers/bindings.

PATCH 5 adds support for AXP803 regulators in AXP20x regulatoe driver.
(The binding is already applied)

PATCH 6 enables the AXP803 regulator cell in MFD driver.

PATCH 7 adds a DTSI file for AXP803, like other older AXP PMICs.

PATCH 8 enables AXP803 regulators in Pine64 device tree.

PATCH 9 enables Wi-Fi for Pine64.

Icenowy Zheng (9):
  irqchip/sunxi-nmi: add A64 R_INTC to the binding doc
  irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC
  arm64: allwinner: a64: add NMI (R_INTC) controller on A64
  arm64: allwinner: a64: add AXP803 node to Pine64 device tree
  regulator: axp20x-regulator: add support for AXP803
  mfd: axp20x: add axp20x-regulator cell for AXP803
  arm64: allwinner: a64: add DTSI file for AXP803 PMIC
  arm64: allwinner: a64: enable AXP803 regulators for Pine64
  arm64: allwinner: a64: enable Wi-Fi for Pine64

 .../interrupt-controller/allwinner,sunxi-nmi.txt   |   7 +-
 arch/arm64/boot/dts/allwinner/axp803.dtsi          | 150 ++++++++++++++++++++
 .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 136 ++++++++++++++++++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      |   8 ++
 drivers/irqchip/irq-sunxi-nmi.c                    |  13 ++
 drivers/mfd/axp20x.c                               |   3 +-
 drivers/regulator/axp20x-regulator.c               | 153 ++++++++++++++++++---
 include/linux/mfd/axp20x.h                         |  37 +++++
 8 files changed, 482 insertions(+), 25 deletions(-)
 create mode 100644 arch/arm64/boot/dts/allwinner/axp803.dtsi

-- 
2.12.2

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

end of thread, other threads:[~2017-07-18  3:07 UTC | newest]

Thread overview: 125+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-18  7:16 [PATCH v6 0/9] AXP803 PMIC support for Pine64 Icenowy Zheng
2017-05-18  7:16 ` Icenowy Zheng
2017-05-18  7:16 ` Icenowy Zheng
2017-05-18  7:16 ` [PATCH v6 1/9] irqchip/sunxi-nmi: add A64 R_INTC to the binding doc Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:40   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-18  7:40     ` Chen-Yu Tsai
2017-05-18  7:40     ` Chen-Yu Tsai
2017-05-18  7:52   ` Maxime Ripard
2017-05-18  7:52     ` Maxime Ripard
2017-05-18  7:52     ` Maxime Ripard
2017-05-18  7:16 ` [PATCH v6 2/9] irqchip/sunxi-nmi: add support for the NMI in A64 R_INTC Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:52   ` Maxime Ripard
2017-05-18  7:52     ` Maxime Ripard
2017-05-18  7:52     ` Maxime Ripard
2017-05-19  2:27     ` Chen-Yu Tsai
2017-05-19  2:27       ` Chen-Yu Tsai
2017-05-19  2:27       ` Chen-Yu Tsai
2017-05-22  9:39   ` Marc Zyngier
2017-05-22  9:39     ` Marc Zyngier
2017-05-22  9:39     ` Marc Zyngier
2017-05-22  9:41     ` Icenowy Zheng
2017-05-22  9:41       ` Icenowy Zheng
2017-05-22  9:41       ` Icenowy Zheng
2017-05-22 14:25       ` [linux-sunxi] " Chen-Yu Tsai
2017-05-22 14:25         ` Chen-Yu Tsai
2017-05-22 14:25         ` Chen-Yu Tsai
2017-06-05  5:57         ` Chen-Yu Tsai
2017-06-05  5:57           ` Chen-Yu Tsai
2017-06-05  5:57           ` Chen-Yu Tsai
2017-06-05  7:53           ` [linux-sunxi] " Marc Zyngier
2017-06-05  7:53             ` Marc Zyngier
2017-06-05  7:56             ` Icenowy Zheng
2017-06-05  7:56               ` Icenowy Zheng
2017-06-05  7:56               ` Icenowy Zheng
2017-06-05  8:05               ` Marc Zyngier
2017-06-05  8:05                 ` Marc Zyngier
2017-06-05  8:05                 ` Marc Zyngier
2017-05-18  7:16 ` [PATCH v6 3/9] arm64: allwinner: a64: add NMI (R_INTC) controller on A64 Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-19  2:28   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-19  2:28     ` Chen-Yu Tsai
2017-05-19  2:28     ` Chen-Yu Tsai
2017-05-18  7:16 ` [PATCH v6 4/9] arm64: allwinner: a64: add AXP803 node to Pine64 device tree Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-19  2:28   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-19  2:28     ` Chen-Yu Tsai
2017-05-19  2:28     ` Chen-Yu Tsai
2017-07-18  3:02     ` [linux-sunxi] " Chen-Yu Tsai
2017-07-18  3:02       ` Chen-Yu Tsai
2017-07-18  3:02       ` Chen-Yu Tsai
2017-05-18  7:16 ` [PATCH v6 5/9] regulator: axp20x-regulator: add support for AXP803 Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16 ` [PATCH v6 6/9] mfd: axp20x: add axp20x-regulator cell " Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-22 12:17   ` Lee Jones
2017-05-22 12:17     ` Lee Jones
2017-05-22 12:17     ` Lee Jones
2017-05-18  7:16 ` [PATCH v6 7/9] arm64: allwinner: a64: add DTSI file for AXP803 PMIC Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-19  2:29   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-19  2:29     ` Chen-Yu Tsai
2017-05-19  2:29     ` Chen-Yu Tsai
2017-07-18  3:02     ` [linux-sunxi] " Chen-Yu Tsai
2017-07-18  3:02       ` Chen-Yu Tsai
2017-07-18  3:02       ` Chen-Yu Tsai
2017-05-18  7:16 ` [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64 Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-19  2:54   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-19  2:54     ` Chen-Yu Tsai
2017-05-19  2:54     ` Chen-Yu Tsai
2017-05-19  3:00     ` [linux-sunxi] " Icenowy Zheng
2017-05-19  3:00       ` Icenowy Zheng
2017-05-19  3:00       ` Icenowy Zheng
2017-05-19  3:10       ` Chen-Yu Tsai
2017-05-19  3:10         ` Chen-Yu Tsai
2017-05-19  3:10         ` Chen-Yu Tsai
2017-05-19  3:12         ` [linux-sunxi] " Icenowy Zheng
2017-05-19  3:12           ` Icenowy Zheng
2017-05-19  3:12           ` Icenowy Zheng
2017-05-19  8:27   ` [linux-sunxi] " Andre Przywara
2017-05-19  8:27     ` Andre Przywara
2017-05-19  8:27     ` Andre Przywara
2017-05-19  8:29     ` [linux-sunxi] " Icenowy Zheng
2017-05-19  8:29       ` Icenowy Zheng
2017-05-19  8:29       ` Icenowy Zheng
2017-05-19  8:55       ` [linux-sunxi] " Andre Przywara
2017-05-19  8:55         ` Andre Przywara
2017-05-19  8:55         ` Andre Przywara
2017-07-18  2:58         ` Chen-Yu Tsai
2017-07-18  2:58           ` Chen-Yu Tsai
2017-07-18  2:58           ` Chen-Yu Tsai
2017-07-18  3:07           ` [linux-sunxi] " Icenowy Zheng
2017-07-18  3:07             ` Icenowy Zheng
2017-07-18  3:07             ` Icenowy Zheng
2017-05-19  8:56       ` Maxime Ripard
2017-05-19  8:56         ` Maxime Ripard
2017-05-19  8:56         ` Maxime Ripard
2017-05-18  7:16 ` [PATCH v6 9/9] arm64: allwinner: a64: enable Wi-Fi " Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-18  7:16   ` Icenowy Zheng
2017-05-19  3:01   ` [linux-sunxi] " Chen-Yu Tsai
2017-05-19  3:01     ` Chen-Yu Tsai
2017-05-19  3:01     ` Chen-Yu Tsai
2017-05-19  3:03     ` [linux-sunxi] " Icenowy Zheng
2017-05-19  3:03       ` Icenowy Zheng
2017-05-19  3:03       ` Icenowy Zheng
2017-05-19  7:19       ` Maxime Ripard
2017-05-19  7:19         ` Maxime Ripard
2017-05-19  7:19         ` Maxime Ripard
2017-05-19  7:22         ` icenowy
2017-05-19  7:22           ` icenowy at aosc.io
2017-05-19  7:22           ` icenowy-h8G6r0blFSE
2017-05-23 14:44           ` Maxime Ripard
2017-05-23 14:44             ` Maxime Ripard
2017-05-23 14:44             ` Maxime Ripard

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.