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