[PATCH RFC v1 0/4] meson-ee-pwrc: support for Meson8/8b/8m2 and GX

From: Martin Blumenstingl
Date: Tue Apr 14 2020 - 16:15:38 EST


This series adds support for all "older" SoCs to the meson-ee-pwrc
driver. I wanted to compare as much as I could between my Meson8b EC-100
(Endless Mini) and the Le Potato board so I added support for GXBB, GXL
and GXM as well as for the SoCs that I'm actually working on. I will
send the ARM64 dts patches once all of this is reviewed and merged.

@Neil: I would like you to review especially the GX dt-binding patch.
The old GX driver seems to include the same reset lines as G12A *plus*
"dvin". You probably know best whether that's needed or not - for now
I decided to keep it (as this is what "works" with the old pwrc driver).
Also I decided to use your copyright in meson-gxbb-power.h since it's
a shameless copy of meson-g12a-power.h with s/G12A/GXBB/g

I successfully tested the Meson8b part on EC-100 where u-boot does not
initialize the VPU controller. So this the board where I have been
struggling most.


Martin Blumenstingl (4):
dt-bindings: power: meson-ee-pwrc: add support for Meson8/8b/8m2
dt-bindings: power: meson-ee-pwrc: add support for the Meson GX SoCs
soc: amlogic: meson-ee-pwrc: add support for Meson8/Meson8b/Meson8m2
soc: amlogic: meson-ee-pwrc: add support for the Meson GX SoCs

.../bindings/power/amlogic,meson-ee-pwrc.yaml | 102 +++++++++++++++---
drivers/soc/amlogic/meson-ee-pwrc.c | 98 ++++++++++++++++-
include/dt-bindings/power/meson-gxbb-power.h | 13 +++
include/dt-bindings/power/meson8-power.h | 13 +++
4 files changed, 204 insertions(+), 22 deletions(-)
create mode 100644 include/dt-bindings/power/meson-gxbb-power.h
create mode 100644 include/dt-bindings/power/meson8-power.h

--
2.26.0