summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-12-04 12:22:20 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:23:05 +0800
commit2b79fa63b21ab53f394b8acddd308d8090ac6949 (patch)
tree7f65484d3fbb64b1be3499673b1564a2244485cc /arch/arm/mach-imx/Kconfig
parentd208a308feb17ae40e982ce2124ae5cfe26bec49 (diff)
MLK-11488-9 arm: imx: add A9-M4 clk shared management
As A9 and M4 share many resources on i.MX6SX, especially for clk and power related resource, so we need to handle the hardware conflict between these two cores, there are two cases that we need to consider currently: clk management: for every clk node, only when both A9 and M4 do NOT need it, then we can disable it from hardware; Here we use MU and hardware SEMA4 to achieve our goal, MU is for communiation between A9 and M4, SEMA4 is to protect the shared memory. For clk management, we use shared memory to maintain the clk status for both A9 and M4 side, and this shared memory is protected by hardware SEMA4, A9 and M4 will maintain their own clk tree info in their SW environment, and get other CORE's clk tree info from shared memory to decide whether to perform a hardware setting change when they plan to. Signed-off-by: Anson Huang <b20788@freescale.com> Also made SOC_IMX6SX select IMX_SEMA4 as part of this commit to fix build failures. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 673a1c4620f0..592688f713c8 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -529,6 +529,7 @@ config SOC_IMX6SX
select SOC_IMX6
select HAVE_IMX_RPMSG
select RPMSG
+ select IMX_SEMA4
help
This enables support for Freescale i.MX6 SoloX processor.