blob: 8315d70284dbb5f6e1443d0a46cadc80474f0474 [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 Wagantallf2c2fdf2012-04-11 10:34:21 -070026obj-$(CONFIG_ARCH_MSM7X27) += acpuclock-7627.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070027obj-$(CONFIG_ARCH_MSM_SCORPION) += pmu.o
Ashwin Chaugule7530b452012-06-11 17:41:59 -040028obj-$(CONFIG_ARCH_MSM_SCORPIONMP) += perf_event_msm_l2.o
Ashwin Chaugule4a81cb82012-06-07 13:40:54 -040029obj-$(CONFIG_ARCH_MSM_KRAIT) += msm-krait-l2-accessors.o pmu.o perf_event_msm_krait_l2.o
Neil Leederb618ec22011-08-26 10:22:28 -040030obj-$(CONFIG_ARCH_MSM7X27A) += pmu.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070031
32ifndef CONFIG_MSM_SMP
33obj-$(CONFIG_ARCH_MSM_SCORPION) += msm_fault_handlers.o
34endif
Brian Swetland30421022007-11-26 04:11:43 -080035
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080036obj-$(CONFIG_MSM_VIC) += irq-vic.o
Gregory Beanf9f3d312010-04-30 22:06:50 -070037
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070038ifdef CONFIG_ARCH_QSD8X50
39 obj-$(CONFIG_MSM_SOC_REV_NONE) += acpuclock-8x50.o
40endif
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080041
Taniya Das137dc8e2011-12-02 14:50:00 +053042obj-$(CONFIG_SMP) += headsmp.o
43ifdef CONFIG_ARCH_MSM8625
44 obj-$(CONFIG_SMP) += platsmp-8625.o
45else
46 obj-$(CONFIG_SMP) += platsmp.o
47endif
Jeff Ohlstein9f1890a2010-12-02 12:11:27 -080048obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
49
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070050obj-$(CONFIG_MSM_CPU_AVS) += avs.o
51obj-$(CONFIG_MSM_AVS_HW) += avs_hw.o
52obj-$(CONFIG_CPU_V6) += idle-v6.o
53obj-$(CONFIG_CPU_V7) += idle-v7.o
Pratik Patel17f3b822011-11-21 12:41:47 -080054obj-$(CONFIG_MSM_JTAG) += jtag.o
Daniel Walker4ad15e62010-05-06 13:54:17 -070055
Pratik Patel17f3b822011-11-21 12:41:47 -080056msm-etm-objs := etm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070057obj-$(CONFIG_MSM_ETM) += msm-etm.o
Pratik Patel5ecf6a12012-04-25 18:34:59 -070058obj-$(CONFIG_MSM_QDSS) += qdss.o qdss-etb.o qdss-tpiu.o qdss-funnel.o qdss-stm.o qdss-etm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070059
60quiet_cmd_mkrpcsym = MKCAP $@
61 cmd_mkrpcsym = $(PERL) $(srctree)/$(src)/mkrpcsym.pl $< $@
62
63target += smd_rpc_sym.c
64$(obj)/smd_rpc_sym.c: $(src)/smd_rpc_sym $(src)/mkrpcsym.pl
65 $(call if_changed,mkrpcsym)
66
67obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o
68obj-$(CONFIG_MSM_SECURE_IO) += scm-io.o
69obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
Stephen Boyde44ec392011-08-29 12:03:24 -070070obj-$(CONFIG_MSM_PIL) += scm-pas.o
Stephen Boyd3acc9e42011-09-28 16:46:40 -070071obj-$(CONFIG_MSM_PIL_QDSP6V3) += pil-q6v3.o
Stephen Boydeb819882011-08-29 14:46:30 -070072obj-$(CONFIG_MSM_PIL_QDSP6V4) += pil-q6v4.o
Matt Wagantallc2bbdc32012-03-21 19:44:50 -070073obj-$(CONFIG_MSM_PIL_LPASS_QDSP6V5) += pil-q6v5.o pil-q6v5-lpass.o
Matt Wagantall4e2599e2012-03-21 22:31:35 -070074obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-q6v5-mss.o
Matt Wagantalle6e00d52012-03-08 17:39:07 -080075obj-$(CONFIG_MSM_PIL_MBA) += pil-mba.o
Stephen Boyd322a9922011-09-20 01:05:54 -070076obj-$(CONFIG_MSM_PIL_RIVA) += pil-riva.o
Stephen Boydd89eebe2011-09-28 23:28:11 -070077obj-$(CONFIG_MSM_PIL_TZAPPS) += pil-tzapps.o
Stephen Boyd7b973de2012-03-09 12:26:16 -080078obj-$(CONFIG_MSM_PIL_VIDC) += pil-vidc.o
Stephen Boyd4eb885b2011-09-29 01:16:03 -070079obj-$(CONFIG_MSM_PIL_MODEM) += pil-modem.o
Stephen Boyd25c4a0b2011-09-20 00:12:36 -070080obj-$(CONFIG_MSM_PIL_DSPS) += pil-dsps.o
Matt Wagantall292aace2012-01-26 19:12:34 -080081obj-$(CONFIG_MSM_PIL_GSS) += pil-gss.o
Tianyi Gouc1e049f82011-11-23 14:20:16 -080082obj-$(CONFIG_MSM_PIL_PRONTO) += pil-pronto.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070083obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
84obj-$(CONFIG_ARCH_FSM9XXX) += sirc-fsm9xxx.o
85obj-$(CONFIG_MSM_FIQ_SUPPORT) += fiq_glue.o
86obj-$(CONFIG_MACH_TROUT) += board-trout-rfkill.o
87obj-$(CONFIG_MSM_SDIO_AL) += sdio_al.o
88obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_test.o
89obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dloader.o
90obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
91obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
92obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
Karthikeyan Ramasubramaniane1f4f732011-08-08 13:34:47 -060093obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging.o
94ifdef CONFIG_DEBUG_FS
95obj-$(CONFIG_MSM_IPC_LOGGING) += ipc_logging_debug.o
96endif
Jeff Hugo918b2dc2012-03-21 13:42:09 -060097obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o smd_private.o
Stepan Moskovchenko483444b2011-10-24 19:28:46 -070098obj-y += socinfo.o
Jeff Hugo56b933a2011-09-28 14:42:05 -060099ifndef CONFIG_ARCH_MSM9615
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600100ifndef CONFIG_ARCH_APQ8064
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700101ifndef CONFIG_ARCH_MSM8960
102ifndef CONFIG_ARCH_MSM8X60
Jeff Hugo70946092012-02-10 11:30:43 -0700103ifndef CONFIG_ARCH_MSMCOPPER
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700104 obj-$(CONFIG_MSM_SMD) += pmic.o
Sahitya Tummala121caec2011-10-01 08:32:05 +0530105 obj-$(CONFIG_MSM_ONCRPCROUTER) += rpc_hsusb.o rpc_pmapp.o rpc_fsusb.o
106endif
107endif
108endif
Jeff Hugo0c0f5e92011-09-28 13:55:45 -0600109endif
Jeff Hugo70946092012-02-10 11:30:43 -0700110endif
Sahitya Tummala121caec2011-10-01 08:32:05 +0530111ifndef CONFIG_ARCH_MSM8960
112ifndef CONFIG_ARCH_MSM8X60
Sahitya Tummalae608c512011-09-05 09:41:06 +0530113ifndef CONFIG_ARCH_APQ8064
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700114ifndef CONFIG_ARCH_MSMCOPPER
Rohit Vaswanid285daa2012-04-23 18:59:17 -0700115ifndef CONFIG_ARCH_MSM9625
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
Venkat Gopalakrishnan3ebdd432011-11-08 19:53:43 -0800122obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700123obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
124obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
125obj-$(CONFIG_MSM_SMD_PKT) += smd_pkt.o
126obj-$(CONFIG_MSM_SDIO_CMUX) += sdio_cmux.o
127obj-$(CONFIG_MSM_DSPS) += msm_dsps.o
128obj-$(CONFIG_MSM_SDIO_CTL) += sdio_ctl.o
129obj-$(CONFIG_MSM_SMD_NMEA) += smd_nmea.o
130obj-$(CONFIG_MSM_RESET_MODEM) += reset_modem.o
131obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
132obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter.o
133obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_device.o
134obj-$(CONFIG_MSM_IPC_ROUTER) += ipc_router.o
135obj-$(CONFIG_MSM_IPC_ROUTER)+= ipc_socket.o
136obj-$(CONFIG_DEBUG_FS) += smd_rpc_sym.o
137obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_servers.o
138obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_clients.o
139obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_xdr.o
140obj-$(CONFIG_MSM_ONCRPCROUTER) += rpcrouter_smd_xprt.o
141obj-$(CONFIG_MSM_RPC_SDIO_XPRT) += rpcrouter_sdio_xprt.o
142obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o
143obj-$(CONFIG_MSM_RPC_PROC_COMM_TEST) += proc_comm_test.o
144obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o ping_apps_server.o
145obj-$(CONFIG_MSM_RPC_OEM_RAPI) += oem_rapi_client.o
146obj-$(CONFIG_MSM_RPC_WATCHDOG) += rpc_dog_keepalive.o
147obj-$(CONFIG_MSM_RPCSERVER_WATCHDOG) += rpc_server_dog_keepalive.o
148obj-$(CONFIG_MSM_RPCSERVER_TIME_REMOTE) += rpc_server_time_remote.o
149obj-$(CONFIG_MSM_DALRPC) += dal.o
150obj-$(CONFIG_MSM_DALRPC_TEST) += dal_remotetest.o
151obj-$(CONFIG_ARCH_MSM7X30) += dal_axi.o
152obj-$(CONFIG_ARCH_MSM7X27A) += dal_axi.o
153obj-$(CONFIG_MSM_ADSP) += qdsp5/
154obj-$(CONFIG_MSM7KV2_AUDIO) += qdsp5v2/
155obj-$(CONFIG_MSM_RPCSERVER_HANDSET) += rpc_server_handset.o
156obj-$(CONFIG_MSM_QDSP6) += qdsp6/
157obj-$(CONFIG_MSM8X60_AUDIO) += qdsp6v2/
158obj-$(CONFIG_MSM_AUDIO_QDSP6) += qdsp6v2/
Harmandeep Singhe5ddfe32012-05-26 09:39:25 -0700159obj-$(CONFIG_MSM_AUDIO_QDSP6V2) += qdsp6v2/
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700160obj-$(CONFIG_MSM_HW3D) += hw3d.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800161obj-$(CONFIG_PM) += pm-boot.o
Praveen Chidambaram42da9d22012-03-30 12:16:34 -0600162obj-$(CONFIG_MSM_PM8X60) += pm-8x60.o pm-data.o
Praveen Chidambaram3895bde2012-05-14 19:42:40 +0530163obj-$(CONFIG_MSM_IDLE_STATS) += pm-stats.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800164obj-$(CONFIG_MSM_PM2) += pm2.o
Matt Wagantall88b86312012-01-31 16:53:03 -0800165obj-$(CONFIG_MSM_NOPM) += no-pm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700166
Niranjana Vishwanathapuraf1427ac2012-05-03 14:28:21 -0600167obj-$(CONFIG_MSM_PCIE) += pcie.o pcie_irq.o
168
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700169obj-$(CONFIG_MSM_SPM_V1) += spm.o
170obj-$(CONFIG_MSM_SPM_V2) += spm-v2.o spm_devices.o
171
172obj-$(CONFIG_MSM_DMA_TEST) += dma_test.o
173obj-$(CONFIG_SURF_FFA_GPIO_KEYPAD) += keypad-surf-ffa.o
174
175obj-$(CONFIG_ARCH_MSM7X01A) += board-halibut.o devices-msm7x01a.o clock-pcom-lookup.o
176obj-$(CONFIG_MACH_TROUT) += board-trout.o board-trout-gpio.o
177obj-$(CONFIG_MACH_TROUT) += board-trout-keypad.o board-trout-panel.o
178obj-$(CONFIG_MACH_TROUT) += htc_akm_cal.o htc_wifi_nvs.o htc_acoustic.o
179obj-$(CONFIG_MACH_TROUT) += board-trout-mmc.o board-trout-wifi.o
180obj-$(CONFIG_ARCH_QSD8X50) += devices-qsd8x50.o clock-pcom-lookup.o
181obj-$(CONFIG_MACH_QSD8X50_SURF) += board-qsd8x50.o
182obj-$(CONFIG_MACH_QSD8X50_FFA) += board-qsd8x50.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800183obj-$(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 -0700184obj-$(CONFIG_ARCH_MSM8X60) += clock-rpm.o
185obj-$(CONFIG_ARCH_MSM8X60) += saw-regulator.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700186obj-$(CONFIG_ARCH_MSM8X60) += footswitch-8x60.o
187
Matt Wagantall9274df92011-12-15 11:11:05 -0800188ifdef CONFIG_MSM_RPM_REGULATOR
189obj-y += rpm-regulator.o
190obj-$(CONFIG_ARCH_MSM8X60) += rpm-regulator-8660.o
191obj-$(CONFIG_ARCH_MSM8960) += rpm-regulator-8960.o
192obj-$(CONFIG_ARCH_MSM9615) += rpm-regulator-9615.o
David Collins5779cea2012-01-05 15:09:21 -0800193obj-$(CONFIG_ARCH_MSM8930) += rpm-regulator-8930.o
David Collins2782b5c2012-02-06 10:02:42 -0800194obj-$(CONFIG_ARCH_APQ8064) += rpm-regulator-8960.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800195endif
196
David Collinsc7642322012-04-04 10:19:12 -0700197obj-$(CONFIG_MSM_RPM_REGULATOR_SMD) += rpm-regulator-smd.o
198
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700199ifdef CONFIG_MSM_SUBSYSTEM_RESTART
200 obj-y += subsystem_notif.o
201 obj-y += subsystem_restart.o
202 obj-y += ramdump.o
Vikram Mulukutlaffa387e2011-09-13 15:14:35 -0700203 obj-$(CONFIG_ARCH_MSM8X60) += modem-8660.o lpass-8660.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700204endif
Matt Wagantallf8020902011-08-30 21:19:23 -0700205obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700206obj-$(CONFIG_MSM_MODEM_8960) += modem-8960.o
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -0700207obj-$(CONFIG_MSM_LPASS_8960) += lpass-8960.o
Ankur Nandwanie258cf02011-08-19 10:16:38 -0700208obj-$(CONFIG_MSM_WCNSS_SSR_8960) += wcnss-ssr-8960.o
Rohit Vaswanid0fb4182012-03-19 18:07:59 -0700209obj-$(CONFIG_MSM_GSS_SSR_8064) += gss-8064.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
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600216 obj-$(CONFIG_ARCH_MSMCOPPER) += cpuidle.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700217endif
218
Kevin Chan3be11612012-03-22 20:05:40 -0700219ifdef CONFIG_MSM_CAMERA_V4L2
220 obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-camera.o
221endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700222obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
223obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
224obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
Rohit Vaswanib18208a2011-07-12 13:04:28 -0700225obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700226
227obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
Rohit Vaswaniead426f2012-01-05 20:24:52 -0800228obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog_asm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700229obj-$(CONFIG_MACH_MSM8X60_RUMI3) += board-msm8x60.o
230obj-$(CONFIG_MACH_MSM8X60_SIM) += board-msm8x60.o
231obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o
232obj-$(CONFIG_MACH_MSM8X60_FFA) += board-msm8x60.o
233obj-$(CONFIG_MACH_MSM8X60_FLUID) += board-msm8x60.o
Zhang Chang Kendbeb8c22011-08-09 10:05:54 -0400234obj-$(CONFIG_MACH_MSM8X60_DRAGON) += board-msm8x60.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700235obj-$(CONFIG_MACH_TYPE_MSM8X60_FUSION) += board-msm8x60.o mdm.o
236obj-$(CONFIG_MACH_MSM8X60_FUSN_FFA) += board-msm8x60.o mdm.o
237obj-$(CONFIG_TROUT_H2W) += board-trout-h2w.o
238obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
239obj-$(CONFIG_TROUT_PWRSINK) += htc_pwrsink.o
240obj-$(CONFIG_ARCH_MSM7X27) += clock-pcom-lookup.o
241obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7x27.o devices-msm7x27.o
242obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7x27.o devices-msm7x27.o
Taniya Das741b37d2011-09-13 10:26:11 +0530243obj-$(CONFIG_ARCH_MSM7X27A) += clock-pcom-lookup.o devices-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530244board-7627a-all-objs += board-msm7627a-storage.o board-msm7627a-bt.o board-msm7627a-camera.o
Chintan Pandya0d453192012-03-09 13:20:33 +0530245board-7627a-all-objs += board-msm7627a-display.o board-msm7627a-wlan.o board-msm7627a-io.o
Taniya Dase3027e22012-02-27 16:32:27 +0530246obj-$(CONFIG_MACH_MSM7X27A_RUMI3) += board-msm7x27a.o board-7627a-all.o
247obj-$(CONFIG_MACH_MSM7X27A_SURF) += board-msm7x27a.o board-7627a-all.o
248obj-$(CONFIG_MACH_MSM7X27A_FFA) += board-msm7x27a.o board-7627a-all.o
249obj-$(CONFIG_MACH_MSM7627A_QRD1) += board-qrd7627a.o board-7627a-all.o
250obj-$(CONFIG_MACH_MSM7627A_QRD3) += board-qrd7627a.o board-7627a-all.o
251obj-$(CONFIG_MACH_MSM7627A_EVB) += board-qrd7627a.o board-7627a-all.o
Taniya Dasfcb35002012-03-09 15:28:12 +0530252obj-$(CONFIG_ARCH_MSM8625) += devices-msm7x27a.o clock-pcom-lookup.o mpm-8625.o
Taniya Das43bcdd62011-12-02 17:33:27 +0530253obj-$(CONFIG_MACH_MSM8625_RUMI3) += board-msm7x27a.o
Taniya Dase3027e22012-02-27 16:32:27 +0530254obj-$(CONFIG_MACH_MSM8625_SURF) += board-msm7x27a.o board-7627a-all.o
Chintan Pandyaf4ad4002012-02-28 19:49:03 +0530255obj-$(CONFIG_MACH_MSM8625_EVB) += board-qrd7627a.o board-7627a-all.o
Taniya Dasbd096542012-03-15 17:43:45 +0530256obj-$(CONFIG_MACH_MSM8625_QRD7) += board-qrd7627a.o board-7627a-all.o
Aparna Mallavarapu9f000a72012-04-20 15:37:57 +0530257obj-$(CONFIG_MACH_MSM8625_FFA) += board-msm7x27a.o board-7627a-all.o
Aparna Mallavarapu5a326242012-05-09 19:49:02 +0530258obj-$(CONFIG_MACH_MSM8625_EVT) += board-msm7x27a.o board-7627a-all.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700259obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30.o devices-msm7x30.o memory_topology.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800260obj-$(CONFIG_ARCH_MSM7X30) += clock-local.o clock-7x30.o acpuclock-7x30.o clock-pll.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700261obj-$(CONFIG_MACH_MSM7X25_SURF) += board-msm7x27.o devices-msm7x25.o
262obj-$(CONFIG_MACH_MSM7X25_FFA) += board-msm7x27.o devices-msm7x25.o
Vikram Mulukutla681d8682012-03-09 23:56:20 -0800263obj-$(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 -0700264obj-$(CONFIG_ARCH_MSM8960) += footswitch-8x60.o
265obj-$(CONFIG_ARCH_MSM8960) += acpuclock-8960.o
David Collins6f032ba2011-08-31 14:08:15 -0700266obj-$(CONFIG_ARCH_MSM8960) += memory_topology.o
Matt Wagantall9274df92011-12-15 11:11:05 -0800267obj-$(CONFIG_ARCH_MSM8960) += saw-regulator.o
Stepan Moskovchenkodf8c4152011-12-05 15:39:28 -0800268obj-$(CONFIG_ARCH_MSM8960) += devices-8960.o
269obj-$(CONFIG_ARCH_APQ8064) += devices-8960.o devices-8064.o
Stepan Moskovchenko5a83dba2011-12-05 17:30:17 -0800270board-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 +0530271board-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 -0700272board-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 -0800273obj-$(CONFIG_MACH_MSM8960_SIM) += board-8960-all.o board-8960-regulator.o
274obj-$(CONFIG_MACH_MSM8960_RUMI3) += board-8960-all.o board-8960-regulator.o
275obj-$(CONFIG_MACH_MSM8960_CDP) += board-8960-all.o board-8960-regulator.o
276obj-$(CONFIG_MACH_MSM8960_MTP) += board-8960-all.o board-8960-regulator.o
277obj-$(CONFIG_MACH_MSM8960_FLUID) += board-8960-all.o board-8960-regulator.o
David Collins1d4061b2011-12-06 15:36:40 -0800278obj-$(CONFIG_MACH_MSM8930_CDP) += board-8930-all.o board-8930-regulator.o
279obj-$(CONFIG_MACH_MSM8930_MTP) += board-8930-all.o board-8930-regulator.o
280obj-$(CONFIG_MACH_MSM8930_FLUID) += board-8930-all.o board-8930-regulator.o
Abhijeet Dharmapurikare8771be2012-03-01 10:32:49 -0800281obj-$(CONFIG_PM8921_BMS) += bms-batterydata.o bms-batterydata-desay.o
Stepan Moskovchenko5a83dba2011-12-05 17:30:17 -0800282obj-$(CONFIG_MACH_APQ8064_SIM) += board-8064-all.o board-8064-regulator.o
283obj-$(CONFIG_MACH_APQ8064_RUMI3) += board-8064-all.o board-8064-regulator.o
Jin Hong694c9dc2012-03-23 23:19:23 -0700284obj-$(CONFIG_MACH_APQ8064_CDP) += board-8064-all.o board-8064-regulator.o
285obj-$(CONFIG_MACH_APQ8064_MTP) += board-8064-all.o board-8064-regulator.o
286obj-$(CONFIG_MACH_APQ8064_LIQUID) += board-8064-all.o board-8064-regulator.o
287obj-$(CONFIG_MACH_MPQ8064_HRD) += board-8064-all.o board-8064-regulator.o
288obj-$(CONFIG_MACH_MPQ8064_DTV) += board-8064-all.o board-8064-regulator.o
Zhang Chang Kena48794b2012-03-31 17:45:21 -0400289obj-$(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 -0800290obj-$(CONFIG_ARCH_MSM9615) += clock-local.o clock-9615.o acpuclock-9615.o clock-rpm.o clock-pll.o
Sathish Ambleyb17ec7e2012-04-03 15:20:03 -0700291obj-$(CONFIG_ARCH_MSMCOPPER) += board-copper.o board-dt.o board-copper-regulator.o board-copper-gpiomux.o
Matt Wagantalle9b715a2012-01-04 18:16:14 -0800292obj-$(CONFIG_ARCH_MSMCOPPER) += acpuclock-krait.o acpuclock-copper.o
Vikram Mulukutlad08a1522012-05-24 15:24:01 -0700293obj-$(CONFIG_ARCH_MSMCOPPER) += clock-local2.o clock-pll.o clock-copper.o clock-rpm.o clock-voter.o
Matt Wagantallfc727212012-01-06 18:18:25 -0800294obj-$(CONFIG_ARCH_MSMCOPPER) += gdsc.o
Jin Hong690e3352012-05-02 09:25:05 -0700295obj-$(CONFIG_ARCH_MSM9625) += board-9625.o board-9625-gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700296
297obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire.o board-sapphire-gpio.o
298obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-keypad.o board-sapphire-panel.o
299obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-mmc.o board-sapphire-wifi.o
300obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-rfkill.o msm_vibrator.o
301
302CFLAGS_msm_vibrator.o += -Idrivers/staging/android
303
304obj-$(CONFIG_ARCH_FSM9XXX) += board-fsm9xxx.o
305
306obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
307
308obj-$(CONFIG_HTC_PWRSINK) += htc_pwrsink.o
309obj-$(CONFIG_HTC_HEADSET) += htc_headset.o
310obj-$(CONFIG_MSM_RMT_STORAGE_CLIENT) += rmt_storage_client.o
311obj-$(CONFIG_MSM_SDIO_SMEM) += sdio_smem.o
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600312obj-$(CONFIG_MSM_RPM) += rpm.o
313ifdef CONFIG_MSM_RPM
314 obj-$(CONFIG_ARCH_APQ8064) += rpm_resources.o
315 obj-$(CONFIG_ARCH_MSM8960) += rpm_resources.o
316 obj-$(CONFIG_ARCH_MSM8X60) += rpm_resources.o
317 obj-$(CONFIG_ARCH_MSM9615) += rpm_resources.o
Mahesh Sivasubramanian64237a32012-05-16 16:23:07 -0600318endif
319ifdef CONFIG_MSM_RPM_SMD
Girish Mahadevan40abbe12012-04-25 14:58:13 -0600320 obj-$(CONFIG_ARCH_MSMCOPPER) += lpm_levels.o lpm_resources.o
Praveen Chidambaram85b7b282012-04-16 13:45:15 -0600321endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700322obj-$(CONFIG_MSM_MPM) += mpm.o
323obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o
324obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
Mona Hossain11c03ac2011-10-26 12:42:10 -0700325obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700326obj-$(CONFIG_MSM_XO) += msm_xo.o
327obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
Harini Jayaramanef7805f2011-09-28 12:45:31 -0600328obj-$(CONFIG_MSM_BUSPM_DEV) += msm-buspm-dev.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700329
Steve Mucklef132c6c2012-06-06 18:30:57 -0700330obj-$(CONFIG_MSM_IOMMU) += devices-iommu.o iommu_domains.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700331
332ifdef CONFIG_VCM
333obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-vcm.o
334endif
Naveen Ramarajbdf4dfe2012-04-23 14:09:50 -0700335obj-$(CONFIG_MSM_OCMEM) += ocmem.o ocmem_allocator.o ocmem_notifier.o
Naveen Ramaraj0f5e7ab2012-04-24 19:10:23 -0700336obj-$(CONFIG_MSM_OCMEM) += ocmem_sched.o ocmem_api.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700337
338obj-$(CONFIG_ARCH_MSM7X27) += gpiomux-7x27.o gpiomux-v1.o gpiomux.o
339obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-v1.o gpiomux.o
Gregory Bean1963a2a2010-08-28 10:05:44 -0700340obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-v1.o gpiomux.o
341obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700342obj-$(CONFIG_ARCH_MSM8960) += gpiomux-v2.o gpiomux.o
Joel King4ebccc62011-07-22 09:43:22 -0700343obj-$(CONFIG_ARCH_APQ8064) += gpiomux-v2.o gpiomux.o
Rohit Vaswani711859f2011-08-16 15:42:11 -0700344obj-$(CONFIG_ARCH_MSM9615) += gpiomux-v2.o gpiomux.o
Sathish Ambleyd4efc762011-10-09 22:19:22 -0700345obj-$(CONFIG_ARCH_MSMCOPPER) += gpiomux-v2.o gpiomux.o
Jin Hong690e3352012-05-02 09:25:05 -0700346obj-$(CONFIG_ARCH_MSM9625) += gpiomux-v2.o gpiomux.o
347
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700348
Krishna Vanka7f563ff2012-03-20 22:04:19 +0530349obj-$(CONFIG_MSM_SLEEP_STATS) += idle_stats.o
Lynus Vazdde09ee2012-01-05 13:28:22 +0530350obj-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += idle_stats_device.o
Praveen Chidambaram8ea3dcd2011-12-07 14:46:31 -0700351obj-$(CONFIG_MSM_DCVS) += msm_dcvs_scm.o msm_dcvs.o msm_dcvs_idle.o
Krishna Vanka7f563ff2012-03-20 22:04:19 +0530352obj-$(CONFIG_MSM_RUN_QUEUE_STATS) += msm_rq_stats.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700353obj-$(CONFIG_MSM_SHOW_RESUME_IRQ) += msm_show_resume_irq.o
354obj-$(CONFIG_BT_MSM_PINTEST) += btpintest.o
355obj-$(CONFIG_MSM_FAKE_BATTERY) += fish_battery.o
356obj-$(CONFIG_MSM_RPC_VIBRATOR) += msm_vibrator.o
357obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o
Justin Pauporea6cd2092011-06-22 16:19:45 -0700358
359obj-$(CONFIG_MSM_PROC_COMM_REGULATOR) += proccomm-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700360ifdef CONFIG_MSM_PROC_COMM_REGULATOR
Pankaj Kumar75c86fd2011-10-01 18:51:09 +0530361obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7627-regulator.o
362obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7627-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700363obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30-regulator.o
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700364obj-$(CONFIG_ARCH_MSM7X27A) += board-msm7x27a-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700365endif
Joel Kingb6f0f612011-11-01 16:59:14 -0700366
367obj-$(CONFIG_ARCH_MSM8960) += mdm2.o mdm_common.o
Laura Abbottad340ff2012-01-04 14:23:48 -0800368obj-$(CONFIG_MSM_RTB) += msm_rtb.o
Stepan Moskovchenko07552e12012-02-29 20:09:32 -0800369obj-$(CONFIG_MSM_CACHE_ERP) += cache_erp.o
Stepan Moskovchenko57884842012-06-07 17:35:49 -0700370obj-$(CONFIG_MSM_EBI_ERP) += ebi_erp.o
Laura Abbott306bcc22012-03-08 11:24:53 -0800371obj-$(CONFIG_MSM_CACHE_DUMP) += msm_cache_dump.o
Jack Phamccbbfab2012-04-09 19:50:20 -0700372
373obj-$(CONFIG_MSM_HSIC_SYSMON) += hsic_sysmon.o
374obj-$(CONFIG_MSM_HSIC_SYSMON_TEST) += hsic_sysmon_test.o
Mahesh Sivasubramaniana8ff9922012-03-27 17:50:42 -0600375
376obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd.o