rtc: tps80031: register as mfd sub device
[linux-2.6.git] / arch / arm / mach-tegra / Makefile
1 GCOV_PROFILE := y
2
3 subdir-ccflags-y := -Werror
4
5 obj-y                                   += ahb.o
6 obj-y                                   += apbio.o
7 obj-y                                   += common.o
8 obj-y                                   += board-info.o
9 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += common-t2.o
10 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += common-t3.o
11 obj-y                                   += io.o
12 obj-y                                   += irq.o
13 obj-y                                   += clock.o
14 obj-y                                   += clock-common.o
15 obj-y                                   += timer.o
16 obj-y                                   += timerinfo.o
17 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
18 obj-y                                   += tegra2_clocks.o
19 obj-y                                   += timer-t2.o
20 else
21 obj-y                                   += tegra3_clocks.o
22 obj-y                                   += timer-t3.o
23 endif
24 obj-y                                   += pinmux.o
25 obj-y                                   += devices.o
26 obj-y                                   += delay.o
27 obj-y                                   += powergate.o
28 obj-y                                   += pm.o
29 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
30 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
31 obj-y                                   += gic.o
32
33
34 obj-y                                   += sleep.o
35
36 plus_sec := $(call as-instr,.arch_extension sec,+sec)
37 AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
38
39 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += sleep-t2.o
40 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += sleep-t3.o
41 obj-y                                   += fuse.o
42 obj-y                                   += kfuse.o
43 obj-y                                   += csi.o
44 obj-$(CONFIG_TEGRA_SILICON_PLATFORM)    += tegra_odm_fuses.o
45 obj-y                                   += i2c_error_recovery.o
46 obj-y                                   += mc.o
47 obj-$(CONFIG_TEGRA_STAT_MON)            += tegra2_statmon.o
48 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
49 obj-$(CONFIG_USB_SUPPORT)               += tegra3_usb_phy.o
50 obj-$(CONFIG_USB_SUPPORT)               += tegra2_usb_phy.o
51 obj-$(CONFIG_FIQ)                       += fiq.o
52 obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
53 obj-$(CONFIG_TEGRA_PWM)                 += pwm.o
54 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
55
56 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
57 obj-y                                   += dvfs.o
58 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_dvfs.o
59 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_dvfs.o
60 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += latency_allowance.o
61 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
62 endif
63 ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
64 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_speedo.o
65 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_speedo.o
66 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
67 endif
68 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_emc.o
69 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
70 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += wakeups-t2.o
71 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += wakeups-t3.o
72 obj-y                                   += wakeups.o
73 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pm-t2.o
74 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pm-t3.o
75
76 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-t2-tables.o
77 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-t3-tables.o
78 obj-$(CONFIG_LOCAL_TIMERS)              += localtimer.o
79 obj-$(CONFIG_SMP)                       += platsmp.o
80 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
81 obj-y                                   += headsmp.o
82 obj-y                                   += reset.o
83 obj-$(CONFIG_TEGRA_SYSTEM_DMA)          += dma.o
84 obj-$(CONFIG_CPU_FREQ)                  += cpu-tegra.o
85 ifeq ($(CONFIG_TEGRA_AUTO_HOTPLUG),y)
86 ifeq ($(CONFIG_CPUQUIET_FRAMEWORK),y)
87 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuquiet.o
88 else
89 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
90 endif
91 endif
92 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
93 obj-$(CONFIG_USB_SUPPORT)               += usb_phy.o
94 ifeq ($(CONFIG_CPU_IDLE),y)
95 obj-y                                   += cpuidle.o
96 ifeq ($(CONFIG_PM_SLEEP),y)
97 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += cpuidle-t2.o
98 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
99 endif
100 endif
101 ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE),y)
102 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_throttle.o
103 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_throttle.o
104 endif
105 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_thermal.o
106 obj-$(CONFIG_TEGRA_IOVMM)               += iovmm.o
107 obj-$(CONFIG_TEGRA_IOVMM_GART)          += iovmm-gart.o
108 obj-$(CONFIG_TEGRA_IOVMM_SMMU)          += iovmm-smmu.o
109 obj-$(CONFIG_DEBUG_ICEDCC)              += sysfs-dcc.o
110 obj-$(CONFIG_TEGRA_CLUSTER_CONTROL)     += sysfs-cluster.o
111 ifeq ($(CONFIG_TEGRA_MC_PROFILE),y)
112 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra2_mc.o
113 endif
114 obj-$(CONFIG_SENSORS_TEGRA_TSENSOR)     += tegra3_tsensor.o
115 obj-$(CONFIG_TEGRA_DYNAMIC_PWRDET)      += powerdetect.o
116 obj-$(CONFIG_TEGRA_USB_MODEM_POWER)     += tegra_usb_modem_power.o
117 obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
118 obj-${CONFIG_MACH_HARMONY}              += board-harmony.o
119 obj-${CONFIG_MACH_HARMONY}              += board-harmony-kbc.o
120 obj-${CONFIG_MACH_HARMONY}              += board-harmony-panel.o
121 obj-${CONFIG_MACH_HARMONY}              += board-harmony-pinmux.o
122 obj-${CONFIG_MACH_HARMONY}              += board-harmony-pcie.o
123 obj-${CONFIG_MACH_HARMONY}              += board-harmony-power.o
124
125 obj-${CONFIG_MACH_PAZ00}                += board-paz00.o
126 obj-${CONFIG_MACH_PAZ00}                += board-paz00-pinmux.o
127
128 obj-${CONFIG_MACH_SEABOARD}             += board-seaboard.o
129 obj-${CONFIG_MACH_SEABOARD}             += board-seaboard-pinmux.o
130
131 obj-${CONFIG_MACH_TEGRA_DT}             += board-dt.o
132 obj-${CONFIG_MACH_TEGRA_DT}             += board-harmony-pinmux.o
133
134 obj-${CONFIG_MACH_TRIMSLICE}            += board-trimslice.o
135 obj-${CONFIG_MACH_TRIMSLICE}            += board-trimslice-pinmux.o
136
137 obj-${CONFIG_MACH_P852}                 += p852/
138
139 obj-${CONFIG_MACH_VENTANA}              += board-ventana.o
140 obj-${CONFIG_MACH_VENTANA}              += board-ventana-pinmux.o
141 obj-${CONFIG_MACH_VENTANA}              += board-ventana-sdhci.o
142 obj-${CONFIG_MACH_VENTANA}              += board-ventana-power.o
143 obj-${CONFIG_MACH_VENTANA}              += board-ventana-panel.o
144 obj-${CONFIG_MACH_VENTANA}              += board-ventana-sensors.o
145 obj-${CONFIG_MACH_VENTANA}              += board-ventana-memory.o
146
147 obj-${CONFIG_MACH_ARUBA}                += board-aruba.o
148 obj-${CONFIG_MACH_ARUBA}                += board-aruba-panel.o
149 obj-${CONFIG_MACH_ARUBA}                += board-aruba-pinmux.o
150 obj-${CONFIG_MACH_ARUBA}                += board-aruba-power.o
151 obj-${CONFIG_MACH_ARUBA}                += board-aruba-sdhci.o
152 obj-${CONFIG_MACH_ARUBA}                += board-aruba-sensors.o
153
154 obj-${CONFIG_MACH_WHISTLER}             += board-whistler.o
155 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-pinmux.o
156 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-sdhci.o
157 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-power.o
158 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-panel.o
159 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-sensors.o
160 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-kbc.o
161 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-baseband.o
162 obj-${CONFIG_MACH_WHISTLER}             += board-whistler-memory.o
163
164 obj-${CONFIG_MACH_CARDHU}               += board-cardhu.o
165 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-kbc.o
166 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-irda.o
167 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-panel.o
168 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pinmux.o
169 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-power.o
170 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pm298-power-rails.o
171 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-pm299-power-rails.o
172 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sdhci.o
173 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-sensors.o
174 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-memory.o
175 obj-${CONFIG_MACH_CARDHU}               += board-cardhu-powermon.o
176
177 obj-${CONFIG_MACH_KAI}                  += board-touch-kai-synaptics-spi.o
178 obj-y                                   += board-touch-raydium_spi.o
179
180 obj-${CONFIG_MACH_P1852}               += board-p1852.o
181 obj-${CONFIG_MACH_P1852}               += board-p1852-panel.o
182 obj-${CONFIG_MACH_P1852}               += board-p1852-pinmux.o
183 obj-${CONFIG_MACH_P1852}               += board-p1852-sdhci.o
184
185 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise.o
186 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-panel.o
187 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-pinmux.o
188 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-sdhci.o
189 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-memory.o
190 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-power.o
191 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-baseband.o
192 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-kbc.o
193 obj-${CONFIG_MACH_TEGRA_ENTERPRISE}     += board-enterprise-sensors.o
194
195 obj-${CONFIG_MACH_KAI}                  += board-kai.o
196 obj-${CONFIG_MACH_KAI}                  += board-kai-kbc.o
197 obj-${CONFIG_MACH_KAI}                  += board-kai-memory.o
198 obj-${CONFIG_MACH_KAI}                  += board-kai-panel.o
199 obj-${CONFIG_MACH_KAI}                  += board-kai-pinmux.o
200 obj-${CONFIG_MACH_KAI}                  += board-kai-power.o
201 obj-${CONFIG_MACH_KAI}                  += board-kai-sdhci.o
202 obj-${CONFIG_MACH_KAI}                  += board-kai-sensors.o
203 obj-y                                   += eeprom-wifi-mac.o
204
205 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
206 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
207