arm-trusted-firmware/plat/hisilicon/hikey960/include
Leo Yan cfde1870ca hikey960: Enable system power off callback
On Hikey960 if outputs GPIO176 low level, it can tell PMIC to power off
the whole board.  To avoid resetting the board and stay off, it also
requires the SW2201's three switches 1/2/3 need to be all set to 0.

Since current code doesn't contain complete GPIO modules and misses to
support GPIO176.  This patch adds all known GPIO modules and initialize
GPIO in BL31, and adds system power off callback to use GPIO176 for PMIC
power off operation.

Change-Id: Ia88859b8b7c87c061420ef75f0de3e2768667bb0
Signed-off-by: Leo Yan <leo.yan@linaro.org>
2020-03-02 22:34:21 +08:00
..
hi3660.h hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hi3660_crg.h Update hisilicon drivers to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
hi3660_hkadc.h Update hisilicon drivers to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
hi3660_mem_map.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
hisi_ipc.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
plat_macros.S Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
platform_def.h hisilicon: Unify Platform specific defines for PSCI module 2020-01-24 13:01:27 +00:00