blob: 83c8bfcf58d7786a199db315c223b6a28231caa5 [file] [log] [blame]
Marc Zyngiereca55f42011-11-08 13:07:36 +00001CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)
2
Sathish Ambley098f9bd2011-11-09 16:32:53 -08003obj-y += io.o dma.o memory.o
4ifndef CONFIG_ARM_ARCH_TIMER
5obj-y += timer.o
6endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07007obj-y += clock.o clock-voter.o clock-dummy.o
8obj-y += modem_notifier.o subsystem_map.o
9obj-$(CONFIG_CPU_FREQ_MSM) += cpufreq.o
10obj-$(CONFIG_DEBUG_FS) += nohlt.o clock-debug.o
11obj-$(CONFIG_KEXEC) += msm_kexec.o
12
13obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o
14ifndef CONFIG_ARCH_MSM8X60
15 obj-$(CONFIG_MSM_PROC_COMM) += clock-pcom.o
16 obj-$(CONFIG_MSM_PROC_COMM) += vreg.o mpp.o
17 ifdef CONFIG_MSM_PROC_COMM
18ifndef CONFIG_ARCH_FSM9XXX
19 obj-$(CONFIG_REGULATOR) += footswitch-pcom.o
20endif
21 obj-$(CONFIG_DEBUG_FS) += pmic_debugfs.o
22 endif
23endif
24
Matt Wagantall6d9ebee2011-08-26 12:15:24 -070025obj-y += acpuclock.o
Matt Wagantall93b85132012-07-12 18:10:25 -070026obj-$(CONFIG_ARCH_MSM_KRAIT) += acpuclock-krait.o
Matt Wagantallf2c2fdf2012-04-11 10:34:21 -070027obj-$(CONFIG_ARCH_MSM7X27) += acpuclock-7627.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070028obj-$(CONFIG_ARCH_MSM_SCORPION) += pmu.o
Ashwin Chaugule7530b452012-06-11 17:41:59 -040029obj-$(CONFIG_ARCH_MSM_SCORPIONMP) += perf_event_msm_l2.o
Ashwin Chaugule4a81cb82012-06-07 13:40:54 -040030obj-$(CONFIG_ARCH_MSM_KRAIT) += msm-krait-l2-accessors.o pmu.o perf_event_msm_krait_l2.o
Trevor Bourgetfd2f7052012-04-20 17:25:53 -070031obj-$(CONFIG_ARCH_MSM_KRAIT) += krait-scm.o
Neil Leederb618ec22011-08-26 10:22:28 -040032obj-$(CONFIG_ARCH_MSM7X27A) += pmu.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070033
34ifndef CONFIG_MSM_SMP
35obj-$(CONFIG_ARCH_MSM_SCORPION) += msm_fault_handlers.o
36endif
Brian Swetland30421022007-11-26 04:11:43 -080037
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080038obj-$(CONFIG_MSM_VIC) += irq-vic.o
Gregory Beanf9f3d312010-04-30 22:06:50 -070039
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070040ifdef CONFIG_ARCH_QSD8X50
41 obj-$(CONFIG_MSM_SOC_REV_NONE) += acpuclock-8x50.o
42endif
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080043
Taniya Das137dc8e2011-12-02 14:50:00 +053044obj-$(CONFIG_SMP) += headsmp.o
45ifdef CONFIG_ARCH_MSM8625
46 obj-$(CONFIG_SMP) += platsmp-8625.o
47else
48 obj-$(CONFIG_SMP) += platsmp.o
49endif
Jeff Ohlstein9f1890a2010-12-02 12:11:27 -080050obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
51
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070052obj-$(CONFIG_MSM_CPU_AVS) += avs.o
53obj-$(CONFIG_MSM_AVS_HW) += avs_hw.o
54obj-$(CONFIG_CPU_V6) += idle-v6.o
55obj-$(CONFIG_CPU_V7) += idle-v7.o
Pratik Patel17f3b822011-11-21 12:41:47 -080056obj-$(CONFIG_MSM_JTAG) += jtag.o
Daniel Walker4ad15e62010-05-06 13:54:17 -070057
Pratik Patel17f3b822011-11-21 12:41:47 -080058msm-etm-objs := etm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070059obj-$(CONFIG_MSM_ETM) += msm-etm.o
60
61quiet_cmd_mkrpcsym = MKCAP $@
62 cmd_mkrpcsym = $(PERL) $(srctree)/$(src)/mkrpcsym.pl $< $@
63
64target += smd_rpc_sym.c
65$(obj)/smd_rpc_sym.c: $(src)/smd_rpc_sym $(src)/mkrpcsym.pl
66 $(call if_changed,mkrpcsym)
67
68obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o
69obj-$(CONFIG_MSM_SECURE_IO) += scm-io.o
70obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
Stephen Boyde44ec392011-08-29 12:03:24 -070071obj-$(CONFIG_MSM_PIL) += scm-pas.o
Stephen Boyd3acc9e42011-09-28 16:46:40 -070072obj-$(CONFIG_MSM_PIL_QDSP6V3) += pil-q6v3.o
Stephen Boydeb819882011-08-29 14:46:30 -070073obj-$(CONFIG_MSM_PIL_QDSP6V4) += pil-q6v4.o
Matt Wagantallc2bbdc32012-03-21 19:44:50 -070074obj-$(CONFIG_MSM_PIL_LPASS_QDSP6V5) += pil-q6v5.o pil-q6v5-lpass.o
Matt Wagantall4e2599e2012-03-21 22:31:35 -070075obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-q6v5-mss.o
Matt Wagantalle6e00d52012-03-08 17:39:07 -080076obj-$(CONFIG_MSM_PIL_MBA) += pil-mba.o
Stephen Boyd322a9922011-09-20 01:05:54 -070077obj-$(CONFIG_MSM_PIL_RIVA) += pil-riva.o
Stephen Boydd89eebe2011-09-28 23:28:11 -070078obj-$(CONFIG_MSM_PIL_TZAPPS) += pil-tzapps.o
Stephen Boyd7b973de2012-03-09 12:26:16 -080079obj-$(CONFIG_MSM_PIL_VIDC) += pil-vidc.o
Stephen Boyd4eb885b2011-09-29 01:16:03 -070080obj-$(CONFIG_MSM_PIL_MODEM) += pil-modem.o
Stephen Boyd25c4a0b2011-09-20 00:12:36 -070081obj-$(CONFIG_MSM_PIL_DSPS) += pil-dsps.o
Matt Wagantall292aace2012-01-26 19:12:34 -080082obj-$(CONFIG_MSM_PIL_GSS) += pil-gss.o
Tianyi Gouc1e049f82011-11-23 14:20:16 -080083obj-$(CONFIG_MSM_PIL_PRONTO) += pil-pronto.o
Tianyi Gou828798d2012-05-02 21:12:38 -070084obj-$(CONFIG_MSM_PIL_VENUS) += pil-venus.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070085obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
86obj-$(CONFIG_ARCH_FSM9XXX) += sirc-fsm9xxx.o
87obj-$(CONFIG_MSM_FIQ_SUPPORT) += fiq_glue.o
88obj-$(CONFIG_MACH_TROUT) += board-trout-rfkill.o
89obj-$(CONFIG_MSM_SDIO_AL) += sdio_al.o
90obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_test.o
91obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dloader.o
92obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
93obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
94obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -060095obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging.o
96ifdef CONFIG_DEBUG_FS
97obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging_debug.o
98endif
Jeff Hugo918b2dc2012-03-21 13:42:09 -060099obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o smd_private.o
Stepan Moskovchenko483444b2011-10-24 19:28:46 -0700100obj-y += socinfo.o
Jeff Hugo56b933a2011-09-28 14:42:05 -0600101ifndef CONFIG_ARCH_MSM9615
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600102ifndef CONFIG_ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700103ifndef CONFIG_ARCH_MSM8960
104ifndef CONFIG_ARCH_MSM8X60
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700105ifndef CONFIG_ARCH_MSM8974
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530106ifndef CONFIG_ARCH_MPQ8092
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700107 obj-$(CONFIG_MSM_SMD) += pmic.o
Sahitya Tummala121caec2011-10-01 08:32:05 +0530108 obj-$(CONFIG_MSM_ONCRPCROUTER) += rpc_hsusb.o rpc_pmapp.o rpc_fsusb.o
109endif
110endif
111endif
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600112endif
Jeff Hugo70946092012-02-10 11:30:43 -0700113endif
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530114endif
Sahitya Tummala121caec2011-10-01 08:32:05 +0530115ifndef CONFIG_ARCH_MSM8960
116ifndef CONFIG_ARCH_MSM8X60
Sahitya Tummalae608c512011-09-05 09:41:06 +0530117ifndef CONFIG_ARCH_APQ8064
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700118ifndef CONFIG_ARCH_MSM8974
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700119ifndef CONFIG_ARCH_MSM8226
Rohit Vaswanid285daa2012-04-23 18:59:17 -0700120ifndef CONFIG_ARCH_MSM9625
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530121ifndef CONFIG_ARCH_MPQ8092
Sahitya Tummalae608c512011-09-05 09:41:06 +0530122 obj-y += nand_partitions.o
123endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700124endif
Jeff Hugo56b933a2011-09-28 14:42:05 -0600125endif
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700126endif
Rohit Vaswanid285daa2012-04-23 18:59:17 -0700127endif
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530128endif
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700129endif
Venkat Gopalakrishnan3ebdd432011-11-08 19:53:43 -0800130obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700131obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
132obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
133obj-$(CONFIG_MSM_SMD_PKT) += smd_pkt.o
134obj-$(CONFIG_MSM_SDIO_CMUX) += sdio_cmux.o
135obj-$(CONFIG_MSM_DSPS) += msm_dsps.o
136obj-$(CONFIG_MSM_SDIO_CTL) += sdio_ctl.o
137obj-$(CONFIG_MSM_SMD_NMEA) += smd_nmea.o
138obj-$(CONFIG_MSM_RESET_MODEM) += reset_modem.o
139obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
140obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter.o
141obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_device.o
142obj-$(CONFIG_MSM_IPC_ROUTER) += ipc_router.o
143obj-$(CONFIG_MSM_IPC_ROUTER)+= ipc_socket.o
144obj-$(CONFIG_DEBUG_FS) += smd_rpc_sym.o
145obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_servers.o
146obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_clients.o
147obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_xdr.o
148obj-$(CONFIG_MSM_ONCRPCROUTER) += rpcrouter_smd_xprt.o
149obj-$(CONFIG_MSM_RPC_SDIO_XPRT) += rpcrouter_sdio_xprt.o
150obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o
151obj-$(CONFIG_MSM_RPC_PROC_COMM_TEST) += proc_comm_test.o
152obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o ping_apps_server.o
153obj-$(CONFIG_MSM_RPC_OEM_RAPI) += oem_rapi_client.o
154obj-$(CONFIG_MSM_RPC_WATCHDOG) += rpc_dog_keepalive.o
155obj-$(CONFIG_MSM_RPCSERVER_WATCHDOG) += rpc_server_dog_keepalive.o
156obj-$(CONFIG_MSM_RPCSERVER_TIME_REMOTE) += rpc_server_time_remote.o
157obj-$(CONFIG_MSM_DALRPC) += dal.o
158obj-$(CONFIG_MSM_DALRPC_TEST) += dal_remotetest.o
159obj-$(CONFIG_ARCH_MSM7X30) += dal_axi.o
160obj-$(CONFIG_ARCH_MSM7X27A) += dal_axi.o
161obj-$(CONFIG_MSM_ADSP) += qdsp5/
162obj-$(CONFIG_MSM7KV2_AUDIO) += qdsp5v2/
163obj-$(CONFIG_MSM_RPCSERVER_HANDSET) += rpc_server_handset.o
164obj-$(CONFIG_MSM_QDSP6) += qdsp6/
165obj-$(CONFIG_MSM8X60_AUDIO) += qdsp6v2/
166obj-$(CONFIG_MSM_AUDIO_QDSP6) += qdsp6v2/
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700167obj-$(CONFIG_MSM_AUDIO_QDSP6V2) += qdsp6v2/
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700168obj-$(CONFIG_MSM_HW3D) += hw3d.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800169obj-$(CONFIG_PM) += pm-boot.o
Praveen Chidambaram42da9d22012-03-30 12:16:34 -0600170obj-$(CONFIG_MSM_PM8X60) += pm-8x60.o pm-data.o
Praveen Chidambaram3895bde2012-05-14 19:42:40 +0530171obj-$(CONFIG_MSM_IDLE_STATS) += pm-stats.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800172obj-$(CONFIG_MSM_PM2) += pm2.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800173obj-$(CONFIG_MSM_NOPM) += no-pm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700174
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600175obj-$(CONFIG_MSM_PCIE) += pcie.o pcie_irq.o
176
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700177obj-$(CONFIG_MSM_SPM_V1) += spm.o
178obj-$(CONFIG_MSM_SPM_V2) += spm-v2.o spm_devices.o
179
180obj-$(CONFIG_MSM_DMA_TEST) += dma_test.o
181obj-$(CONFIG_SURF_FFA_GPIO_KEYPAD) += keypad-surf-ffa.o
182
183obj-$(CONFIG_ARCH_MSM7X01A) += board-halibut.o devices-msm7x01a.o clock-pcom-lookup.o
184obj-$(CONFIG_MACH_TROUT) += board-trout.o board-trout-gpio.o
185obj-$(CONFIG_MACH_TROUT) += board-trout-keypad.o board-trout-panel.o
186obj-$(CONFIG_MACH_TROUT) += htc_akm_cal.o htc_wifi_nvs.o htc_acoustic.o
187obj-$(CONFIG_MACH_TROUT) += board-trout-mmc.o board-trout-wifi.o
188obj-$(CONFIG_ARCH_QSD8X50) += devices-qsd8x50.o clock-pcom-lookup.o
189obj-$(CONFIG_MACH_QSD8X50_SURF) += board-qsd8x50.o
190obj-$(CONFIG_MACH_QSD8X50_FFA) += board-qsd8x50.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800191obj-$(CONFIG_ARCH_MSM8X60) += devices-msm8x60.o clock-local.o clock-8x60.o acpuclock-8x60.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700192obj-$(CONFIG_ARCH_MSM8X60) += clock-rpm.o
193obj-$(CONFIG_ARCH_MSM8X60) += saw-regulator.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700194obj-$(CONFIG_ARCH_MSM8X60) += footswitch-8x60.o
195
Matt Wagantall9274df92011-12-15 11:11:05 -0800196ifdef CONFIG_MSM_RPM_REGULATOR
197obj-y += rpm-regulator.o
198obj-$(CONFIG_ARCH_MSM8X60) += rpm-regulator-8660.o
199obj-$(CONFIG_ARCH_MSM8960) += rpm-regulator-8960.o
200obj-$(CONFIG_ARCH_MSM9615) += rpm-regulator-9615.o
David Collins5779cea2012-01-05 15:09:21 -0800201obj-$(CONFIG_ARCH_MSM8930) += rpm-regulator-8930.o
David Collins2782b5c2012-02-06 10:02:42 -0800202obj-$(CONFIG_ARCH_APQ8064) += rpm-regulator-8960.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800203endif
204
David Collinsc7642322012-04-04 10:19:12 -0700205obj-$(CONFIG_MSM_RPM_REGULATOR_SMD) += rpm-regulator-smd.o
206
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700207ifdef CONFIG_MSM_SUBSYSTEM_RESTART
208 obj-y += subsystem_notif.o
209 obj-y += subsystem_restart.o
210 obj-y += ramdump.o
Vikram Mulukutlaffa387e2011-09-13 15:14:35 -0700211 obj-$(CONFIG_ARCH_MSM8X60) += modem-8660.o lpass-8660.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700212endif
Matt Wagantallf8020902011-08-30 21:19:23 -0700213obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700214obj-$(CONFIG_MSM_MODEM_8960) += modem-8960.o
Vikram Mulukutla74f95262012-06-25 10:21:41 -0700215obj-$(CONFIG_MSM_MODEM_SSR_8974) += modem-ssr-8974.o
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -0700216obj-$(CONFIG_MSM_LPASS_8960) += lpass-8960.o
Ankur Nandwanie258cf02011-08-19 10:16:38 -0700217obj-$(CONFIG_MSM_WCNSS_SSR_8960) += wcnss-ssr-8960.o
Rohit Vaswanid0fb4182012-03-19 18:07:59 -0700218obj-$(CONFIG_MSM_GSS_SSR_8064) += gss-8064.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700219
220ifdef CONFIG_CPU_IDLE
Praveen Chidambaram78499012011-11-01 17:15:17 -0600221 obj-$(CONFIG_ARCH_APQ8064) += cpuidle.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700222 obj-$(CONFIG_ARCH_MSM8960) += cpuidle.o
223 obj-$(CONFIG_ARCH_MSM8X60) += cpuidle.o
Maheshkumar Sivasubramaniane2fc3f62011-09-15 09:22:42 -0600224 obj-$(CONFIG_ARCH_MSM9615) += cpuidle.o
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700225 obj-$(CONFIG_ARCH_MSM8974) += cpuidle.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226endif
227
Kevin Chan3be11612012-03-22 20:05:40 -0700228ifdef CONFIG_MSM_CAMERA_V4L2
229 obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-camera.o
230endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700231obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
232obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
233obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
Rohit Vaswanib18208a2011-07-12 13:04:28 -0700234obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700235
236obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800237obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog_asm.o
Hanumant Singhd1f01022012-07-05 14:21:53 -0700238obj-$(CONFIG_MSM_WATCHDOG_V2) += msm_watchdog_v2.o
Hanumant Singh5e2541c2012-07-31 14:41:14 -0700239obj-$(CONFIG_MSM_MEMORY_DUMP) += msm_memory_dump.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700240obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o
241obj-$(CONFIG_MACH_MSM8X60_FFA) += board-msm8x60.o
242obj-$(CONFIG_MACH_MSM8X60_FLUID) += board-msm8x60.o
Zhang Chang Kendbeb8c22011-08-09 10:05:54 -0400243obj-$(CONFIG_MACH_MSM8X60_DRAGON) += board-msm8x60.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700244obj-$(CONFIG_MACH_TYPE_MSM8X60_FUSION) += board-msm8x60.o mdm.o
245obj-$(CONFIG_MACH_MSM8X60_FUSN_FFA) += board-msm8x60.o mdm.o
246obj-$(CONFIG_TROUT_H2W) += board-trout-h2w.o
247obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
248obj-$(CONFIG_TROUT_PWRSINK) += htc_pwrsink.o
249obj-$(CONFIG_ARCH_MSM7X27) += clock-pcom-lookup.o
250obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7x27.o devices-msm7x27.o
251obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7x27.o devices-msm7x27.o
Taniya Das741b37d2011-09-13 10:26:11 +0530252obj-$(CONFIG_ARCH_MSM7X27A) += clock-pcom-lookup.o devices-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530253board-7627a-all-objs += board-msm7627a-storage.o board-msm7627a-bt.o board-msm7627a-camera.o
Utsab Bosebec5f502012-08-31 13:16:13 +0530254board-7627a-all-objs += audio-7627a-devices.o
Chintan Pandya0d453192012-03-09 13:20:33 +0530255board-7627a-all-objs += board-msm7627a-display.o board-msm7627a-wlan.o board-msm7627a-io.o
Taniya Dase3027e22012-02-27 16:32:27 +0530256obj-$(CONFIG_MACH_MSM7X27A_RUMI3) += board-msm7x27a.o board-7627a-all.o
257obj-$(CONFIG_MACH_MSM7X27A_SURF) += board-msm7x27a.o board-7627a-all.o
258obj-$(CONFIG_MACH_MSM7X27A_FFA) += board-msm7x27a.o board-7627a-all.o
259obj-$(CONFIG_MACH_MSM7627A_QRD1) += board-qrd7627a.o board-7627a-all.o
260obj-$(CONFIG_MACH_MSM7627A_QRD3) += board-qrd7627a.o board-7627a-all.o
261obj-$(CONFIG_MACH_MSM7627A_EVB) += board-qrd7627a.o board-7627a-all.o
Kaushal Kumar09e57b42012-07-31 16:15:59 +0530262obj-$(CONFIG_ARCH_MSM8625) += msm_smem_iface.o devices-msm7x27a.o clock-pcom-lookup.o mpm-8625.o
Taniya Das43bcdd62011-12-02 17:33:27 +0530263obj-$(CONFIG_MACH_MSM8625_RUMI3) += board-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530264obj-$(CONFIG_MACH_MSM8625_SURF) += board-msm7x27a.o board-7627a-all.o
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530265obj-$(CONFIG_MACH_MSM8625_EVB) += board-qrd7627a.o board-7627a-all.o
Taniya Dasbd096542012-03-15 17:43:45 +0530266obj-$(CONFIG_MACH_MSM8625_QRD7) += board-qrd7627a.o board-7627a-all.o
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530267obj-$(CONFIG_MACH_MSM8625_FFA) += board-msm7x27a.o board-7627a-all.o
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530268obj-$(CONFIG_MACH_MSM8625_EVT) += board-msm7x27a.o board-7627a-all.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700269obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30.o devices-msm7x30.o memory_topology.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800270obj-$(CONFIG_ARCH_MSM7X30) += clock-local.o clock-7x30.o acpuclock-7x30.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700271obj-$(CONFIG_MACH_MSM7X25_SURF) += board-msm7x27.o devices-msm7x25.o
272obj-$(CONFIG_MACH_MSM7X25_FFA) += board-msm7x27.o devices-msm7x25.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800273obj-$(CONFIG_ARCH_MSM8960) += clock-local.o clock-dss-8960.o clock-8960.o clock-rpm.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700274obj-$(CONFIG_ARCH_MSM8960) += footswitch-8x60.o
Patrick Daly6578e0c2012-07-19 18:50:02 -0700275obj-$(CONFIG_ARCH_MSM8960) += acpuclock-8960.o acpuclock-8960ab.o
David Collins6f032ba2011-08-31 14:08:15 -0700276obj-$(CONFIG_ARCH_MSM8960) += memory_topology.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800277obj-$(CONFIG_ARCH_MSM8960) += saw-regulator.o
Stepan Moskovchenkodf8c4152011-12-05 15:39:28 -0800278obj-$(CONFIG_ARCH_MSM8960) += devices-8960.o
279obj-$(CONFIG_ARCH_APQ8064) += devices-8960.o devices-8064.o
Matt Wagantall93b85132012-07-12 18:10:25 -0700280obj-$(CONFIG_ARCH_APQ8064) += acpuclock-8064.o
Stepan Moskovchenko5a83dba2011-12-05 17:30:17 -0800281board-8960-all-objs += board-8960.o board-8960-camera.o board-8960-display.o board-8960-pmic.o board-8960-storage.o board-8960-gpiomux.o
Sudhakara Rao Tentu8b5c8ed2012-03-05 14:48:41 +0530282board-8930-all-objs += board-8930.o board-8930-camera.o board-8930-display.o board-8930-pmic.o board-8930-storage.o board-8930-gpiomux.o devices-8930.o board-8930-gpu.o
Jordan Crouseb3115fe2012-02-01 22:11:12 -0700283board-8064-all-objs += board-8064.o board-8064-pmic.o board-8064-storage.o board-8064-gpiomux.o board-8064-camera.o board-8064-display.o board-8064-gpu.o
Stepan Moskovchenko5a83dba2011-12-05 17:30:17 -0800284obj-$(CONFIG_MACH_MSM8960_CDP) += board-8960-all.o board-8960-regulator.o
285obj-$(CONFIG_MACH_MSM8960_MTP) += board-8960-all.o board-8960-regulator.o
286obj-$(CONFIG_MACH_MSM8960_FLUID) += board-8960-all.o board-8960-regulator.o
David Collins4614cb92012-08-20 12:17:09 -0700287obj-$(CONFIG_MACH_MSM8930_CDP) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
288obj-$(CONFIG_MACH_MSM8930_MTP) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
289obj-$(CONFIG_MACH_MSM8930_FLUID) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
Abhijeet Dharmapurikare8771be2012-03-01 10:32:49 -0800290obj-$(CONFIG_PM8921_BMS) += bms-batterydata.o bms-batterydata-desay.o
Jin Hong694c9dc2012-03-23 23:19:23 -0700291obj-$(CONFIG_MACH_APQ8064_CDP) += board-8064-all.o board-8064-regulator.o
292obj-$(CONFIG_MACH_APQ8064_MTP) += board-8064-all.o board-8064-regulator.o
293obj-$(CONFIG_MACH_APQ8064_LIQUID) += board-8064-all.o board-8064-regulator.o
294obj-$(CONFIG_MACH_MPQ8064_HRD) += board-8064-all.o board-8064-regulator.o
295obj-$(CONFIG_MACH_MPQ8064_DTV) += board-8064-all.o board-8064-regulator.o
Zhang Chang Kena48794b2012-03-31 17:45:21 -0400296obj-$(CONFIG_ARCH_MSM9615) += board-9615.o devices-9615.o board-9615-regulator.o board-9615-gpiomux.o board-9615-storage.o board-9615-display.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800297obj-$(CONFIG_ARCH_MSM9615) += clock-local.o clock-9615.o acpuclock-9615.o clock-rpm.o clock-pll.o
Michael Bohan2a468322012-08-14 17:06:34 -0700298obj-$(CONFIG_ARCH_MSM8974) += board-8974.o board-dt.o board-8974-gpiomux.o
Matt Wagantall93b85132012-07-12 18:10:25 -0700299obj-$(CONFIG_ARCH_MSM8974) += acpuclock-8974.o
Chandan Uddaraju09adf322012-08-16 02:55:23 -0700300obj-$(CONFIG_ARCH_MSM8974) += clock-local2.o clock-pll.o clock-8974.o clock-rpm.o clock-voter.o clock-mdss-8974.o
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700301obj-$(CONFIG_ARCH_MSM8974) += gdsc.o
Abhijeet Dharmapurikar00269e52012-05-14 17:59:10 -0700302obj-$(CONFIG_ARCH_MSM8974) += krait-regulator.o
Jin Hong690e3352012-05-02 09:25:05 -0700303obj-$(CONFIG_ARCH_MSM9625) += board-9625.o board-9625-gpiomux.o
Tianyi Gou12370f12012-07-23 19:13:57 -0700304obj-$(CONFIG_ARCH_MSM8930) += acpuclock-8930.o acpuclock-8627.o acpuclock-8930aa.o
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530305obj-$(CONFIG_ARCH_MPQ8092) += board-8092.o board-8092-gpiomux.o
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700306obj-$(CONFIG_ARCH_MSM8226) += board-8226.o board-8226-gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700307
308obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire.o board-sapphire-gpio.o
309obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-keypad.o board-sapphire-panel.o
310obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-mmc.o board-sapphire-wifi.o
311obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-rfkill.o msm_vibrator.o
312
313CFLAGS_msm_vibrator.o += -Idrivers/staging/android
Ido Shayevitz479f2eb2012-06-27 10:39:57 +0300314CFLAGS_board-9615.o += -Idrivers/usb/gadget
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700315
316obj-$(CONFIG_ARCH_FSM9XXX) += board-fsm9xxx.o
317
318obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
319
320obj-$(CONFIG_HTC_PWRSINK) += htc_pwrsink.o
321obj-$(CONFIG_HTC_HEADSET) += htc_headset.o
322obj-$(CONFIG_MSM_RMT_STORAGE_CLIENT) += rmt_storage_client.o
323obj-$(CONFIG_MSM_SDIO_SMEM) += sdio_smem.o
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600324obj-$(CONFIG_MSM_RPM) += rpm.o
325ifdef CONFIG_MSM_RPM
326 obj-$(CONFIG_ARCH_APQ8064) += rpm_resources.o
327 obj-$(CONFIG_ARCH_MSM8960) += rpm_resources.o
328 obj-$(CONFIG_ARCH_MSM8X60) += rpm_resources.o
329 obj-$(CONFIG_ARCH_MSM9615) += rpm_resources.o
Mahesh Sivasubramanian64237a32012-05-16 16:23:07 -0600330endif
331ifdef CONFIG_MSM_RPM_SMD
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700332 obj-$(CONFIG_ARCH_MSM8974) += lpm_levels.o lpm_resources.o
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600333endif
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600334obj-$(CONFIG_MSM_MPM_OF) += mpm-of.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700335obj-$(CONFIG_MSM_MPM) += mpm.o
336obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o
Girish Mahadevan898c56d2012-06-05 16:09:19 -0600337obj-$(CONFIG_MSM_RPM_RBCPR_STATS_LOG) += rpm_rbcpr_stats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700338obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
Mona Hossain11c03ac2011-10-26 12:42:10 -0700339obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700340obj-$(CONFIG_MSM_XO) += msm_xo.o
341obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
Harini Jayaramanef7805f2011-09-28 12:45:31 -0600342obj-$(CONFIG_MSM_BUSPM_DEV) += msm-buspm-dev.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700343
Steve Mucklef132c6c2012-06-06 18:30:57 -0700344obj-$(CONFIG_MSM_IOMMU) += devices-iommu.o iommu_domains.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700345
346ifdef CONFIG_VCM
347obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-vcm.o
348endif
Naveen Ramarajbdf4dfe2012-04-23 14:09:50 -0700349obj-$(CONFIG_MSM_OCMEM) += ocmem.o ocmem_allocator.o ocmem_notifier.o
Naveen Ramaraj99b07562012-05-28 20:57:09 -0700350obj-$(CONFIG_MSM_OCMEM) += ocmem_sched.o ocmem_api.o ocmem_rdm.o ocmem_core.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700351
352obj-$(CONFIG_ARCH_MSM7X27) += gpiomux-7x27.o gpiomux-v1.o gpiomux.o
353obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-v1.o gpiomux.o
Gregory Bean1963a2a2010-08-28 10:05:44 -0700354obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-v1.o gpiomux.o
355obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700356obj-$(CONFIG_ARCH_MSM8960) += gpiomux-v2.o gpiomux.o
Joel King4ebccc62011-07-22 09:43:22 -0700357obj-$(CONFIG_ARCH_APQ8064) += gpiomux-v2.o gpiomux.o
Rohit Vaswani711859f2011-08-16 15:42:11 -0700358obj-$(CONFIG_ARCH_MSM9615) += gpiomux-v2.o gpiomux.o
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700359obj-$(CONFIG_ARCH_MSM8974) += gpiomux-v2.o gpiomux.o
Jin Hong690e3352012-05-02 09:25:05 -0700360obj-$(CONFIG_ARCH_MSM9625) += gpiomux-v2.o gpiomux.o
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530361obj-$(CONFIG_ARCH_MPQ8092) += gpiomux-v2.o gpiomux.o
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700362obj-$(CONFIG_ARCH_MSM8226) += gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700363
Lynus Vazdde09ee2012-01-05 13:28:22 +0530364obj-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += idle_stats_device.o
Praveen Chidambaram8ea3dcd2011-12-07 14:46:31 -0700365obj-$(CONFIG_MSM_DCVS) += msm_dcvs_scm.o msm_dcvs.o msm_dcvs_idle.o
Krishna Vanka7f563ff2012-03-20 22:04:19 +0530366obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700367obj-$(CONFIG_MSM_SHOW_RESUME_IRQ) += msm_show_resume_irq.o
368obj-$(CONFIG_BT_MSM_PINTEST) += btpintest.o
369obj-$(CONFIG_MSM_FAKE_BATTERY) += fish_battery.o
370obj-$(CONFIG_MSM_RPC_VIBRATOR) += msm_vibrator.o
371obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o
Taniya Dascd1d0232012-07-03 17:50:47 +0530372obj-$(CONFIG_MSM_MODEM_RESTART) += restart_7k.o
Justin Pauporea6cd2092011-06-22 16:19:45 -0700373
374obj-$(CONFIG_MSM_PROC_COMM_REGULATOR) += proccomm-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700375ifdef CONFIG_MSM_PROC_COMM_REGULATOR
Pankaj Kumar75c86fd2011-10-01 18:51:09 +0530376obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7627-regulator.o
377obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7627-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700378obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30-regulator.o
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700379obj-$(CONFIG_ARCH_MSM7X27A) += board-msm7x27a-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700380endif
Joel Kingb6f0f612011-11-01 16:59:14 -0700381
382obj-$(CONFIG_ARCH_MSM8960) += mdm2.o mdm_common.o
Laura Abbottad340ff2012-01-04 14:23:48 -0800383obj-$(CONFIG_MSM_RTB) += msm_rtb.o
Stepan Moskovchenko07552e12012-02-29 20:09:32 -0800384obj-$(CONFIG_MSM_CACHE_ERP) += cache_erp.o
Stepan Moskovchenko57884842012-06-07 17:35:49 -0700385obj-$(CONFIG_MSM_EBI_ERP) += ebi_erp.o
Laura Abbott306bcc22012-03-08 11:24:53 -0800386obj-$(CONFIG_MSM_CACHE_DUMP) += msm_cache_dump.o
Jack Phamccbbfab2012-04-09 19:50:20 -0700387
388obj-$(CONFIG_MSM_HSIC_SYSMON) += hsic_sysmon.o
389obj-$(CONFIG_MSM_HSIC_SYSMON_TEST) += hsic_sysmon_test.o
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600390
391obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd.o
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +0530392obj-$(CONFIG_MSM_CPR) += msm_cpr.o
393obj-$(CONFIG_MSM_VP_REGULATOR) += msm_vp.o
394
395ifdef CONFIG_MSM_CPR
396obj-$(CONFIG_DEBUG_FS) += msm_cpr-debug.o
397endif