summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/Kconfig
blob: 8b516870c0d20c91090830a2d33ac247179d9ca3 (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
if ARCH_MXC

menu "Freescale MXC Implementations"

choice
	prompt "Freescale CPU family:"
	default ARCH_MX3

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

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

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

config ARCH_MX25
	bool "MX25-based"
	select MX25_OPTIONS
	help
	  This enables support for systems based on the Freescale i.MX25

config ARCH_MX35
	bool "MX35-based"
	help
	  This enables support for systems based on Freescale i.MX35

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

config ARCH_MX5
	bool "MX5-based"
	help
	  This enables support for systems based on Freescale i.MX5x SoCs.

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-mx35/Kconfig"
source "arch/arm/mach-mx37/Kconfig"
source "arch/arm/mach-mx5/Kconfig"

endmenu

config IRAM_ALLOC
	bool
	default y
	select GENERIC_ALLOCATOR

config MXC_TZIC
	bool
	depends on ARCH_MXC

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"
	depends on ARCH_MXC
	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_PWM
	tristate "Enable PWM driver"
	depends on ARCH_MXC
	select HAVE_PWM
	help
	  Enable support for the i.MX PWM controller(s).

config ARCH_HAS_RNGA
	bool
	depends on ARCH_MXC

config ARCH_HAS_RNGC
	bool
	depends on ARCH_MXC

config ARCH_MXC_IOMUX_V3
	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.
endif