From: macro.wave.z at gmail.com Date: Fri, 19 Aug 2016 17:20:29 +0800 Subject: [U-Boot] [UBOOT PATCH 0/4] Add LS1 PSCI system suspend Message-ID: <1471598433-5212-1-git-send-email-hongbo.zhang@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Hongbo Zhang This patch set is based against latest community uboot tree in which my PSCIv1.0 support was merged. Currently doesn't apply our internal SDK uboot, when these get merged in community we can pull them back into SDK. We need community kernel to test this PSCI system suspend too, our internal SDK kernel is too old for PSCI. And more codes are needed to be added into kernel to do this test, such as a Flex timer as wake up device, and one peice of code to write IPPDEXPCR registers before SMC call. All patches have been tested on both LA1021ATWR and LS1021AQDS. Hongbo Zhang (4): armv7: psci: make v7_flush_dcache_all public for all psci code nxp: ls102xa: add registers definition for system sleep nxp: ls102xa: add EPU Finite State Machine nxp: ls102xa: add LS1 PSCI system suspend arch/arm/cpu/armv7/ls102xa/Makefile | 2 +- arch/arm/cpu/armv7/ls102xa/fsl_epu.c | 157 ++++++++++++++ arch/arm/cpu/armv7/ls102xa/fsl_epu.h | 8 + arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 236 ++++++++++++++++++++++ arch/arm/cpu/armv7/ls102xa/psci.S | 11 + arch/arm/cpu/armv7/psci.S | 6 +- arch/arm/include/asm/arch-ls102xa/config.h | 2 + arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 52 ++++- arch/arm/include/asm/psci.h | 2 + board/freescale/common/arm_sleep.c | 35 +++- include/configs/ls1021aqds.h | 8 + include/configs/ls1021atwr.h | 1 + 12 files changed, 514 insertions(+), 6 deletions(-) create mode 100644 arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c -- 2.1.4