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

menu "Freescale MXC Implementations"

choice
	prompt "MXC/iMX Base Type"
	default ARCH_MX3

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

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

config ARCH_MX51
    bool "MX51-based"
    help
      This enables support for systems based on Freescale i.MX51

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

config ARCH_MX27
	bool "MX27-based"
	help
	  This enables support for systems based on the Freescale i.MX27

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

endchoice

source "arch/arm/mach-mx27/Kconfig"

source "arch/arm/mach-mx25/Kconfig"

source "arch/arm/mach-mx3/Kconfig"

source "arch/arm/mach-mx35/Kconfig"

source "arch/arm/mach-mx37/Kconfig"

source "arch/arm/mach-mx51/Kconfig"

endmenu

config MXC_TZIC
	bool
	depends on ARCH_MXC

config ARCH_HAS_RNGA
	bool
	depends on ARCH_MXC

config ARCH_HAS_RNGC
	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 64
	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
	select ISP1504_MXC_OTG if USB_GADGET && USB_EHCI_HCD && USB_OTG
	default y if USB_EHCI_FSL_1504 || USB_GADGET_FSL_1504

config ISP1504_MXC_OTG
	tristate
	help
	  Support for USB OTG pin detect using the ISP1504 transceiver on MXC platforms.

# set iff we need the UTMI transceiver code
config UTMI_MXC
	bool
	select UTMI_MXC_OTG if ARCH_MX25 && USB_GADGET && USB_EHCI_HCD && USB_OTG
	default y if USB_EHCI_FSL_UTMI || USB_GADGET_FSL_UTMI
	depends on ARCH_MX25 || ARCH_MX35 || ARCH_MX37 || ARCH_MX51

config UTMI_MXC_OTG
	tristate
	help
	  Support for USB OTG pin detect using the UTMI transceiver on MXC platforms.

# set iff we need the 1301 transceiver code
config ISP1301_MXC
	bool
	default y if USB_EHCI_FSL_1301 || USB_GADGET_FSL_1301
	select I2C_MXC

# set iff we need the mx13783 transceiver code
config MC13783_MXC
	bool
	default y if USB_EHCI_FSL_MC13783 || USB_GADGET_FSL_MC13783
	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_PWM
	tristate "Enable PWM driver"
	depends on ARCH_MXC
	select HAVE_PWM
	help
	  Enable support for the i.MX PWM controller(s).

endif