a2d9a6c5d8cf40b9ea8c3b889ccf797b104b160e
[linux-2.6.git] / arch / arm / mach-tegra / Makefile
1 obj-y                                   += board-pinmux.o
2 obj-y                                   += ahb.o
3 obj-y                                   += apbio.o
4 obj-y                                   += common.o
5 obj-y                                   += board-info.o
6 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += common-t2.o
7 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += common-t3.o
8 obj-y                                   += io.o
9 obj-y                                   += irq.o
10 obj-$(CONFIG_TEGRA_GRHOST)              += syncpt.o
11 obj-y                                   += clock.o
12 obj-y                                   += timer.o
13 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
14 obj-y                                   += tegra2_clocks.o
15 obj-y                                   += timer-t2.o
16 else
17 obj-y                                   += tegra3_clocks.o
18 obj-y                                   += timer-t3.o
19 endif
20 obj-y                                   += pinmux.o
21 obj-y                                   += delay.o
22 obj-y                                   += pm.o
23 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
24 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
25 obj-y                                   += gic.o
26 obj-y                                   += sleep.o
27 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t2.o
28 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += sleep-t3.o
29 obj-y                                   += fuse.o
30 obj-y                                   += kfuse.o
31 obj-y                                   += csi.o
32 obj-$(CONFIG_TEGRA_SILICON_PLATFORM)    += tegra_odm_fuses.o
33 obj-y                                   += i2c_error_recovery.o
34 obj-$(CONFIG_TEGRA_LEGACY_AUDIO)        += tegra_i2s_audio.o
35 obj-$(CONFIG_TEGRA_LEGACY_AUDIO)        += tegra_spdif_audio.o
36 obj-y                                   += mc.o
37 obj-$(CONFIG_TEGRA_STAT_MON)            += tegra2_statmon.o
38 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
39 obj-$(CONFIG_FIQ)                       += fiq.o
40 obj-$(CONFIG_TEGRA_PWM)                 += pwm.o
41 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
42 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += powergate.o
43 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
44 obj-y                                   += dvfs.o
45 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_dvfs.o
46 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_dvfs.o
47 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += latency_allowance.o
48 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
49 endif
50 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
51 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_speedo.o
52 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_speedo.o
53 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
54 endif
55 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_emc.o
56 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
57 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += wakeups-t2.o
58 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += wakeups-t3.o
59 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pm-t2.o
60 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pm-t3.o
61 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
62 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
63 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += board-dt-tegra30.o
64 obj-$(CONFIG_LOCAL_TIMERS)              += localtimer.o
65 obj-$(CONFIG_SMP)                       += platsmp.o
66 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
67 obj-y                                   += headsmp.o
68 obj-y                                   += reset.o
69 obj-$(CONFIG_TEGRA_SYSTEM_DMA)          += dma.o
70 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
71 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
72 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
73 endif
74 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
75 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
76 ifeq ($(CONFIG_CPU_IDLE),y)
77 obj-y                                   += cpuidle.o
78 ifeq ($(CONFIG_PM_SLEEP),y)
79 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += cpuidle-t2.o
80 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
81 endif
82 endif
83 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
84 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_throttle.o
85 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
86 endif
87 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_thermal.o
88 obj-$(CONFIG_TEGRA_IOVMM)               += iovmm.o
89 obj-$(CONFIG_TEGRA_IOVMM_GART)          += iovmm-gart.o
90 obj-$(CONFIG_TEGRA_IOVMM_SMMU)          += iovmm-smmu.o
91 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
92 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
93 ifeq ($(CONFIG_TEGRA_MC_PROFILE),y)
94 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_mc.o
95 endif
96 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
97 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
98 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
99
100 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
101 obj-$(CONFIG_MACH_HARMONY)              += board-harmony.o
102 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-kbc.o
103 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-panel.o
104 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-pinmux.o
105 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-pcie.o
106 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-power.o
107 obj-$(CONFIG_MACH_HARMONY)              += board-harmony-sdhci.o
108
109 obj-$(CONFIG_MACH_PAZ00)                += board-paz00.o
110 obj-$(CONFIG_MACH_PAZ00)                += board-paz00-pinmux.o
111
112 obj-$(CONFIG_MACH_SEABOARD)             += board-seaboard.o
113 obj-$(CONFIG_MACH_SEABOARD)             += board-seaboard-pinmux.o
114
115 obj-$(CONFIG_MACH_TEGRA_DT)             += board-dt-tegra20.o
116 obj-$(CONFIG_MACH_TEGRA_DT)             += board-harmony-pinmux.o
117 obj-$(CONFIG_MACH_TEGRA_DT)             += board-seaboard-pinmux.o
118 obj-$(CONFIG_MACH_TEGRA_DT)             += board-paz00-pinmux.o
119 obj-$(CONFIG_MACH_TEGRA_DT)             += board-trimslice-pinmux.o
120
121 obj-$(CONFIG_MACH_TRIMSLICE)            += board-trimslice.o
122 obj-$(CONFIG_MACH_TRIMSLICE)            += board-trimslice-pinmux.o
123
124 obj-$(CONFIG_MACH_VENTANA)              += board-ventana.o
125 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-pinmux.o
126 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-sdhci.o
127 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-power.o
128 obj-$(CONFIG_MACH_VENTANA)              += board-ventana-panel.o
129
130 # Aruba
131
132 # Whistler
133
134 # Cardhu
135 obj-${CONFIG_MACH_CARDHU}               += board-cardhu.o
136 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-kbc.o
137 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-panel.o
138 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pinmux.o
139 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-power.o
140 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sdhci.o
141 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sensors.o
142
143 # Enterprise