From 9823c7f5861b4101aaf068ebdb062ed4c6899bb6 Mon Sep 17 00:00:00 2001 From: Lorenzo Pieralisi Date: Fri, 13 Jul 2012 15:30:06 +0100 Subject: drivers: vexpress: add drivers infrastructure This patch provides the new kernel infrastructure needed by versatile express boards. Drivers are moved to drivers/misc/vexpress directory, where Kconfig and Makefile are created. A coalesced include file is created to cater for all versatile express required function declarations. --- drivers/misc/vexpress/Kconfig | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vexpress/Kconfig (limited to 'drivers/misc/vexpress/Kconfig') diff --git a/drivers/misc/vexpress/Kconfig b/drivers/misc/vexpress/Kconfig new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.1 From 7fb3e6503a5a7f79c703db69d928d502ce28bd5b Mon Sep 17 00:00:00 2001 From: Lorenzo Pieralisi Date: Fri, 13 Jul 2012 15:45:58 +0100 Subject: drivers: misc: vexpress: add SPC support The TC2 core tile integrates a logic block that provides the interface between the dual cluster test-chip and the M3 microcontroller that carries out power management. The logic block, called SPC, contains several memory mapped registers to control among other things low-power states, operating points and reset control. This patch provides a driver that enables run-time control of features implemented by the SPC control logic. Signed-off-by: Achin Gupta Signed-off-by: Lorenzo Pieralisi Signed-off-by: Sudeep KarkadaNagesha --- drivers/misc/vexpress/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/misc/vexpress/Kconfig') diff --git a/drivers/misc/vexpress/Kconfig b/drivers/misc/vexpress/Kconfig index e69de29bb2d..8fb52f640bf 100644 --- a/drivers/misc/vexpress/Kconfig +++ b/drivers/misc/vexpress/Kconfig @@ -0,0 +1,2 @@ +config ARM_SPC + bool "ARM SPC driver support" -- cgit v1.2.1 From 9ed7d1a299474c62124c5478f70f86c525914cf1 Mon Sep 17 00:00:00 2001 From: Dave Martin Date: Mon, 19 Nov 2012 12:01:20 +0000 Subject: ARM: TC2: ensure powerdown-time data is flushed from cache Non-local variables used by the CCI and SPC management functions called by tc2_pm_power_down() after disabling the cache must be flushed out to main memory in advance, otherwise incoherency of those values may occur if they are sitting in the cache of some other CPU when tc2_pm_power_down() executes. This patch adds the appropriate flushing to the CCI and SPC drivers to ensure that the relevant data is available in RAM ahead of time. Because this creates a dependency on arch-specific cacheflushing functions, this patch also makes ARM_CCI and ARM_SPC depend on ARM (pending a proper tidyup of those drivers). Signed-off-by: Dave Martin --- drivers/misc/vexpress/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/misc/vexpress/Kconfig') diff --git a/drivers/misc/vexpress/Kconfig b/drivers/misc/vexpress/Kconfig index 8fb52f640bf..3e2676ae6ee 100644 --- a/drivers/misc/vexpress/Kconfig +++ b/drivers/misc/vexpress/Kconfig @@ -1,2 +1,3 @@ config ARM_SPC bool "ARM SPC driver support" + depends on ARM -- cgit v1.2.1