Convert CONFIG_IODELAY_RECALIBRATION to Kconfig
[platform/kernel/u-boot.git] / arch / arm / mach-omap2 / omap5 / Kconfig
1 if OMAP54XX
2
3 config IODELAY_RECALIBRATION
4         bool
5
6 config DRA7XX
7         bool
8         select IODELAY_RECALIBRATION
9         select SYS_OMAP_ABE_SYSCK
10         help
11           DRA7xx is an OMAP based SOC with Dual Core A-15s.
12
13 choice
14         prompt "OMAP5 board select"
15         optional
16
17 config TARGET_CM_T54
18         bool "CompuLab CM-T54"
19
20 config TARGET_OMAP5_UEVM
21         bool "TI OMAP5 uEVM board"
22
23 config TARGET_DRA7XX_EVM
24         bool "TI DRA7XX"
25         select BOARD_LATE_INIT
26         select DRA7XX
27         select PHYS_64BIT
28         select TI_I2C_BOARD_DETECT
29         imply DM_PMIC
30         imply DM_REGULATOR
31         imply DM_REGULATOR_LP87565
32         imply DM_THERMAL
33         imply PMIC_LP87565
34         imply SCSI
35         imply SPL_THERMAL
36         imply TI_DRA7_THERMAL
37
38 config TARGET_AM57XX_EVM
39         bool "AM57XX"
40         select BOARD_LATE_INIT
41         select CMD_DDR3
42         select DRA7XX
43         select TI_I2C_BOARD_DETECT
44         select SUPPORT_EXTENSION_SCAN
45         imply DM_THERMAL
46         imply SCSI
47         imply SPL_THERMAL
48         imply TI_DRA7_THERMAL
49
50 endchoice
51
52 config SYS_SOC
53         default "omap5"
54
55 config OMAP_PLATFORM_RESET_TIME_MAX_USEC
56         int "Something"
57         range 0  31219
58         default 31219
59         help
60           Most OMAPs' provide a way to specify the time for which the reset
61           should be held low while the voltages and Oscillator outputs
62           stabilize.
63           This time is mostly board and PMIC dependent. Hence the boards are
64           expected to specify a pre-computed time using the above option.
65           This value can be computed using a summation of the below 3
66           parameters
67           1: Time taken by the Osciallator to stop and restart
68           2: PMIC OTP time
69           3: Voltage ramp time, which can be derived using the PMIC slew rate
70              and value of voltage ramp needed.
71
72 if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
73 menu "Voltage Domain OPP selections"
74
75 choice
76         prompt "MPU Voltage Domain"
77         default DRA7_MPU_OPP_NOM
78         help
79           Select the Operating Performance Point(OPP) for the MPU voltage
80           domain on DRA7xx & AM57xx SoCs.
81
82 config DRA7_MPU_OPP_NOM
83         bool "OPP NOM"
84         help
85           This config option enables Normal OPP for MPU. This is the safest
86           option for booting.
87
88 endchoice
89
90 choice
91         prompt "DSPEVE Voltage Domain"
92         help
93           Select the Operating Performance Point(OPP) for the DSPEVE voltage
94           domain on DRA7xx & AM57xx SoCs.
95
96 config DRA7_DSPEVE_OPP_NOM
97         bool "OPP NOM"
98         help
99           This config option enables Normal OPP for DSPEVE. This is the safest
100           option for booting and choose this when unsure about other OPPs .
101
102 config DRA7_DSPEVE_OPP_OD
103         bool "OPP OD"
104         help
105           This config option enables Over drive OPP for DSPEVE.
106
107 config DRA7_DSPEVE_OPP_HIGH
108         bool "OPP HIGH"
109         help
110           This config option enables High OPP for DSPEVE.
111
112 endchoice
113
114 choice
115         prompt "IVA Voltage Domain"
116         help
117           Select the Operating Performance Point(OPP) for the IVA voltage
118           domain on DRA7xx & AM57xx SoCs.
119
120 config DRA7_IVA_OPP_NOM
121         bool "OPP NOM"
122         help
123           This config option enables Normal OPP for IVA. This is the safest
124           option for booting and choose this when unsure about other OPPs .
125
126 config DRA7_IVA_OPP_OD
127         bool "OPP OD"
128         help
129           This config option enables Over drive OPP for IVA.
130
131 config DRA7_IVA_OPP_HIGH
132         bool "OPP HIGH"
133         help
134           This config option enables High OPP for IVA.
135
136 endchoice
137
138 choice
139         prompt "GPU Voltage Domain"
140         help
141           Select the Operating Performance Point(OPP) for the GPU voltage
142           domain on DRA7xx & AM57xx SoCs.
143
144 config DRA7_GPU_OPP_NOM
145         bool "OPP NOM"
146         help
147           This config option enables Normal OPP for GPU. This is the safest
148           option for booting and choose this when unsure about other OPPs .
149
150 config DRA7_GPU_OPP_OD
151         bool "OPP OD"
152         help
153           This config option enables Over drive OPP for GPU.
154
155 config DRA7_GPU_OPP_HIGH
156         bool "OPP HIGH"
157         help
158           This config option enables High OPP for GPU.
159
160 endchoice
161
162 endmenu
163 endif
164
165 source "board/ti/omap5_uevm/Kconfig"
166 source "board/ti/dra7xx/Kconfig"
167 source "board/ti/am57xx/Kconfig"
168
169 endif