blob: b39ccb53147442bcf9e954239997fc23b35bf20f [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001obj-y += io.o dma.o memory.o timer.o
2obj-y += clock.o clock-voter.o clock-dummy.o
3obj-y += modem_notifier.o subsystem_map.o
4obj-$(CONFIG_CPU_FREQ_MSM) += cpufreq.o
5obj-$(CONFIG_DEBUG_FS) += nohlt.o clock-debug.o
6obj-$(CONFIG_KEXEC) += msm_kexec.o
7
8obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o
9ifndef CONFIG_ARCH_MSM8X60
10 obj-$(CONFIG_MSM_PROC_COMM) += clock-pcom.o
11 obj-$(CONFIG_MSM_PROC_COMM) += vreg.o mpp.o
12 ifdef CONFIG_MSM_PROC_COMM
13ifndef CONFIG_ARCH_FSM9XXX
14 obj-$(CONFIG_REGULATOR) += footswitch-pcom.o
15endif
16 obj-$(CONFIG_DEBUG_FS) += pmic_debugfs.o
17 endif
18endif
19
20obj-$(CONFIG_ARCH_MSM_ARM11) += acpuclock.o
21obj-$(CONFIG_ARCH_MSM_SCORPION) += pmu.o
22obj-$(CONFIG_ARCH_MSM_CORTEX_A5) += acpuclock.o
23obj-$(CONFIG_ARCH_MSM_KRAIT) += msm-krait-l2-accessors.o pmu.o
24
25ifndef CONFIG_MSM_SMP
26obj-$(CONFIG_ARCH_MSM_SCORPION) += msm_fault_handlers.o
27endif
Brian Swetland30421022007-11-26 04:11:43 -080028
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080029obj-$(CONFIG_MSM_VIC) += irq-vic.o
Gregory Beanf9f3d312010-04-30 22:06:50 -070030
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031ifdef CONFIG_ARCH_QSD8X50
32 obj-$(CONFIG_MSM_SOC_REV_NONE) += acpuclock-8x50.o
33endif
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080034
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080035obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Jeff Ohlstein9f1890a2010-12-02 12:11:27 -080036
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070037obj-$(CONFIG_MSM_CPU_AVS) += avs.o
38obj-$(CONFIG_MSM_AVS_HW) += avs_hw.o
39obj-$(CONFIG_CPU_V6) += idle-v6.o
40obj-$(CONFIG_CPU_V7) += idle-v7.o
41obj-$(CONFIG_MSM_JTAG_V7) += jtag-v7.o
Daniel Walker4ad15e62010-05-06 13:54:17 -070042
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070043msm-etm-objs := cp14.o etm.o
44obj-$(CONFIG_MSM_ETM) += msm-etm.o
45
46quiet_cmd_mkrpcsym = MKCAP $@
47 cmd_mkrpcsym = $(PERL) $(srctree)/$(src)/mkrpcsym.pl $< $@
48
49target += smd_rpc_sym.c
50$(obj)/smd_rpc_sym.c: $(src)/smd_rpc_sym $(src)/mkrpcsym.pl
51 $(call if_changed,mkrpcsym)
52
53obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o
54obj-$(CONFIG_MSM_SECURE_IO) += scm-io.o
55obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
56ifdef CONFIG_MSM_PIL
57obj-$(CONFIG_ARCH_MSM8X60) += peripheral-reset.o
58obj-$(CONFIG_ARCH_MSM8960) += peripheral-reset-8960.o
59endif
60obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
61obj-$(CONFIG_ARCH_FSM9XXX) += sirc-fsm9xxx.o
62obj-$(CONFIG_MSM_FIQ_SUPPORT) += fiq_glue.o
63obj-$(CONFIG_MACH_TROUT) += board-trout-rfkill.o
64obj-$(CONFIG_MSM_SDIO_AL) += sdio_al.o
65obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_test.o
66obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dloader.o
67obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
68obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
69obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
70obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o
71 obj-y += socinfo.o
72ifndef CONFIG_ARCH_MSM8960
73ifndef CONFIG_ARCH_MSM8X60
74 obj-$(CONFIG_MSM_SMD) += pmic.o
75 obj-$(CONFIG_MSM_SMD) += nand_partitions.o
76 obj-$(CONFIG_MSM_ONCRPCROUTER) += rpc_hsusb.o rpc_pmapp.o rpc_fsusb.o
77endif
78endif
79obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o sdio_tty_ciq.o
80obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
81obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
82obj-$(CONFIG_MSM_SMD_PKT) += smd_pkt.o
83obj-$(CONFIG_MSM_SDIO_CMUX) += sdio_cmux.o
84obj-$(CONFIG_MSM_DSPS) += msm_dsps.o
85obj-$(CONFIG_MSM_SDIO_CTL) += sdio_ctl.o
86obj-$(CONFIG_MSM_SMD_NMEA) += smd_nmea.o
87obj-$(CONFIG_MSM_RESET_MODEM) += reset_modem.o
88obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
89obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter.o
90obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_device.o
91obj-$(CONFIG_MSM_IPC_ROUTER) += ipc_router.o
92obj-$(CONFIG_MSM_IPC_ROUTER)+= ipc_socket.o
93obj-$(CONFIG_DEBUG_FS) += smd_rpc_sym.o
94obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_servers.o
95obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_clients.o
96obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_xdr.o
97obj-$(CONFIG_MSM_ONCRPCROUTER) += rpcrouter_smd_xprt.o
98obj-$(CONFIG_MSM_RPC_SDIO_XPRT) += rpcrouter_sdio_xprt.o
99obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o
100obj-$(CONFIG_MSM_RPC_PROC_COMM_TEST) += proc_comm_test.o
101obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o ping_apps_server.o
102obj-$(CONFIG_MSM_RPC_OEM_RAPI) += oem_rapi_client.o
103obj-$(CONFIG_MSM_RPC_WATCHDOG) += rpc_dog_keepalive.o
104obj-$(CONFIG_MSM_RPCSERVER_WATCHDOG) += rpc_server_dog_keepalive.o
105obj-$(CONFIG_MSM_RPCSERVER_TIME_REMOTE) += rpc_server_time_remote.o
106obj-$(CONFIG_MSM_DALRPC) += dal.o
107obj-$(CONFIG_MSM_DALRPC_TEST) += dal_remotetest.o
108obj-$(CONFIG_ARCH_MSM7X30) += dal_axi.o
109obj-$(CONFIG_ARCH_MSM7X27A) += dal_axi.o
110obj-$(CONFIG_MSM_ADSP) += qdsp5/
111obj-$(CONFIG_MSM7KV2_AUDIO) += qdsp5v2/
112obj-$(CONFIG_MSM_RPCSERVER_HANDSET) += rpc_server_handset.o
113obj-$(CONFIG_MSM_QDSP6) += qdsp6/
114obj-$(CONFIG_MSM8X60_AUDIO) += qdsp6v2/
115obj-$(CONFIG_MSM_AUDIO_QDSP6) += qdsp6v2/
116obj-$(CONFIG_MSM_HW3D) += hw3d.o
117ifdef CONFIG_PM
118 obj-$(CONFIG_ARCH_MSM8960) += pm-8x60.o
119 obj-$(CONFIG_ARCH_MSM8X60) += pm-8x60.o
120 obj-$(CONFIG_ARCH_QSD8X50) += pm2.o
121 obj-$(CONFIG_ARCH_MSM7X30) += pm2.o
122 obj-$(CONFIG_ARCH_MSM7X27) += pm2.o
123 obj-$(CONFIG_ARCH_MSM7X27A) += pm2.o
124 obj-$(CONFIG_ARCH_MSM7X25) += pm.o
125 obj-$(CONFIG_ARCH_MSM7X01A) += pm.o
126else
127 obj-y += no-pm.o
128endif
129
130obj-$(CONFIG_MSM_SPM_V1) += spm.o
131obj-$(CONFIG_MSM_SPM_V2) += spm-v2.o spm_devices.o
132
133obj-$(CONFIG_MSM_DMA_TEST) += dma_test.o
134obj-$(CONFIG_SURF_FFA_GPIO_KEYPAD) += keypad-surf-ffa.o
135
136obj-$(CONFIG_ARCH_MSM7X01A) += board-halibut.o devices-msm7x01a.o clock-pcom-lookup.o
137obj-$(CONFIG_MACH_TROUT) += board-trout.o board-trout-gpio.o
138obj-$(CONFIG_MACH_TROUT) += board-trout-keypad.o board-trout-panel.o
139obj-$(CONFIG_MACH_TROUT) += htc_akm_cal.o htc_wifi_nvs.o htc_acoustic.o
140obj-$(CONFIG_MACH_TROUT) += board-trout-mmc.o board-trout-wifi.o
141obj-$(CONFIG_ARCH_QSD8X50) += devices-qsd8x50.o clock-pcom-lookup.o
142obj-$(CONFIG_MACH_QSD8X50_SURF) += board-qsd8x50.o
143obj-$(CONFIG_MACH_QSD8X50_FFA) += board-qsd8x50.o
144obj-$(CONFIG_ARCH_MSM8X60) += devices-msm8x60.o clock-local.o clock-8x60.o acpuclock-8x60.o
145obj-$(CONFIG_ARCH_MSM8X60) += clock-rpm.o
146obj-$(CONFIG_ARCH_MSM8X60) += saw-regulator.o
147obj-$(CONFIG_ARCH_MSM8X60) += rpm-regulator.o
148obj-$(CONFIG_ARCH_MSM8X60) += footswitch-8x60.o
149
150ifdef CONFIG_MSM_SUBSYSTEM_RESTART
151 obj-y += subsystem_notif.o
152 obj-y += subsystem_restart.o
153 obj-y += ramdump.o
154 obj-$(CONFIG_ARCH_MSM8X60) += subsystem-fatal-8x60.o
155endif
156obj-$(CONFIG_MSM_MODEM_8960) += modem-8960.o
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -0700157obj-$(CONFIG_MSM_LPASS_8960) += lpass-8960.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700158
159ifdef CONFIG_CPU_IDLE
160 obj-$(CONFIG_ARCH_MSM8960) += cpuidle.o
161 obj-$(CONFIG_ARCH_MSM8X60) += cpuidle.o
162endif
163
164obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
165obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
166obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
Rohit Vaswanib18208a2011-07-12 13:04:28 -0700167obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700168
169obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
170obj-$(CONFIG_MACH_MSM8X60_RUMI3) += board-msm8x60.o
171obj-$(CONFIG_MACH_MSM8X60_SIM) += board-msm8x60.o
172obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o
173obj-$(CONFIG_MACH_MSM8X60_FFA) += board-msm8x60.o
174obj-$(CONFIG_MACH_MSM8X60_FLUID) += board-msm8x60.o
175obj-$(CONFIG_MACH_TYPE_MSM8X60_FUSION) += board-msm8x60.o mdm.o
176obj-$(CONFIG_MACH_MSM8X60_FUSN_FFA) += board-msm8x60.o mdm.o
177obj-$(CONFIG_TROUT_H2W) += board-trout-h2w.o
178obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
179obj-$(CONFIG_TROUT_PWRSINK) += htc_pwrsink.o
180obj-$(CONFIG_ARCH_MSM7X27) += clock-pcom-lookup.o
181obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7x27.o devices-msm7x27.o
182obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7x27.o devices-msm7x27.o
183obj-$(CONFIG_ARCH_MSM7X27A) += clock-pcom-lookup.o
184obj-$(CONFIG_MACH_MSM7X27A_RUMI3) += board-msm7x27a.o devices-msm7x27a.o
185obj-$(CONFIG_MACH_MSM7X27A_SURF) += board-msm7x27a.o devices-msm7x27a.o
186obj-$(CONFIG_MACH_MSM7X27A_FFA) += board-msm7x27a.o devices-msm7x27a.o
187obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30.o devices-msm7x30.o memory_topology.o
188obj-$(CONFIG_ARCH_MSM7X30) += clock-local.o clock-7x30.o acpuclock-7x30.o
189obj-$(CONFIG_MACH_MSM7X25_SURF) += board-msm7x27.o devices-msm7x25.o
190obj-$(CONFIG_MACH_MSM7X25_FFA) += board-msm7x27.o devices-msm7x25.o
191obj-$(CONFIG_ARCH_MSM8960) += clock-local.o clock-dss-8960.o clock-8960.o clock-rpm.o
192obj-$(CONFIG_ARCH_MSM8960) += footswitch-8x60.o
193obj-$(CONFIG_ARCH_MSM8960) += acpuclock-8960.o
194obj-$(CONFIG_ARCH_MSM8960) += saw-regulator.o rpm-regulator-8960.o
195obj-$(CONFIG_MACH_MSM8960_SIM) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
196obj-$(CONFIG_MACH_MSM8960_RUMI3) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
197obj-$(CONFIG_MACH_MSM8960_CDP) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
198obj-$(CONFIG_MACH_MSM8960_MTP) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
199obj-$(CONFIG_MACH_MSM8960_FLUID) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
200obj-$(CONFIG_ARCH_MSM8960) += bms-batterydata.o
201obj-$(CONFIG_ARCH_APQ8064) += board-apq8064.o devices-8064.o
202
203obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire.o board-sapphire-gpio.o
204obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-keypad.o board-sapphire-panel.o
205obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-mmc.o board-sapphire-wifi.o
206obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-rfkill.o msm_vibrator.o
207
208CFLAGS_msm_vibrator.o += -Idrivers/staging/android
209
210obj-$(CONFIG_ARCH_FSM9XXX) += board-fsm9xxx.o
211
212obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
213
214obj-$(CONFIG_HTC_PWRSINK) += htc_pwrsink.o
215obj-$(CONFIG_HTC_HEADSET) += htc_headset.o
216obj-$(CONFIG_MSM_RMT_STORAGE_CLIENT) += rmt_storage_client.o
217obj-$(CONFIG_MSM_SDIO_SMEM) += sdio_smem.o
218obj-$(CONFIG_PMIC8058) += pmic8058-gpio.o pmic8058-mpp.o
219obj-$(CONFIG_MSM_RPM) += rpm.o rpm_resources.o
220obj-$(CONFIG_MSM_MPM) += mpm.o
221obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o
222obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
223obj-$(CONFIG_MSM_XO) += msm_xo.o
224obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
225
226obj-$(CONFIG_MSM_IOMMU) += iommu.o iommu_dev.o devices-iommu.o iommu_domains.o
227
228ifdef CONFIG_VCM
229obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-vcm.o
230endif
231
232obj-$(CONFIG_ARCH_MSM7X27) += gpiomux-7x27.o gpiomux-v1.o gpiomux.o
233obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-v1.o gpiomux.o
Gregory Bean1963a2a2010-08-28 10:05:44 -0700234obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-v1.o gpiomux.o
235obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700236obj-$(CONFIG_ARCH_MSM8960) += gpiomux-v2.o gpiomux.o
Joel King4ebccc62011-07-22 09:43:22 -0700237obj-$(CONFIG_ARCH_APQ8064) += gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700238
239ifdef CONFIG_FSM9XXX_TLMM
240obj-y += gpio-fsm9xxx.o
241else
Gregory Bean0cc2fc12010-11-24 11:53:51 -0800242ifdef CONFIG_MSM_V2_TLMM
243obj-y += gpio-v2.o
244else
Gregory Bean2783cc22010-09-10 15:03:36 -0700245obj-y += gpio.o
246endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700247endif
248
249obj-$(CONFIG_MSM_SLEEP_STATS) += msm_rq_stats.o idle_stats.o
250obj-$(CONFIG_MSM_SHOW_RESUME_IRQ) += msm_show_resume_irq.o
251obj-$(CONFIG_BT_MSM_PINTEST) += btpintest.o
252obj-$(CONFIG_MSM_FAKE_BATTERY) += fish_battery.o
253obj-$(CONFIG_MSM_RPC_VIBRATOR) += msm_vibrator.o
254obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o
Justin Pauporea6cd2092011-06-22 16:19:45 -0700255
256obj-$(CONFIG_MSM_PROC_COMM_REGULATOR) += proccomm-regulator.o