ARM: imx: dynamically register spi_imx devices (imx27)
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-imx / Kconfig
1 config IMX_HAVE_DMA_V1
2         bool
3
4 if ARCH_MX1
5
6 config SOC_IMX1
7         select CPU_ARM920T
8         select IMX_HAVE_DMA_V1
9         select IMX_HAVE_IOMUX_V1
10         bool
11
12 comment "MX1 platforms:"
13 config MACH_MXLADS
14         bool
15
16 config ARCH_MX1ADS
17         bool "MX1ADS platform"
18         select MACH_MXLADS
19         select IMX_HAVE_PLATFORM_IMX_I2C
20         help
21           Say Y here if you are using Motorola MX1ADS/MXLADS boards
22
23 config MACH_SCB9328
24         bool "Synertronixx scb9328"
25         help
26           Say Y here if you are using a Synertronixx scb9328 board
27
28 endif
29
30 if ARCH_MX2
31
32 config SOC_IMX21
33         select CPU_ARM926T
34         select ARCH_MXC_AUDMUX_V1
35         select IMX_HAVE_DMA_V1
36         select IMX_HAVE_IOMUX_V1
37         bool
38
39 config SOC_IMX27
40         select CPU_ARM926T
41         select ARCH_MXC_AUDMUX_V1
42         select IMX_HAVE_DMA_V1
43         select IMX_HAVE_IOMUX_V1
44         bool
45
46 choice
47         prompt "CPUs:"
48         default MACH_MX21
49
50 config MACH_MX21
51         bool "i.MX21 support"
52         select SOC_IMX21
53         help
54           This enables support for Freescale's MX2 based i.MX21 processor.
55
56 config MACH_MX27
57         bool "i.MX27 support"
58         select SOC_IMX27
59         help
60           This enables support for Freescale's MX2 based i.MX27 processor.
61
62 endchoice
63
64 endif
65
66 if MACH_MX21
67
68 comment "MX21 platforms:"
69
70 config MACH_MX21ADS
71         bool "MX21ADS platform"
72         select IMX_HAVE_PLATFORM_MXC_NAND
73         help
74           Include support for MX21ADS platform. This includes specific
75           configurations for the board and its peripherals.
76
77 endif
78
79 if MACH_MX27
80
81 comment "MX27 platforms:"
82
83 config MACH_MX27ADS
84         bool "MX27ADS platform"
85         select IMX_HAVE_PLATFORM_IMX_I2C
86         select IMX_HAVE_PLATFORM_MXC_NAND
87         help
88           Include support for MX27ADS platform. This includes specific
89           configurations for the board and its peripherals.
90
91 config MACH_PCM038
92         bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
93         select IMX_HAVE_PLATFORM_IMX_I2C
94         select IMX_HAVE_PLATFORM_MXC_NAND
95         select IMX_HAVE_PLATFORM_SPI_IMX
96         select MXC_ULPI if USB_ULPI
97         help
98           Include support for phyCORE-i.MX27 (aka pcm038) platform. This
99           includes specific configurations for the module and its peripherals.
100
101 choice
102         prompt "Baseboard"
103         depends on MACH_PCM038
104         default MACH_PCM970_BASEBOARD
105
106 config MACH_PCM970_BASEBOARD
107         prompt "PHYTEC PCM970 development board"
108         bool
109         help
110           This adds board specific devices that can be found on Phytec's
111           PCM970 evaluation board.
112
113 endchoice
114
115 config MACH_CPUIMX27
116         bool "Eukrea CPUIMX27 module"
117         select IMX_HAVE_PLATFORM_IMX_I2C
118         select IMX_HAVE_PLATFORM_MXC_NAND
119         help
120           Include support for Eukrea CPUIMX27 platform. This includes
121           specific configurations for the module and its peripherals.
122
123 config MACH_EUKREA_CPUIMX27_USESDHC2
124         bool "CPUIMX27 integrates SDHC2 module"
125         depends on MACH_CPUIMX27
126         help
127           This adds support for the internal SDHC2 used on CPUIMX27 used
128           for wifi or eMMC.
129
130 choice
131         prompt "Baseboard"
132         depends on MACH_CPUIMX27
133         default MACH_EUKREA_MBIMX27_BASEBOARD
134
135 config MACH_EUKREA_MBIMX27_BASEBOARD
136         prompt "Eukrea MBIMX27 development board"
137         bool
138         select IMX_HAVE_PLATFORM_SPI_IMX
139         help
140           This adds board specific devices that can be found on Eukrea's
141           MBIMX27 evaluation board.
142
143 endchoice
144
145 config MACH_MX27_3DS
146         bool "MX27PDK platform"
147         help
148           Include support for MX27PDK platform. This includes specific
149           configurations for the board and its peripherals.
150
151 config MACH_IMX27LITE
152         bool "LogicPD MX27 LITEKIT platform"
153         help
154           Include support for MX27 LITEKIT platform. This includes specific
155           configurations for the board and its peripherals.
156
157 config MACH_PCA100
158         bool "Phytec phyCARD-s (pca100)"
159         select IMX_HAVE_PLATFORM_IMX_I2C
160         select IMX_HAVE_PLATFORM_MXC_NAND
161         select IMX_HAVE_PLATFORM_SPI_IMX
162         select MXC_ULPI if USB_ULPI
163         help
164           Include support for phyCARD-s (aka pca100) platform. This
165           includes specific configurations for the module and its peripherals.
166
167 config MACH_MXT_TD60
168         bool "Maxtrack i-MXT TD60"
169         select IMX_HAVE_PLATFORM_IMX_I2C
170         select IMX_HAVE_PLATFORM_MXC_NAND
171         help
172           Include support for i-MXT (aka td60) platform. This
173           includes specific configurations for the module and its peripherals.
174
175 endif