OSDN Git Service

ARM: imx: add initial support for imx7ulp
authorA.s. Dong <aisheng.dong@nxp.com>
Sat, 10 Nov 2018 15:13:04 +0000 (15:13 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Dec 2018 00:56:30 +0000 (08:56 +0800)
commitde70d0e9d43dd5fa899ce3a1560a4d2536b6b71e
tree66e4aa2cd3ecc2a6f195eb383900f94639e1b0bb
parent7c41ea57beb2aee96fa63091a457b1a2826f3c42
ARM: imx: add initial support for imx7ulp

The i.MX 7ULP family of processors features NXP's advanced implementation
of the Arm Cortex-A7 core, the Arm Cortex-M4 core, as well as a 3D and 2D
Graphics Processing Units (GPUs).

This patch aims to add an initial support for imx7ulp. Note that we need
configure power mode to Partial Stop mode 3 with system/bus clock enabled
first as the default enabled STOP mode will gate off system/bus clock when
execute WFI in MX7ULP SoC.

And there's still no MXC_CPU_IMX7ULP IDs read from register as ULP has no
anatop as before. So we encode one with 0xff in reverse order in case new
ones will be in the future.

Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/common.h
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/mach-imx7ulp.c [new file with mode: 0644]
arch/arm/mach-imx/mxc.h
arch/arm/mach-imx/pm-imx7ulp.c [new file with mode: 0644]