summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/Kconfig
blob: 926379f3f99f40a64a05887d652f9e09d1435c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
if ARCH_MXC

source "arch/arm/plat-mxc/devices/Kconfig"

menu "Freescale MXC Implementations"

choice
	prompt "Freescale CPU family:"
	default ARCH_MX3

config ARCH_MX1
	bool "MX1-based"
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
	help
	  This enables support for systems based on the Freescale i.MX1 family

config ARCH_MX2
	bool "MX2-based"
	select CPU_ARM926T
	select IMX_HAVE_IOMUX_V1
	help
	  This enables support for systems based on the Freescale i.MX2 family

config ARCH_MX25
	bool "MX25-based"
	select CPU_ARM926T
	select ARCH_MXC_IOMUX_V3
	select HAVE_FB_IMX
	help
	  This enables support for systems based on the Freescale i.MX25 family

config ARCH_MX3
	bool "MX3-based"
	select CPU_V6
	help
	  This enables support for systems based on the Freescale i.MX31 and i.MX32

config ARCH_MX37
	bool "MX37-based"
	help
	  This enables support for systems based on Freescale i.MX37

config ARCH_MXC91231
	bool "MXC91231-based"
	select CPU_V6
	help
	  This enables support for systems based on the Freescale MXC91231 family

config ARCH_MX5
	bool "MX5-based"
	select CPU_V7
	help
	  This enables support for systems based on the Freescale i.MX51 family

endchoice

source "arch/arm/mach-mx1/Kconfig"
source "arch/arm/mach-mx2/Kconfig"
source "arch/arm/mach-mx3/Kconfig"
source "arch/arm/mach-mx25/Kconfig"
source "arch/arm/mach-mxc91231/Kconfig"
source "arch/arm/mach-mx5/Kconfig"

endmenu

config IRAM_ALLOC
	bool
	default y
	select GENERIC_ALLOCATOR

config MXC_DSP_BRINGUP
	bool
	depends on ARCH_MXC

config ARCH_HAS_EVTMON
	bool
	depends on ARCH_MXC

config MXC_EMMA
	bool
	depends on ARCH_MXC

config MXC_FB_IRAM
	bool
	depends on ARCH_MXC

config DMA_ZONE_SIZE
	int "DMA memory zone size"
	range 0 96
	default 24
	help
	  This is the size in MB for the DMA zone. The DMA zone is used for
	  dedicated memory for large contiguous video buffers

# set iff we need the 1504 transceiver code
config ISP1504_MXC
	bool
	default y

# set iff we need the UTMI transceiver code
config UTMI_MXC
	bool
	default y
	depends on ARCH_MX25 || ARCH_MX35 || ARCH_MX37 || ARCH_MX5

# set iff we need the 1301 transceiver code
config ISP1301_MXC
	bool
	select I2C_MXC

# set iff we need the mx13783 transceiver code
config MC13783_MXC
	bool
	select SPI_MXC

choice
	prompt "Select serial USB transceiver mode"
	depends on ISP1301_MXC || MC13783_MXC
	default MXC_USB_SU6

config MXC_USB_SU6
	bool "Single Ended Unidirectional Mode"
	help
	  If you say yes to this option, the serial tranceiver operates in SU6 mode.
	  This option will work for either the Freescale MC13783 or Philips ISP1301
	  transceiver.

config MXC_USB_SB3
	bool "Single Ended Bidirectional Mode"
	help
	  If you say yes to this option, the serial tranceiver operates in SB3 mode.
	  Not recommended for the Freescale MC13783.

config MXC_USB_DU6
	bool "Differential Unidirectional Mode"
	help
	  If you say yes to this option, the serial tranceiver operates in DU6 mode.

config MXC_USB_DB4
	bool "Differential Bidirectional Mode"
	help
	  If you say yes to this option, the serial tranceiver operates in DB4 mode.

endchoice

config MXC_IRQ_PRIOR
	bool "Use IRQ priority"
	help
	  Select this if you want to use prioritized IRQ handling.
	  This feature prevents higher priority ISR to be interrupted
	  by lower priority IRQ even IRQF_DISABLED flag is not set.
	  This may be useful in embedded applications, where are strong
	  requirements for timing.
	  Say N here, unless you have a specialized requirement.

config MXC_TZIC
	bool "Enable TrustZone Interrupt Controller"
	depends on ARCH_MX51
	help
	  This will be automatically selected for all processors
	  containing this interrupt controller.
	  Say N here only if you are really sure.

config MXC_PWM
	tristate "Enable PWM driver"
	select HAVE_PWM
	help
	  Enable support for the i.MX PWM controller(s).

config MXC_DEBUG_BOARD
	bool "Enable MXC debug board(for 3-stack)"
	help
	  The debug board is an integral part of the MXC 3-stack(PDK)
	  platforms, it can be attached or removed from the peripheral
	  board. On debug board, several debug devices(ethernet, UART,
	  buttons, LEDs and JTAG) are implemented. Between the MCU and
	  these devices, a CPLD is added as a bridge which performs
	  data/address de-multiplexing and decode, signal level shift,
	  interrupt control and various board functions.

config MXC_ULPI
	bool

config ARCH_HAS_RNGA
	bool

config ARCH_HAS_RNGC
	bool
	depends on ARCH_MXC

config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

config ARCH_MXC_AUDMUX_V1
	bool

config ARCH_MXC_AUDMUX_V2
	bool

config MXC_DVFS_PER
	bool "Enable DVFS Peripheral"
	depends on ARCH_MX37 || ARCH_MX5
	help
	   Select this if you want to enable HW supported peripheral frequency scaling.

config MXC_ZQ_CALIBRATION
	bool "Enable mDDR/LPDDR2/DDR2 ZQ calibration"
	depends on ARCH_MX50
	help
	   Select this if you're sure it's needed.

endif