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

menu "Freescale MXC Implementations"

choice
	prompt "MXC/iMX System Type"
	default ARCH_MX3

config ARCH_MX3
	bool "MX31-based"
	select CPU_V6
	select CACHE_L2X0
	select USB_ARCH_HAS_EHCI
	select ARCH_HAS_EVTMON
	help
	  This enables support for systems based on Freescale i.MX31

config ARCH_MX27
	bool "MX27-based"
	select CPU_ARM926T
	select MXC_EMMA
	select USB_ARCH_HAS_EHCI
	help
	  This enables support for systems based on Freescale i.MX27

endchoice

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

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

endmenu

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 ISP1504_MXC
	bool
	select ISP1504_MXC_OTG if USB_GADGET && USB_EHCI_HCD && USB_OTG
	default y if USB_EHCI_FSL_1504 || USB_EHCI_ARC_H2 || USB_GADGET_FSL_1504

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

config ISP1301_MXC
	bool
	default y if USB_EHCI_FSL_1301 || USB_GADGET_FSL_1301
	select I2C_MXC

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

endif