arm-trusted-firmware/plat/hisilicon/hikey960
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
..
aarch64 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
drivers Update hisilicon drivers to not rely on undefined overflow behaviour 2019-07-12 09:12:19 +01:00
include hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_bl1_setup.c pl011: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
hikey960_bl2_mem_params_desc.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_bl2_setup.c pl011: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
hikey960_bl31_setup.c hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_bl_common.c hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_boardid.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_def.h hikey960: fix to load FIP by partition table 2019-09-18 18:18:41 +08:00
hikey960_image_load.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_io_storage.c hikey960: fix to load FIP by partition table 2019-09-18 18:18:41 +08:00
hikey960_mcu_load.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
hikey960_pm.c hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00
hikey960_private.h hikey960: fix to load FIP by partition table 2019-09-18 18:18:41 +08:00
hikey960_rotpk.S hikey960: Add development TBB support 2018-09-09 08:02:50 -04:00
hikey960_tbbr.c Mbed TLS: Remove weak heap implementation 2019-04-12 09:52:52 +01:00
hikey960_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
platform.mk hikey960: Enable system power off callback 2020-03-02 22:34:21 +08:00