blob: 594bb5faff1695a8a1911ac64ee6d65ee1915761 [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
Rohit Vaswani750bee12012-09-20 16:18:10 -07009obj-$(CONFIG_USE_OF) += board-dt.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070010obj-$(CONFIG_CPU_FREQ_MSM) += cpufreq.o
11obj-$(CONFIG_DEBUG_FS) += nohlt.o clock-debug.o
12obj-$(CONFIG_KEXEC) += msm_kexec.o
13
14obj-$(CONFIG_MSM_PROC_COMM) += proc_comm.o
15ifndef CONFIG_ARCH_MSM8X60
16 obj-$(CONFIG_MSM_PROC_COMM) += clock-pcom.o
17 obj-$(CONFIG_MSM_PROC_COMM) += vreg.o mpp.o
18 ifdef CONFIG_MSM_PROC_COMM
19ifndef CONFIG_ARCH_FSM9XXX
20 obj-$(CONFIG_REGULATOR) += footswitch-pcom.o
21endif
22 obj-$(CONFIG_DEBUG_FS) += pmic_debugfs.o
23 endif
24endif
25
Matt Wagantall6d9ebee2011-08-26 12:15:24 -070026obj-y += acpuclock.o
Matt Wagantall93b85132012-07-12 18:10:25 -070027obj-$(CONFIG_ARCH_MSM_KRAIT) += acpuclock-krait.o
Matt Wagantall488bef32012-07-13 19:42:11 -070028ifdef CONFIG_ARCH_MSM_KRAIT
29obj-$(CONFIG_DEBUG_FS) += acpuclock-krait-debug.o
30endif
Trilok Sonid1fe37f2012-11-08 15:00:36 +053031obj-$(CONFIG_ARCH_MSM7X27) += acpuclock-7627.o acpuclock-8625q.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070032obj-$(CONFIG_ARCH_MSM_SCORPION) += pmu.o
Ashwin Chaugule7530b452012-06-11 17:41:59 -040033obj-$(CONFIG_ARCH_MSM_SCORPIONMP) += perf_event_msm_l2.o
Ashwin Chaugule4a81cb82012-06-07 13:40:54 -040034obj-$(CONFIG_ARCH_MSM_KRAIT) += msm-krait-l2-accessors.o pmu.o perf_event_msm_krait_l2.o
Trevor Bourgetfd2f7052012-04-20 17:25:53 -070035obj-$(CONFIG_ARCH_MSM_KRAIT) += krait-scm.o
Ashwin Chaugule5cf601b2012-12-05 17:25:59 -050036ifdef CONFIG_HW_PERF_EVENTS
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -050037obj-$(CONFIG_ARCH_MSM7X27A) += pmu.o perf_event_msm_pl310.o
Ashwin Chaugule8b459cc2012-11-26 15:20:54 -050038obj-$(CONFIG_ARCH_MSM9625) += pmu.o perf_event_msm_pl310.o
Ashwin Chaugule3deb6b82012-12-21 13:09:48 -050039obj-$(CONFIG_ARCH_MSM8625) += pmu.o perf_event_msm_pl310.o
Ashwin Chaugule5cf601b2012-12-05 17:25:59 -050040obj-$(CONFIG_ARCH_MSM9615) += pmu.o perf_event_msm_pl310.o
41endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070042
43ifndef CONFIG_MSM_SMP
44obj-$(CONFIG_ARCH_MSM_SCORPION) += msm_fault_handlers.o
45endif
Brian Swetland30421022007-11-26 04:11:43 -080046
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080047obj-$(CONFIG_MSM_VIC) += irq-vic.o
Gregory Beanf9f3d312010-04-30 22:06:50 -070048
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049ifdef CONFIG_ARCH_QSD8X50
50 obj-$(CONFIG_MSM_SOC_REV_NONE) += acpuclock-8x50.o
51endif
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080052
Syed Rameez Mustafa9de46342012-11-30 11:00:08 -080053obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Taniya Das137dc8e2011-12-02 14:50:00 +053054ifdef CONFIG_ARCH_MSM8625
55 obj-$(CONFIG_SMP) += platsmp-8625.o
Taniya Das137dc8e2011-12-02 14:50:00 +053056endif
Jeff Ohlstein9f1890a2010-12-02 12:11:27 -080057obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
58
Praveen Chidambaram5e614112012-11-08 17:53:34 -070059obj-$(CONFIG_MSM_AVS_HW) += avs.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070060obj-$(CONFIG_CPU_V6) += idle-v6.o
61obj-$(CONFIG_CPU_V7) += idle-v7.o
Pratik Patel17f3b822011-11-21 12:41:47 -080062obj-$(CONFIG_MSM_JTAG) += jtag.o
Daniel Walker4ad15e62010-05-06 13:54:17 -070063
Pratik Patel17f3b822011-11-21 12:41:47 -080064msm-etm-objs := etm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070065obj-$(CONFIG_MSM_ETM) += msm-etm.o
66
67quiet_cmd_mkrpcsym = MKCAP $@
68 cmd_mkrpcsym = $(PERL) $(srctree)/$(src)/mkrpcsym.pl $< $@
69
70target += smd_rpc_sym.c
71$(obj)/smd_rpc_sym.c: $(src)/smd_rpc_sym $(src)/mkrpcsym.pl
72 $(call if_changed,mkrpcsym)
73
Stephen Boyd67c32c72012-06-25 18:28:07 -070074obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o smd_private.o
75
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070076obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o
77obj-$(CONFIG_MSM_SECURE_IO) += scm-io.o
78obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
Stephen Boyde44ec392011-08-29 12:03:24 -070079obj-$(CONFIG_MSM_PIL) += scm-pas.o
Stephen Boyd3acc9e42011-09-28 16:46:40 -070080obj-$(CONFIG_MSM_PIL_QDSP6V3) += pil-q6v3.o
Stephen Boydbdb53f32012-06-05 18:39:47 -070081obj-$(CONFIG_MSM_PIL_LPASS_QDSP6V4) += pil-q6v4.o pil-q6v4-lpass.o
82obj-$(CONFIG_MSM_PIL_MODEM_QDSP6V4) += pil-q6v4.o pil-q6v4-mss.o
Matt Wagantallc2bbdc32012-03-21 19:44:50 -070083obj-$(CONFIG_MSM_PIL_LPASS_QDSP6V5) += pil-q6v5.o pil-q6v5-lpass.o
Matt Wagantall4e2599e2012-03-21 22:31:35 -070084obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-q6v5-mss.o
Stephen Boyd322a9922011-09-20 01:05:54 -070085obj-$(CONFIG_MSM_PIL_RIVA) += pil-riva.o
Stephen Boydd89eebe2011-09-28 23:28:11 -070086obj-$(CONFIG_MSM_PIL_TZAPPS) += pil-tzapps.o
Stephen Boyd7b973de2012-03-09 12:26:16 -080087obj-$(CONFIG_MSM_PIL_VIDC) += pil-vidc.o
Stephen Boyd4eb885b2011-09-29 01:16:03 -070088obj-$(CONFIG_MSM_PIL_MODEM) += pil-modem.o
Stephen Boyd25c4a0b2011-09-20 00:12:36 -070089obj-$(CONFIG_MSM_PIL_DSPS) += pil-dsps.o
Matt Wagantall292aace2012-01-26 19:12:34 -080090obj-$(CONFIG_MSM_PIL_GSS) += pil-gss.o
Tianyi Gouc1e049f82011-11-23 14:20:16 -080091obj-$(CONFIG_MSM_PIL_PRONTO) += pil-pronto.o
Tianyi Gou828798d2012-05-02 21:12:38 -070092obj-$(CONFIG_MSM_PIL_VENUS) += pil-venus.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070093obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
94obj-$(CONFIG_ARCH_FSM9XXX) += sirc-fsm9xxx.o
95obj-$(CONFIG_MSM_FIQ_SUPPORT) += fiq_glue.o
96obj-$(CONFIG_MACH_TROUT) += board-trout-rfkill.o
97obj-$(CONFIG_MSM_SDIO_AL) += sdio_al.o
98obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_test.o
99obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dloader.o
100obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
101obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
102obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -0600103obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging.o
104ifdef CONFIG_DEBUG_FS
105obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging_debug.o
106endif
Stepan Moskovchenko483444b2011-10-24 19:28:46 -0700107obj-y += socinfo.o
Sahitya Tummala121caec2011-10-01 08:32:05 +0530108ifndef CONFIG_ARCH_MSM8960
109ifndef CONFIG_ARCH_MSM8X60
Sahitya Tummalae608c512011-09-05 09:41:06 +0530110ifndef CONFIG_ARCH_APQ8064
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700111ifndef CONFIG_ARCH_MSM8974
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700112ifndef CONFIG_ARCH_MSM8226
Rohit Vaswanid285daa2012-04-23 18:59:17 -0700113ifndef CONFIG_ARCH_MSM9625
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530114ifndef CONFIG_ARCH_MPQ8092
Syed Rameez Mustafa03a23db2012-09-21 18:34:54 -0700115ifndef CONFIG_ARCH_MSM8910
Sahitya Tummalae608c512011-09-05 09:41:06 +0530116 obj-y += nand_partitions.o
117endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700118endif
Jeff Hugo56b933a2011-09-28 14:42:05 -0600119endif
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700120endif
Rohit Vaswanid285daa2012-04-23 18:59:17 -0700121endif
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530122endif
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700123endif
Syed Rameez Mustafa03a23db2012-09-21 18:34:54 -0700124endif
Venkat Gopalakrishnan3ebdd432011-11-08 19:53:43 -0800125obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700126obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
127obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
128obj-$(CONFIG_MSM_SMD_PKT) += smd_pkt.o
129obj-$(CONFIG_MSM_SDIO_CMUX) += sdio_cmux.o
130obj-$(CONFIG_MSM_DSPS) += msm_dsps.o
131obj-$(CONFIG_MSM_SDIO_CTL) += sdio_ctl.o
132obj-$(CONFIG_MSM_SMD_NMEA) += smd_nmea.o
133obj-$(CONFIG_MSM_RESET_MODEM) += reset_modem.o
134obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
135obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter.o
136obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_device.o
137obj-$(CONFIG_MSM_IPC_ROUTER) += ipc_router.o
138obj-$(CONFIG_MSM_IPC_ROUTER)+= ipc_socket.o
Karthikeyan Ramasubramanian5b502d3642012-09-23 22:23:36 -0600139obj-$(CONFIG_MSM_IPC_ROUTER_SECURITY)+= msm_ipc_router_security.o
Karthikeyan Ramasubramanianfec77ff2012-10-26 20:03:26 -0600140obj-$(CONFIG_MSM_QMI_INTERFACE) += msm_qmi_interface.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700141obj-$(CONFIG_DEBUG_FS) += smd_rpc_sym.o
142obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_servers.o
143obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_clients.o
144obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_xdr.o
145obj-$(CONFIG_MSM_ONCRPCROUTER) += rpcrouter_smd_xprt.o
146obj-$(CONFIG_MSM_RPC_SDIO_XPRT) += rpcrouter_sdio_xprt.o
147obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o
148obj-$(CONFIG_MSM_RPC_PROC_COMM_TEST) += proc_comm_test.o
149obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o ping_apps_server.o
150obj-$(CONFIG_MSM_RPC_OEM_RAPI) += oem_rapi_client.o
151obj-$(CONFIG_MSM_RPC_WATCHDOG) += rpc_dog_keepalive.o
152obj-$(CONFIG_MSM_RPCSERVER_WATCHDOG) += rpc_server_dog_keepalive.o
153obj-$(CONFIG_MSM_RPCSERVER_TIME_REMOTE) += rpc_server_time_remote.o
154obj-$(CONFIG_MSM_DALRPC) += dal.o
155obj-$(CONFIG_MSM_DALRPC_TEST) += dal_remotetest.o
156obj-$(CONFIG_ARCH_MSM7X30) += dal_axi.o
157obj-$(CONFIG_ARCH_MSM7X27A) += dal_axi.o
158obj-$(CONFIG_MSM_ADSP) += qdsp5/
159obj-$(CONFIG_MSM7KV2_AUDIO) += qdsp5v2/
160obj-$(CONFIG_MSM_RPCSERVER_HANDSET) += rpc_server_handset.o
161obj-$(CONFIG_MSM_QDSP6) += qdsp6/
162obj-$(CONFIG_MSM8X60_AUDIO) += qdsp6v2/
163obj-$(CONFIG_MSM_AUDIO_QDSP6) += qdsp6v2/
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700164obj-$(CONFIG_MSM_AUDIO_QDSP6V2) += qdsp6v2/
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700165obj-$(CONFIG_MSM_HW3D) += hw3d.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800166obj-$(CONFIG_PM) += pm-boot.o
Praveen Chidambaram42da9d22012-03-30 12:16:34 -0600167obj-$(CONFIG_MSM_PM8X60) += pm-8x60.o pm-data.o
Praveen Chidambaram3895bde2012-05-14 19:42:40 +0530168obj-$(CONFIG_MSM_IDLE_STATS) += pm-stats.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800169obj-$(CONFIG_MSM_PM2) += pm2.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800170obj-$(CONFIG_MSM_NOPM) += no-pm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700171
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600172obj-$(CONFIG_MSM_PCIE) += pcie.o pcie_irq.o
173
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700174obj-$(CONFIG_MSM_SPM_V1) += spm.o
175obj-$(CONFIG_MSM_SPM_V2) += spm-v2.o spm_devices.o
176
177obj-$(CONFIG_MSM_DMA_TEST) += dma_test.o
178obj-$(CONFIG_SURF_FFA_GPIO_KEYPAD) += keypad-surf-ffa.o
179
180obj-$(CONFIG_ARCH_MSM7X01A) += board-halibut.o devices-msm7x01a.o clock-pcom-lookup.o
181obj-$(CONFIG_MACH_TROUT) += board-trout.o board-trout-gpio.o
182obj-$(CONFIG_MACH_TROUT) += board-trout-keypad.o board-trout-panel.o
183obj-$(CONFIG_MACH_TROUT) += htc_akm_cal.o htc_wifi_nvs.o htc_acoustic.o
184obj-$(CONFIG_MACH_TROUT) += board-trout-mmc.o board-trout-wifi.o
185obj-$(CONFIG_ARCH_QSD8X50) += devices-qsd8x50.o clock-pcom-lookup.o
186obj-$(CONFIG_MACH_QSD8X50_SURF) += board-qsd8x50.o
187obj-$(CONFIG_MACH_QSD8X50_FFA) += board-qsd8x50.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800188obj-$(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 -0700189obj-$(CONFIG_ARCH_MSM8X60) += clock-rpm.o
190obj-$(CONFIG_ARCH_MSM8X60) += saw-regulator.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700191obj-$(CONFIG_ARCH_MSM8X60) += footswitch-8x60.o
192
Matt Wagantall9274df92011-12-15 11:11:05 -0800193ifdef CONFIG_MSM_RPM_REGULATOR
194obj-y += rpm-regulator.o
195obj-$(CONFIG_ARCH_MSM8X60) += rpm-regulator-8660.o
196obj-$(CONFIG_ARCH_MSM8960) += rpm-regulator-8960.o
197obj-$(CONFIG_ARCH_MSM9615) += rpm-regulator-9615.o
David Collins5779cea2012-01-05 15:09:21 -0800198obj-$(CONFIG_ARCH_MSM8930) += rpm-regulator-8930.o
David Collins2782b5c2012-02-06 10:02:42 -0800199obj-$(CONFIG_ARCH_APQ8064) += rpm-regulator-8960.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800200endif
201
David Collinsc7642322012-04-04 10:19:12 -0700202obj-$(CONFIG_MSM_RPM_REGULATOR_SMD) += rpm-regulator-smd.o
203
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700204ifdef CONFIG_MSM_SUBSYSTEM_RESTART
205 obj-y += subsystem_notif.o
206 obj-y += subsystem_restart.o
207 obj-y += ramdump.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700208endif
Matt Wagantallf8020902011-08-30 21:19:23 -0700209obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700210
211ifdef CONFIG_CPU_IDLE
Praveen Chidambaram78499012011-11-01 17:15:17 -0600212 obj-$(CONFIG_ARCH_APQ8064) += cpuidle.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700213 obj-$(CONFIG_ARCH_MSM8960) += cpuidle.o
214 obj-$(CONFIG_ARCH_MSM8X60) += cpuidle.o
Maheshkumar Sivasubramaniane2fc3f62011-09-15 09:22:42 -0600215 obj-$(CONFIG_ARCH_MSM9615) += cpuidle.o
Girish Mahadevan6e419562012-09-19 12:50:05 -0600216 obj-$(CONFIG_ARCH_MSM9625) += cpuidle.o
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700217 obj-$(CONFIG_ARCH_MSM8974) += cpuidle.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700218endif
219
Kevin Chan3be11612012-03-22 20:05:40 -0700220ifdef CONFIG_MSM_CAMERA_V4L2
221 obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-camera.o
222endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700223obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
224obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
225obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
Rohit Vaswanib18208a2011-07-12 13:04:28 -0700226obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700227
228obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800229obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog_asm.o
Hanumant Singhd1f01022012-07-05 14:21:53 -0700230obj-$(CONFIG_MSM_WATCHDOG_V2) += msm_watchdog_v2.o
Hanumant Singh5e2541c2012-07-31 14:41:14 -0700231obj-$(CONFIG_MSM_MEMORY_DUMP) += msm_memory_dump.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700232obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o
233obj-$(CONFIG_MACH_MSM8X60_FFA) += board-msm8x60.o
234obj-$(CONFIG_MACH_MSM8X60_FLUID) += board-msm8x60.o
Zhang Chang Kendbeb8c22011-08-09 10:05:54 -0400235obj-$(CONFIG_MACH_MSM8X60_DRAGON) += board-msm8x60.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700236obj-$(CONFIG_MACH_TYPE_MSM8X60_FUSION) += board-msm8x60.o mdm.o
237obj-$(CONFIG_MACH_MSM8X60_FUSN_FFA) += board-msm8x60.o mdm.o
238obj-$(CONFIG_TROUT_H2W) += board-trout-h2w.o
239obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
240obj-$(CONFIG_TROUT_PWRSINK) += htc_pwrsink.o
241obj-$(CONFIG_ARCH_MSM7X27) += clock-pcom-lookup.o
242obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7x27.o devices-msm7x27.o
243obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7x27.o devices-msm7x27.o
Taniya Das741b37d2011-09-13 10:26:11 +0530244obj-$(CONFIG_ARCH_MSM7X27A) += clock-pcom-lookup.o devices-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530245board-7627a-all-objs += board-msm7627a-storage.o board-msm7627a-bt.o board-msm7627a-camera.o
Utsab Bosebec5f502012-08-31 13:16:13 +0530246board-7627a-all-objs += audio-7627a-devices.o
Chintan Pandya0d453192012-03-09 13:20:33 +0530247board-7627a-all-objs += board-msm7627a-display.o board-msm7627a-wlan.o board-msm7627a-io.o
Taniya Dase3027e22012-02-27 16:32:27 +0530248obj-$(CONFIG_MACH_MSM7X27A_RUMI3) += board-msm7x27a.o board-7627a-all.o
249obj-$(CONFIG_MACH_MSM7X27A_SURF) += board-msm7x27a.o board-7627a-all.o
250obj-$(CONFIG_MACH_MSM7X27A_FFA) += board-msm7x27a.o board-7627a-all.o
251obj-$(CONFIG_MACH_MSM7627A_QRD1) += board-qrd7627a.o board-7627a-all.o
252obj-$(CONFIG_MACH_MSM7627A_QRD3) += board-qrd7627a.o board-7627a-all.o
253obj-$(CONFIG_MACH_MSM7627A_EVB) += board-qrd7627a.o board-7627a-all.o
Kaushal Kumar09e57b42012-07-31 16:15:59 +0530254obj-$(CONFIG_ARCH_MSM8625) += msm_smem_iface.o devices-msm7x27a.o clock-pcom-lookup.o mpm-8625.o
Taniya Das43bcdd62011-12-02 17:33:27 +0530255obj-$(CONFIG_MACH_MSM8625_RUMI3) += board-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530256obj-$(CONFIG_MACH_MSM8625_SURF) += board-msm7x27a.o board-7627a-all.o
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530257obj-$(CONFIG_MACH_MSM8625_EVB) += board-qrd7627a.o board-7627a-all.o
Taniya Dasbd096542012-03-15 17:43:45 +0530258obj-$(CONFIG_MACH_MSM8625_QRD7) += board-qrd7627a.o board-7627a-all.o
Channagoud Kadabi2bd65c82012-10-12 15:14:23 +0530259obj-$(CONFIG_MACH_QRD_SKUD_PRIME) += board-qrd7627a.o board-7627a-all.o
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530260obj-$(CONFIG_MACH_MSM8625_FFA) += board-msm7x27a.o board-7627a-all.o
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530261obj-$(CONFIG_MACH_MSM8625_EVT) += board-msm7x27a.o board-7627a-all.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700262obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30.o devices-msm7x30.o memory_topology.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800263obj-$(CONFIG_ARCH_MSM7X30) += clock-local.o clock-7x30.o acpuclock-7x30.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700264obj-$(CONFIG_MACH_MSM7X25_SURF) += board-msm7x27.o devices-msm7x25.o
265obj-$(CONFIG_MACH_MSM7X25_FFA) += board-msm7x27.o devices-msm7x25.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800266obj-$(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 -0700267obj-$(CONFIG_ARCH_MSM8960) += footswitch-8x60.o
Patrick Daly6578e0c2012-07-19 18:50:02 -0700268obj-$(CONFIG_ARCH_MSM8960) += acpuclock-8960.o acpuclock-8960ab.o
David Collins6f032ba2011-08-31 14:08:15 -0700269obj-$(CONFIG_ARCH_MSM8960) += memory_topology.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800270obj-$(CONFIG_ARCH_MSM8960) += saw-regulator.o
Stepan Moskovchenkodf8c4152011-12-05 15:39:28 -0800271obj-$(CONFIG_ARCH_MSM8960) += devices-8960.o
272obj-$(CONFIG_ARCH_APQ8064) += devices-8960.o devices-8064.o
Matt Wagantall93b85132012-07-12 18:10:25 -0700273obj-$(CONFIG_ARCH_APQ8064) += acpuclock-8064.o
Stepan Moskovchenko5a83dba2011-12-05 17:30:17 -0800274board-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 +0530275board-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 -0700276board-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 -0800277obj-$(CONFIG_MACH_MSM8960_CDP) += board-8960-all.o board-8960-regulator.o
278obj-$(CONFIG_MACH_MSM8960_MTP) += board-8960-all.o board-8960-regulator.o
279obj-$(CONFIG_MACH_MSM8960_FLUID) += board-8960-all.o board-8960-regulator.o
David Collins4614cb92012-08-20 12:17:09 -0700280obj-$(CONFIG_MACH_MSM8930_CDP) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
281obj-$(CONFIG_MACH_MSM8930_MTP) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
282obj-$(CONFIG_MACH_MSM8930_FLUID) += board-8930-all.o board-8930-regulator-pm8038.o board-8930-regulator-pm8917.o
Xiaozhe Shi5ee95192012-09-12 15:16:34 -0700283obj-$(CONFIG_PM8921_BMS) += bms-batterydata.o bms-batterydata-desay.o batterydata-lib.o
Xiaozhe Shi73a65692012-09-18 17:51:57 -0700284obj-$(CONFIG_QPNP_BMS) += bms-batterydata.o bms-batterydata-desay.o batterydata-lib.o
Jin Hong694c9dc2012-03-23 23:19:23 -0700285obj-$(CONFIG_MACH_APQ8064_CDP) += board-8064-all.o board-8064-regulator.o
286obj-$(CONFIG_MACH_APQ8064_MTP) += board-8064-all.o board-8064-regulator.o
287obj-$(CONFIG_MACH_APQ8064_LIQUID) += board-8064-all.o board-8064-regulator.o
Ankit Verma6fe41b02012-09-13 16:12:11 +0530288obj-$(CONFIG_MACH_MPQ8064_HRD) += board-8064-all.o board-8064-regulator.o board-8064-bt.o
Jin Hong694c9dc2012-03-23 23:19:23 -0700289obj-$(CONFIG_MACH_MPQ8064_DTV) += board-8064-all.o board-8064-regulator.o
Zhang Chang Kena48794b2012-03-31 17:45:21 -0400290obj-$(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 -0800291obj-$(CONFIG_ARCH_MSM9615) += clock-local.o clock-9615.o acpuclock-9615.o clock-rpm.o clock-pll.o
Rohit Vaswani750bee12012-09-20 16:18:10 -0700292obj-$(CONFIG_ARCH_MSM8974) += board-8974.o board-8974-gpiomux.o
Matt Wagantall93b85132012-07-12 18:10:25 -0700293obj-$(CONFIG_ARCH_MSM8974) += acpuclock-8974.o
Chandan Uddaraju09adf322012-08-16 02:55:23 -0700294obj-$(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 -0700295obj-$(CONFIG_ARCH_MSM8974) += gdsc.o
Tianyi Gouec49d9e2012-10-29 11:10:49 -0700296obj-$(CONFIG_ARCH_MSM9625) += gdsc.o
Patrick Dalyab955322012-11-06 15:23:26 -0800297obj-$(CONFIG_ARCH_MSM8226) += gdsc.o
Matt Wagantall738c2af2012-11-30 19:26:51 -0800298obj-$(CONFIG_ARCH_MSM8910) += gdsc.o
Abhijeet Dharmapurikar00269e52012-05-14 17:59:10 -0700299obj-$(CONFIG_ARCH_MSM8974) += krait-regulator.o
Jin Hong690e3352012-05-02 09:25:05 -0700300obj-$(CONFIG_ARCH_MSM9625) += board-9625.o board-9625-gpiomux.o
Tianyi Gou7395a7e2012-10-19 14:12:21 -0700301obj-$(CONFIG_ARCH_MSM9625) += clock-local2.o clock-pll.o clock-9625.o clock-rpm.o clock-voter.o acpuclock-9625.o
Tianyi Gou2520b6e2012-10-29 19:13:53 -0700302obj-$(CONFIG_ARCH_MSM8930) += acpuclock-8930.o acpuclock-8627.o acpuclock-8930aa.o acpuclock-8930ab.o
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530303obj-$(CONFIG_ARCH_MPQ8092) += board-8092.o board-8092-gpiomux.o
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700304obj-$(CONFIG_ARCH_MSM8226) += board-8226.o board-8226-gpiomux.o
Hanumant Singh55a1bb02012-11-06 10:01:15 -0800305obj-$(CONFIG_ARCH_MSM8910) += board-8910.o board-8910-gpiomux.o
Vikram Mulukutlab13abe42012-10-03 11:38:48 -0700306obj-$(CONFIG_ARCH_MSM8910) += clock-local2.o clock-pll.o clock-8910.o clock-rpm.o clock-voter.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
Girish Mahadevan6e419562012-09-19 12:50:05 -0600333 obj-$(CONFIG_ARCH_MSM9625) += lpm_levels.o lpm_resources.o
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600334endif
Mahesh Sivasubramanian102e5962012-06-20 13:12:11 -0600335obj-$(CONFIG_MSM_MPM_OF) += mpm-of.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700336obj-$(CONFIG_MSM_MPM) += mpm.o
Anji Jonnala04729cd2012-10-12 07:24:49 +0530337obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o rpm_master_stat.o
Girish Mahadevan898c56d2012-06-05 16:09:19 -0600338obj-$(CONFIG_MSM_RPM_RBCPR_STATS_LOG) += rpm_rbcpr_stats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700339obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
Mona Hossain11c03ac2011-10-26 12:42:10 -0700340obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700341obj-$(CONFIG_MSM_XO) += msm_xo.o
342obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
Harini Jayaramanef7805f2011-09-28 12:45:31 -0600343obj-$(CONFIG_MSM_BUSPM_DEV) += msm-buspm-dev.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700344
Olav Haugan95d24162012-12-05 14:47:47 -0800345obj-$(CONFIG_MSM_IOMMU) += iommu_domains.o
346ifdef CONFIG_IOMMU_SUPPORT
347obj-$(CONFIG_ARCH_MSM8960) += devices-iommu.o
348obj-$(CONFIG_ARCH_MSM8930) += devices-iommu.o
349obj-$(CONFIG_ARCH_MSM8064) += devices-iommu.o
350endif
351
Girish Mahadevan388c3082012-09-10 15:30:36 -0600352obj-$(CONFIG_MSM_EVENT_TIMER) += event_timer.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353
354ifdef CONFIG_VCM
355obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-vcm.o
356endif
Naveen Ramarajbdf4dfe2012-04-23 14:09:50 -0700357obj-$(CONFIG_MSM_OCMEM) += ocmem.o ocmem_allocator.o ocmem_notifier.o
Naveen Ramaraj99b07562012-05-28 20:57:09 -0700358obj-$(CONFIG_MSM_OCMEM) += ocmem_sched.o ocmem_api.o ocmem_rdm.o ocmem_core.o
Naveen Ramaraj88f23632012-10-10 12:23:29 -0700359obj-$(CONFIG_SENSORS_ADSP) += sensors_adsp.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700360
361obj-$(CONFIG_ARCH_MSM7X27) += gpiomux-7x27.o gpiomux-v1.o gpiomux.o
362obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-v1.o gpiomux.o
Gregory Bean1963a2a2010-08-28 10:05:44 -0700363obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-v1.o gpiomux.o
364obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700365obj-$(CONFIG_ARCH_MSM8960) += gpiomux-v2.o gpiomux.o
Joel King4ebccc62011-07-22 09:43:22 -0700366obj-$(CONFIG_ARCH_APQ8064) += gpiomux-v2.o gpiomux.o
Rohit Vaswani711859f2011-08-16 15:42:11 -0700367obj-$(CONFIG_ARCH_MSM9615) += gpiomux-v2.o gpiomux.o
Abhimanyu Kapur90ced6e2012-06-26 17:41:25 -0700368obj-$(CONFIG_ARCH_MSM8974) += gpiomux-v2.o gpiomux.o
Jin Hong690e3352012-05-02 09:25:05 -0700369obj-$(CONFIG_ARCH_MSM9625) += gpiomux-v2.o gpiomux.o
Ravi Kumar V1f9d7bc2012-09-01 00:26:00 +0530370obj-$(CONFIG_ARCH_MPQ8092) += gpiomux-v2.o gpiomux.o
Syed Rameez Mustafa300799f2012-09-10 14:37:12 -0700371obj-$(CONFIG_ARCH_MSM8226) += gpiomux-v2.o gpiomux.o
Syed Rameez Mustafa03a23db2012-09-21 18:34:54 -0700372obj-$(CONFIG_ARCH_MSM8910) += gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700373
Lynus Vazdde09ee2012-01-05 13:28:22 +0530374obj-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += idle_stats_device.o
Abhijeet Dharmapurikarc1ed66c2012-09-10 16:03:39 -0700375obj-$(CONFIG_MSM_DCVS) += msm_dcvs_scm.o msm_dcvs.o msm_mpdecision.o
Krishna Vanka7f563ff2012-03-20 22:04:19 +0530376obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700377obj-$(CONFIG_MSM_SHOW_RESUME_IRQ) += msm_show_resume_irq.o
378obj-$(CONFIG_BT_MSM_PINTEST) += btpintest.o
379obj-$(CONFIG_MSM_FAKE_BATTERY) += fish_battery.o
380obj-$(CONFIG_MSM_RPC_VIBRATOR) += msm_vibrator.o
381obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o
Taniya Dascd1d0232012-07-03 17:50:47 +0530382obj-$(CONFIG_MSM_MODEM_RESTART) += restart_7k.o
Justin Pauporea6cd2092011-06-22 16:19:45 -0700383
384obj-$(CONFIG_MSM_PROC_COMM_REGULATOR) += proccomm-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700385ifdef CONFIG_MSM_PROC_COMM_REGULATOR
Pankaj Kumar75c86fd2011-10-01 18:51:09 +0530386obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7627-regulator.o
387obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7627-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700388obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30-regulator.o
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700389obj-$(CONFIG_ARCH_MSM7X27A) += board-msm7x27a-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700390endif
Joel Kingb6f0f612011-11-01 16:59:14 -0700391
392obj-$(CONFIG_ARCH_MSM8960) += mdm2.o mdm_common.o
Laura Abbottad340ff2012-01-04 14:23:48 -0800393obj-$(CONFIG_MSM_RTB) += msm_rtb.o
Stepan Moskovchenko07552e12012-02-29 20:09:32 -0800394obj-$(CONFIG_MSM_CACHE_ERP) += cache_erp.o
Stepan Moskovchenko57884842012-06-07 17:35:49 -0700395obj-$(CONFIG_MSM_EBI_ERP) += ebi_erp.o
Laura Abbott306bcc22012-03-08 11:24:53 -0800396obj-$(CONFIG_MSM_CACHE_DUMP) += msm_cache_dump.o
Jack Phamccbbfab2012-04-09 19:50:20 -0700397
398obj-$(CONFIG_MSM_HSIC_SYSMON) += hsic_sysmon.o
399obj-$(CONFIG_MSM_HSIC_SYSMON_TEST) += hsic_sysmon_test.o
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600400
401obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd.o
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +0530402obj-$(CONFIG_MSM_CPR) += msm_cpr.o
403obj-$(CONFIG_MSM_VP_REGULATOR) += msm_vp.o
Anirudh Ghayal0d2291a2012-09-20 21:31:41 +0530404obj-$(CONFIG_MSM_RPC_PMIC) += pmic.o
Anirudh Ghayald3a63732012-09-20 22:13:13 +0530405obj-$(CONFIG_MSM_RPC_USB) += rpc_hsusb.o rpc_fsusb.o
406obj-$(CONFIG_MSM_RPC_PMAPP) += rpc_pmapp.o
407
Pushkar Joshi0fc73462012-09-26 17:59:31 -0700408obj-$(CONFIG_MSM_ENABLE_WDOG_DEBUG_CONTROL) += wdog_debug.o
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +0530409
Greg Reidb1d240a2012-10-12 12:20:31 -0400410obj-$(CONFIG_MSM_USE_USER_ACCESSIBLE_TIMERS) += timer_page.o
411
Pankaj Kumar32ce1ea2012-04-04 20:29:29 +0530412ifdef CONFIG_MSM_CPR
413obj-$(CONFIG_DEBUG_FS) += msm_cpr-debug.o
414endif
Prasad Sodagudied8df5b2012-09-28 13:49:59 +0530415obj-$(CONFIG_MSM_FIQ) += msm7k_fiq.o
416obj-$(CONFIG_MSM_FIQ) += msm7k_fiq_handler.o
Neeti Desai92eab922012-10-22 15:14:48 -0700417
418obj-$(CONFIG_MEMORY_HOLE_CARVEOUT) += msm_mem_hole.o
Rohit Vaswani5fd759e2012-11-07 07:05:08 -0800419
420obj-$(CONFIG_MSM_SMCMOD) += smcmod.o
Jay Chokshi06e444f2012-12-06 20:48:23 -0800421obj-$(CONFIG_MSM_CPU_PWRCTL) += msm_cpu_pwrctl.o