arm: tegra: vcm3.0: t124: Add initial board files.
[linux-3.10.git] / arch / arm / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 asflags-y                               += -march=armv7-a
4 #subdir-ccflags-y := -Werror
5
6 obj-y                                   += board-pinmux.o
7 obj-y                                   += ahb.o
8 obj-y                                   += common.o
9 obj-y                                   += devices.o
10 obj-y                                   += board-info.o
11 obj-y                                   += io.o
12 obj-y                                   += irq.o
13 obj-y                                   += clock.o
14 obj-y                                   += timer.o
15 obj-$(CONFIG_HAVE_ARM_TWD)              += cpu_timer_twd.o
16 obj-$(CONFIG_ARM_ARCH_TIMER)            += cpu_timer_arch.o
17 obj-y                                   += timerinfo.o
18 ifneq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
19 ifneq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
20 obj-y                                   += mipi-cal.o
21 endif
22 endif
23 ifeq ($(CONFIG_CPU_FREQ),y)
24 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_cpu_volt_cap.o
25 endif
26 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
27 obj-y                                   += common-t2.o
28 obj-y                                   += pm-t2.o
29 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t20.o
30 obj-y                                   += timer-t2.o
31 obj-$(CONFIG_PM_SLEEP)                  += wakeups-t2.o
32 ifeq ($(CONFIG_CPU_IDLE),y)
33 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t2.o
34 endif
35 else
36 obj-y                                   += common-t3.o
37 obj-y                                   += pm-t3.o
38 obj-y                                   += sleep-t30.o
39 obj-$(CONFIG_DEBUG_FS)                  += clocks_stats.o
40 obj-y                                   += timer-t3.o
41 obj-y                                   += tegra_core_volt_cap.o
42 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
43 obj-$(CONFIG_PM_SLEEP)                  += wakeups-t3.o
44 endif
45 ifeq ($(CONFIG_ARCH_TEGRA_14x_SOC),y)
46 obj-$(CONFIG_PM_SLEEP)                  += wakeups-t14x.o
47 endif
48 ifeq ($(CONFIG_ARCH_TEGRA_11x_SOC),y)
49 obj-$(CONFIG_PM_SLEEP)                  += wakeups-t11x.o
50 endif
51 ifeq ($(CONFIG_ARCH_TEGRA_12x_SOC),y)
52 obj-$(CONFIG_PM_SLEEP)                  += wakeups-t12x.o
53 endif
54
55 ifeq ($(CONFIG_PM_SLEEP),y)
56 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += mc-timing-t12x.o
57 endif
58
59 ifeq ($(CONFIG_CPU_IDLE),y)
60 ifeq ($(CONFIG_PM_SLEEP),y)
61 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
62 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += cpuidle-t11x.o
63 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += cpuidle-t11x.o
64 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += cpuidle-t14x.o
65 endif
66 endif
67 endif
68
69 obj-y                                   += pinmux.o
70 obj-y                                   += delay.o
71 obj-y                                   += pm.o
72 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
73 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
74 obj-y                                   += gic.o
75
76 obj-y                                   += sleep.o
77 obj-$(CONFIG_TEGRA_USE_NCT)             += nct.o nct_sysfs.o
78
79 plus_sec := $(call as-instr,.arch_extension sec,+sec)
80 AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
81
82 obj-y                                   += tegra_fuse.o
83 obj-y                                   += kfuse.o
84 obj-y                                   += csi.o
85 obj-y                                   += xusb.o
86
87 obj-y                                   += powergate.o
88 obj-y                                   += powergate-ops-txx.o
89 obj-y                                   += powergate-ops-t1xx.o
90 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += powergate-t20.o
91 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += powergate-t30.o
92 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += powergate-t11x.o
93 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += powergate-t14x.o
94 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += powergate-t12x.o
95
96 obj-y                                   += apbio.o
97 obj-y                                   += mc.o
98 obj-$(CONFIG_FIQ)                       += fiq.o
99 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
100 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
101 obj-$(CONFIG_PM_GENERIC_DOMAINS)        += pm_domains.o
102 obj-y                                   += dvfs.o
103 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_dvfs.o
104 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_dvfs.o
105 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_dvfs.o
106 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra_emc_therm.o
107
108 obj-y                                   += latency_allowance.o
109 obj-y                                   += tegra3_la.o
110 obj-y                                   += tegra11x_la.o
111 obj-y                                   += tegra14x_la.o
112 obj-y                                   += tegra12x_la.o
113 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
114 obj-$(CONFIG_TEGRA_CORE_EDP_LIMITS)     += edp_core.o
115 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_edp.o
116 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_edp.o
117 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_edp.o
118 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_speedo.o
119 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_speedo.o
120 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_speedo.o
121 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
122 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra3_actmon.o
123 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra3_actmon.o
124 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra3_actmon.o
125 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_emc.o
126 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
127 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_emc.o
128 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_emc.o
129 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_emc.o
130 obj-y                                   += tegra_emc.o
131 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
132 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
133 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += pinmux-t11-tables.o
134 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += pinmux-t12-tables.o
135 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += pinmux-t14-tables.o
136 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra20_speedo.o
137 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra30_speedo.o
138 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
139 obj-y                                   += pmc.o
140 obj-y                                   += flowctrl.o
141 obj-$(CONFIG_CPU_IDLE)                  += cpuidle.o
142 obj-$(CONFIG_CPU_IDLE)                  += sleep.o
143 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_clocks.o
144 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_clocks.o
145 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_clocks.o
146 obj-$(CONFIG_SMP)                       += platsmp.o
147 obj-y                                   += reset.o
148 obj-y                                   += headsmp.o
149 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
150 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
151 ifeq ($(CONFIG_TEGRA_CPUQUIET),y)
152 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuquiet.o
153 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += cpuquiet.o
154 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += cpuquiet.o
155 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += cpuquiet.o
156 else
157 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
158 endif
159 endif
160 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
161 ifeq ($(CONFIG_TEGRA_SOCTHERM),y)
162 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_soctherm.o
163 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra11_soctherm.o
164 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra11_soctherm.o
165 endif
166 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
167 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
168 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra3_throttle.o
169 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra3_throttle.o
170 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra3_throttle.o
171 endif
172 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
173 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
174 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
175 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
176 obj-$(CONFIG_ARCH_TEGRA_HAS_CL_DVFS)    += tegra_cl_dvfs.o
177
178 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-dt-tegra20.o
179 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
180 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += board-dt-tegra148.o
181
182 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-harmony-pcie.o
183
184 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += board-paz00.o
185
186 obj-y                                   += board-common.o
187 obj-$(CONFIG_TEGRA_WAKEUP_MONITOR)      += tegra_wakeup_monitor.o
188
189 # MC error reporting.
190 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),)
191 obj-y                                   += mcerr.o
192 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += mcerr-t3.o
193 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += mcerr-t11.o
194 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += mcerr-t12.o
195 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += mcerr-t14.o
196 endif
197
198 obj-$(CONFIG_TEGRA_USE_SECURE_KERNEL)   += tegra_tzram.o
199
200 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire.o
201 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-panel.o
202 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-pinmux.o
203 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-power.o
204 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-sdhci.o
205 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-sensors.o
206
207 obj-${CONFIG_MACH_CURACAO}              += board-curacao.o
208 obj-${CONFIG_MACH_CURACAO}              += board-curacao-panel.o
209 obj-${CONFIG_MACH_CURACAO}              += board-curacao-pinmux.o
210 obj-${CONFIG_MACH_CURACAO}              += board-curacao-power.o
211 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sdhci.o
212 obj-${CONFIG_MACH_CURACAO}              += board-curacao-sensors.o
213 obj-${CONFIG_MACH_CURACAO}              += board-curacao-memory.o
214
215 obj-y                                   += board-touch-raydium_spi.o
216 obj-y                                   += board-touch-synaptics-spi.o
217
218 obj-y                                   += board-panel.o
219
220 obj-${CONFIG_MACH_DALMORE}              += board-dalmore.o
221 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-memory.o
222 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-pinmux.o
223 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-power.o
224 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-powermon.o
225 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-sdhci.o
226 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-panel.o
227 obj-${CONFIG_MACH_DALMORE}              += board-roth-panel.o
228 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-kbc.o
229 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-sensors.o
230 obj-${CONFIG_MACH_DALMORE}              += panel-a-1080p-11-6.o
231 obj-${CONFIG_MACH_DALMORE}              += panel-p-wuxga-10-1.o
232 obj-${CONFIG_MACH_DALMORE}              += panel-s-wqxga-10-1.o
233
234 obj-${CONFIG_MACH_PISMO}                += board-pismo.o
235 obj-${CONFIG_MACH_PISMO}                += board-pismo-memory.o
236 obj-${CONFIG_MACH_PISMO}                += board-pismo-pinmux.o
237 obj-${CONFIG_MACH_PISMO}                += board-pismo-power.o
238 obj-${CONFIG_MACH_PISMO}                += board-pismo-powermon.o
239 obj-${CONFIG_MACH_PISMO}                += board-pismo-sdhci.o
240 obj-${CONFIG_MACH_PISMO}                += board-pismo-panel.o
241 obj-${CONFIG_MACH_PISMO}                += board-pismo-sensors.o
242
243 obj-${CONFIG_MACH_MACALLAN}             += board-macallan.o
244 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-memory.o
245 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-pinmux.o
246 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-power.o
247 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-powermon.o
248 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-sdhci.o
249 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-panel.o
250 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-kbc.o
251 obj-${CONFIG_MACH_MACALLAN}             += board-macallan-sensors.o
252 obj-${CONFIG_MACH_MACALLAN}             += panel-p-wuxga-10-1.o
253
254
255 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto.o
256 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-memory.o
257 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-pinmux.o
258 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-power.o
259 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-sdhci.o
260 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-panel.o
261 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-kbc.o
262 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-sensors.o
263 obj-${CONFIG_MACH_TEGRA_PLUTO}          += board-pluto-powermon.o
264 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-l-720p-5.o
265 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-j-720p-4-7.o
266 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-s-1080p-5.o
267
268 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg.o
269 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-kbc.o
270 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-sdhci.o
271 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-sensors.o
272 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-panel.o
273 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-memory.o
274 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-pinmux.o
275 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-power.o
276 obj-${CONFIG_MACH_ARDBEG}               += board-tn8-power.o
277 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-powermon.o
278 obj-${CONFIG_MACH_ARDBEG}               += panel-a-1080p-11-6.o
279 obj-${CONFIG_MACH_ARDBEG}               += panel-p-wuxga-10-1.o
280 obj-${CONFIG_MACH_ARDBEG}               += panel-s-wqxga-10-1.o
281 obj-${CONFIG_MACH_ARDBEG}               += panel-a-edp-1080p-14-0.o
282 obj-${CONFIG_MACH_ARDBEG}               += panel-c-lvds-1366-14.o
283
284 obj-${CONFIG_MACH_LOKI}                 += board-loki.o
285 obj-${CONFIG_MACH_LOKI}                 += board-loki-kbc.o
286 obj-${CONFIG_MACH_LOKI}                 += board-loki-sensors.o
287 obj-${CONFIG_MACH_LOKI}                 += board-loki-panel.o
288 obj-${CONFIG_MACH_LOKI}                 += board-loki-pinmux.o
289 obj-${CONFIG_MACH_LOKI}                 += board-loki-power.o
290 obj-${CONFIG_MACH_LOKI}                 += board-tn8-power.o
291 obj-${CONFIG_MACH_LOKI}                 += board-loki-powermon.o
292 obj-${CONFIG_MACH_LOKI}                 += board-loki-sdhci.o
293 obj-${CONFIG_MACH_LOKI}                 += panel-a-1080p-11-6.o
294 obj-${CONFIG_MACH_LOKI}                 += panel-p-wuxga-10-1.o
295 obj-${CONFIG_MACH_LOKI}                 += panel-s-wqxga-10-1.o
296 obj-${CONFIG_MACH_LOKI}                 += panel-a-edp-1080p-14-0.o
297
298 obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg.o
299 obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-kbc.o
300 obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-sdhci.o
301 obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-sensors.o
302 obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-panel.o
303 obj-${CONFIG_MACH_LAGUNA}               += board-laguna-pinmux.o
304 obj-${CONFIG_MACH_LAGUNA}               += board-laguna-power.o
305 obj-${CONFIG_MACH_LAGUNA}               += board-laguna-powermon.o
306 obj-${CONFIG_MACH_LAGUNA}               += panel-a-1080p-11-6.o
307 obj-${CONFIG_MACH_LAGUNA}               += panel-p-wuxga-10-1.o
308 obj-${CONFIG_MACH_LAGUNA}               += panel-s-wqxga-10-1.o
309 obj-${CONFIG_MACH_LAGUNA}               += panel-a-1080p-14-0.o
310 obj-${CONFIG_MACH_LAGUNA}               += panel-a-edp-1080p-14-0.o
311
312 obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124.o
313 obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-sdhci.o
314 obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-pinmux.o
315 obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-power.o
316
317 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
318 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
319
320 obj-${CONFIG_TEGRA_BASEBAND}            += tegra_bb.o
321 obj-$(CONFIG_TEGRA_BBC_PROXY)           += tegra_bbc_proxy.o
322 obj-$(CONFIG_TEGRA_BBC_THERMAL)         += tegra_bbc_thermal.o
323
324 obj-${CONFIG_TEGRA_ISOMGR}              += isomgr.o
325
326 obj-${CONFIG_TEGRA_NVDUMPER}            += nvdumper.o
327
328 obj-${CONFIG_MACH_ROTH}                 += board-roth.o
329 obj-${CONFIG_MACH_ROTH}                 += board-roth-memory.o
330 obj-${CONFIG_MACH_ROTH}                 += board-roth-pinmux.o
331 obj-${CONFIG_MACH_ROTH}                 += board-roth-power.o
332 obj-${CONFIG_MACH_ROTH}                 += board-roth-powermon.o
333 obj-${CONFIG_MACH_ROTH}                 += board-roth-sdhci.o
334 obj-${CONFIG_MACH_ROTH}                 += board-roth-panel.o
335 obj-${CONFIG_MACH_ROTH}                 += board-roth-kbc.o
336 obj-${CONFIG_MACH_ROTH}                 += board-roth-sensors.o
337 obj-${CONFIG_MACH_ROTH}                 += board-roth-fan.o
338 obj-${CONFIG_MACH_ROTH}                 += board-roth-leds.o