aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bus/Kconfig
diff options
context:
space:
mode:
authorSuzuki K. Poulose <suzuki.poulose@arm.com>2015-03-18 08:24:41 -0400
committerWill Deacon <will.deacon@arm.com>2015-03-27 09:44:43 -0400
commitee8e5d5fbec0e880b18bbdbfe12de53ab1dec21f (patch)
treebfcbad4817089a5b7b2f2d35b61a3b612ce3758e /drivers/bus/Kconfig
parent772742a6c7ea4612fe043353531e6435ed33e719 (diff)
arm-cci: Split the code for PMU vs driver support
This patch separates the PMU driver code from the low level CCI driver code and enables the PMU driver for ARM64. Introduces config options for both. ARM_CCI400_PORT_CTRL - controls the low level driver code for CCI400 ports. ARM_CCI400_PMU - controls the PMU driver code ARM_CCI400_COMMON - Common defintions for CCI400 This patch also changes: ARM_CCI - common code for probing the CCI devices. This can be used for adding support for newer CCI versions(e.g, CCI-500). Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Cc: Kukjin Kim <kgene@kernel.org> Cc: Abhilash Kesavan <a.kesavan@samsung.com> Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Nicolas Pitre <nicolas.pitre@linaro.org> Cc: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Punit Agrawal <punit.agrawal@arm.com> Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/bus/Kconfig')
-rw-r--r--drivers/bus/Kconfig28
1 files changed, 24 insertions, 4 deletions
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index b99729e36860..79e297b1f221 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -43,12 +43,32 @@ config OMAP_INTERCONNECT
43 help 43 help
44 Driver to enable OMAP interconnect error handling driver. 44 Driver to enable OMAP interconnect error handling driver.
45 45
46config ARM_CCI 46config ARM_CCI400_PORT_CTRL
47 bool "ARM CCI driver support" 47 bool
48 depends on ARM && OF && CPU_V7 48 depends on ARM && OF && CPU_V7
49 select ARM_CCI400_COMMON
50 help
51 Low level power management driver for CCI400 cache coherent
52 interconnect for ARM platforms.
53
54config ARM_CCI400_PMU
55 bool "ARM CCI400 PMU support"
56 default y
57 depends on ARM || ARM64
58 depends on HW_PERF_EVENTS
59 select ARM_CCI400_COMMON
49 help 60 help
50 Driver supporting the CCI cache coherent interconnect for ARM 61 Support for PMU events monitoring on the ARM CCI cache coherent
51 platforms. 62 interconnect.
63
64 If unsure, say Y
65
66config ARM_CCI400_COMMON
67 bool
68 select ARM_CCI
69
70config ARM_CCI
71 bool
52 72
53config ARM_CCN 73config ARM_CCN
54 bool "ARM CCN driver support" 74 bool "ARM CCN driver support"