pinctrl/nomadik: basic Nomadik pinctrl interface
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-ux500 / Kconfig
1 if ARCH_U8500
2
3 config UX500_SOC_COMMON
4         bool
5         default y
6         select ARM_GIC
7         select HAS_MTU
8         select PL310_ERRATA_753970
9         select ARM_ERRATA_754322
10         select ARM_ERRATA_764369
11         select CACHE_L2X0
12         select PINCTRL
13         select PINCTRL_NOMADIK
14
15 config UX500_SOC_DB5500
16         bool
17         select MFD_DB5500_PRCMU
18
19 config UX500_SOC_DB8500
20         bool
21         select MFD_DB8500_PRCMU
22         select REGULATOR
23         select REGULATOR_DB8500_PRCMU
24         select CPU_FREQ_TABLE if CPU_FREQ
25         select PINCTRL_DB8500
26
27 menu "Ux500 target platform (boards)"
28
29 config MACH_MOP500
30         bool "U8500 Development platform, MOP500 versions"
31         select UX500_SOC_DB8500
32         select I2C
33         select I2C_NOMADIK
34         select SOC_BUS
35         help
36           Include support for the MOP500 development platform.
37
38 config MACH_HREFV60
39         bool "U8500 Development platform, HREFv60 version"
40         select MACH_MOP500
41         help
42           Include support for the HREFv60 new development platform.
43           Includes HREFv70, v71 etc.
44
45 config MACH_SNOWBALL
46         bool "U8500 Snowball platform"
47         select MACH_MOP500
48         help
49           Include support for the snowball development platform.
50
51 config MACH_U5500
52         bool "U5500 Development platform"
53         select UX500_SOC_DB5500
54         help
55           Include support for the U5500 development platform.
56
57 config UX500_AUTO_PLATFORM
58         def_bool y
59         depends on !MACH_U5500
60         select MACH_MOP500
61         help
62           At least one platform needs to be selected in order to build
63           a working kernel. If everything else is disabled, this
64           automatically enables MACH_MOP500.
65
66 config MACH_UX500_DT
67         bool "Generic U8500 support using device tree"
68         depends on MACH_MOP500
69         select USE_OF
70
71 endmenu
72
73 config UX500_DEBUG_UART
74         int "Ux500 UART to use for low-level debug"
75         default 2
76         help
77           Choose the UART on which kernel low-level debug messages should be
78           output.
79
80 config U5500_MODEM_IRQ
81         bool "Modem IRQ support"
82         depends on UX500_SOC_DB5500
83         default y
84         help
85           Add support for handling IRQ:s from modem side
86
87 config U5500_MBOX
88         bool "Mailbox support"
89         depends on U5500_MODEM_IRQ
90         default y
91         help
92           Add support for U5500 mailbox communication with modem side
93
94 endif