[PATCH v2 0/2] soc: amlogic: add support for Meson GX VPU Domains

From: Neil Armstrong
Date: Tue Oct 17 2017 - 04:16:22 EST


On the Amlogic Gx SoCs (GXBB, GXL & GXM), the VPU power domain is initialized
by the vendor U-Boot code, but running mainline U-boot has been possible
on these SoCs. But lacking such init made the system lock at kernel boot.

This patchset adds the Video Processing Unit power domain driver to enable
the same power-on and power-down sequences and was designed to allow booting
with the power domain already initialized or not.

This driver has been tested on :
- Odroid-C2 (GXBB) with Vendor and Mainline U-Boot
- P212 (GXL) with Vendor and Mainline U-Boot
- Khadas Vim (GXL) with Vendor U-Boot
- Khadas Vim2 with (GXM) Vendor U-Boot

Changes since v1:
- fixed bindings compatible string

Neil Armstrong (2):
soc: amlogic: add Meson GX VPU Domains driver
dt-bindings: power: add amlogic meson power domain bindings

.../bindings/power/amlogic,meson-gx-pwrc.txt | 61 ++++++
drivers/soc/amlogic/Kconfig | 10 +
drivers/soc/amlogic/Makefile | 1 +
drivers/soc/amlogic/meson-gx-pwrc-vpu.c | 234 +++++++++++++++++++++
4 files changed, 306 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/amlogic,meson-gx-pwrc.txt
create mode 100644 drivers/soc/amlogic/meson-gx-pwrc-vpu.c

--
2.7.4