mbox series

[0/3] arm64: allwinner: Enable AXP803's USB power supply

Message ID 20190418161804.17723-1-wens@kernel.org (mailing list archive)
Headers show
Series arm64: allwinner: Enable AXP803's USB power supply | expand

Message

Chen-Yu Tsai April 18, 2019, 4:18 p.m. UTC
From: Chen-Yu Tsai <wens@csie.org>

Hi everyone,

This series follows up on the A83T USB OTG series. The USB power supply
portion of the AXP803, the PMIC used with the A64, is identical to the
part in the AXP813/AXP818, used with the A83T.

This series enables the USB power supply in the AXP803 using the AXP813's
compatible string as a fallback. The per-model compatible string is still
added as a contigency.

Patch 1 adds an mfd cell for the USB power supply, to the AXP803.

Patch 2 adds a device node for the USB power supply.

Patch 3 enables the USB power supply on the Bananapi M64.

Unfortunately the original Pine64 does not wire up the USB power supply,
and I don't have any other A64 boards.

The mfd patch can go in through the mfd tree. There are no compile-time
dependencies. We, sunxi, can take the DT patches.

Please have a look.


Regards
ChenYu


Chen-Yu Tsai (3):
  mfd: axp20x: add USB power supply mfd cell to AXP803
  arm64: dts: allwinner: axp803: add USB power supply node
  arm64: dts: allwinner: a64: bananapi-m64: Enable PMIC USB power supply

 arch/arm64/boot/dts/allwinner/axp803.dtsi                 | 6 ++++++
 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 5 +++++
 drivers/mfd/axp20x.c                                      | 5 +++++
 3 files changed, 16 insertions(+)

Comments

Maxime Ripard May 20, 2019, 7:41 a.m. UTC | #1
On Fri, Apr 19, 2019 at 12:18:01AM +0800, Chen-Yu Tsai wrote:
> From: Chen-Yu Tsai <wens@csie.org>
>
> Hi everyone,
>
> This series follows up on the A83T USB OTG series. The USB power supply
> portion of the AXP803, the PMIC used with the A64, is identical to the
> part in the AXP813/AXP818, used with the A83T.
>
> This series enables the USB power supply in the AXP803 using the AXP813's
> compatible string as a fallback. The per-model compatible string is still
> added as a contigency.
>
> Patch 1 adds an mfd cell for the USB power supply, to the AXP803.
>
> Patch 2 adds a device node for the USB power supply.
>
> Patch 3 enables the USB power supply on the Bananapi M64.
>
> Unfortunately the original Pine64 does not wire up the USB power supply,
> and I don't have any other A64 boards.
>
> The mfd patch can go in through the mfd tree. There are no compile-time
> dependencies. We, sunxi, can take the DT patches.

Applied 2 and 3, thanks!

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com