Merge tag 'cleanup-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[cascardo/linux.git] / arch / arm / mach-vexpress / Kconfig
1 menuconfig ARCH_VEXPRESS
2         bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7
3         select ARCH_REQUIRE_GPIOLIB
4         select ARCH_SUPPORTS_BIG_ENDIAN
5         select ARM_AMBA
6         select ARM_GIC
7         select ARM_GLOBAL_TIMER
8         select ARM_TIMER_SP804
9         select COMMON_CLK_VERSATILE
10         select HAVE_ARM_SCU if SMP
11         select HAVE_ARM_TWD if SMP
12         select HAVE_PATA_PLATFORM
13         select ICST
14         select NO_IOPORT_MAP
15         select PLAT_VERSATILE
16         select POWER_RESET
17         select POWER_RESET_VEXPRESS
18         select POWER_SUPPLY
19         select REGULATOR_FIXED_VOLTAGE if REGULATOR
20         select VEXPRESS_CONFIG
21         select VEXPRESS_SYSCFG
22         select MFD_VEXPRESS_SYSREG
23         help
24           This option enables support for systems using Cortex processor based
25           ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
26           for example:
27
28           - CoreTile Express A5x2 (V2P-CA5s)
29           - CoreTile Express A9x4 (V2P-CA9)
30           - CoreTile Express A15x2 (V2P-CA15)
31           - LogicTile Express 13MG (V2F-2XV6) with A5, A7, A9 or A15 SMMs
32             (Soft Macrocell Models)
33           - Versatile Express RTSMs (Models)
34
35           You must boot using a Flattened Device Tree in order to use these
36           platforms. The traditional (ATAGs) boot method is not usable on
37           these boards with this option.
38
39 if ARCH_VEXPRESS
40
41 config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA
42         bool "Enable A5 and A9 only errata work-arounds"
43         default y
44         select ARM_ERRATA_720789
45         select PL310_ERRATA_753970 if CACHE_L2X0
46         help
47           Provides common dependencies for Versatile Express platforms
48           based on Cortex-A5 and Cortex-A9 processors. In order to
49           build a working kernel, you must also enable relevant core
50           tile support or Flattened Device Tree based support options.
51
52 config ARCH_VEXPRESS_CA9X4
53         bool "Versatile Express Cortex-A9x4 tile"
54
55 config ARCH_VEXPRESS_DCSCB
56         bool "Dual Cluster System Control Block (DCSCB) support"
57         depends on MCPM
58         select ARM_CCI
59         help
60           Support for the Dual Cluster System Configuration Block (DCSCB).
61           This is needed to provide CPU and cluster power management
62           on RTSM implementing big.LITTLE.
63
64 config ARCH_VEXPRESS_SPC
65         bool "Versatile Express Serial Power Controller (SPC)"
66         select PM_OPP
67         help
68           The TC2 (A15x2 A7x3) versatile express core tile integrates a logic
69           block called Serial Power Controller (SPC) that provides the interface
70           between the dual cluster test-chip and the M3 microcontroller that
71           carries out power management.
72
73 config ARCH_VEXPRESS_TC2_PM
74         bool "Versatile Express TC2 power management"
75         depends on MCPM
76         select ARM_CCI
77         select ARCH_VEXPRESS_SPC
78         help
79           Support for CPU and cluster power management on Versatile Express
80           with a TC2 (A15x2 A7x3) big.LITTLE core tile.
81
82 endif