blob: 931cb94f3fc3c4a32b1909c5184f1185ca718214 [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
Matt Wagantall6d9ebee2011-08-26 12:15:24 -070020obj-y += acpuclock.o
Rohit Vaswani711859f2011-08-16 15:42:11 -070021obj-$(CONFIG_ARCH_MSM7X01A) += acpuclock-7201.o
22obj-$(CONFIG_ARCH_MSM7X25) += acpuclock-7201.o
23obj-$(CONFIG_ARCH_MSM7X27) += acpuclock-7201.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070024obj-$(CONFIG_ARCH_MSM_SCORPION) += pmu.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070025obj-$(CONFIG_ARCH_MSM_KRAIT) += msm-krait-l2-accessors.o pmu.o
Neil Leederb618ec22011-08-26 10:22:28 -040026obj-$(CONFIG_ARCH_MSM7X27A) += pmu.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070027
28ifndef CONFIG_MSM_SMP
29obj-$(CONFIG_ARCH_MSM_SCORPION) += msm_fault_handlers.o
30endif
Brian Swetland30421022007-11-26 04:11:43 -080031
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080032obj-$(CONFIG_MSM_VIC) += irq-vic.o
Gregory Beanf9f3d312010-04-30 22:06:50 -070033
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070034ifdef CONFIG_ARCH_QSD8X50
35 obj-$(CONFIG_MSM_SOC_REV_NONE) += acpuclock-8x50.o
36endif
Stepan Moskovchenkodecd4a92010-12-09 19:16:13 -080037
Jeff Ohlsteine14411d2010-11-30 13:06:36 -080038obj-$(CONFIG_SMP) += headsmp.o platsmp.o
Jeff Ohlstein9f1890a2010-12-02 12:11:27 -080039
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070040obj-$(CONFIG_MSM_CPU_AVS) += avs.o
41obj-$(CONFIG_MSM_AVS_HW) += avs_hw.o
42obj-$(CONFIG_CPU_V6) += idle-v6.o
43obj-$(CONFIG_CPU_V7) += idle-v7.o
44obj-$(CONFIG_MSM_JTAG_V7) += jtag-v7.o
Daniel Walker4ad15e62010-05-06 13:54:17 -070045
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070046msm-etm-objs := cp14.o etm.o
47obj-$(CONFIG_MSM_ETM) += msm-etm.o
Pratik Patel7831c082011-06-08 21:44:37 -070048obj-$(CONFIG_MSM_QDSS) += qdss-etb.o qdss-tpiu.o qdss-funnel.o qdss-ptm.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070049
50quiet_cmd_mkrpcsym = MKCAP $@
51 cmd_mkrpcsym = $(PERL) $(srctree)/$(src)/mkrpcsym.pl $< $@
52
53target += smd_rpc_sym.c
54$(obj)/smd_rpc_sym.c: $(src)/smd_rpc_sym $(src)/mkrpcsym.pl
55 $(call if_changed,mkrpcsym)
56
57obj-$(CONFIG_MSM_SCM) += scm.o scm-boot.o
58obj-$(CONFIG_MSM_SECURE_IO) += scm-io.o
59obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
Stephen Boyde44ec392011-08-29 12:03:24 -070060obj-$(CONFIG_MSM_PIL) += scm-pas.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070061ifdef CONFIG_MSM_PIL
62obj-$(CONFIG_ARCH_MSM8X60) += peripheral-reset.o
63obj-$(CONFIG_ARCH_MSM8960) += peripheral-reset-8960.o
64endif
65obj-$(CONFIG_ARCH_QSD8X50) += sirc.o
66obj-$(CONFIG_ARCH_FSM9XXX) += sirc-fsm9xxx.o
67obj-$(CONFIG_MSM_FIQ_SUPPORT) += fiq_glue.o
68obj-$(CONFIG_MACH_TROUT) += board-trout-rfkill.o
69obj-$(CONFIG_MSM_SDIO_AL) += sdio_al.o
70obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_test.o
71obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dloader.o
72obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
73obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
74obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
75obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o
76 obj-y += socinfo.o
Jeff Hugo56b933a2011-09-28 14:42:05 -060077ifndef CONFIG_ARCH_MSM9615
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070078ifndef CONFIG_ARCH_MSM8960
79ifndef CONFIG_ARCH_MSM8X60
80 obj-$(CONFIG_MSM_SMD) += pmic.o
Sahitya Tummalae608c512011-09-05 09:41:06 +053081ifndef CONFIG_ARCH_APQ8064
82 obj-y += nand_partitions.o
83endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070084 obj-$(CONFIG_MSM_ONCRPCROUTER) += rpc_hsusb.o rpc_pmapp.o rpc_fsusb.o
85endif
86endif
Jeff Hugo56b933a2011-09-28 14:42:05 -060087endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070088obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o sdio_tty_ciq.o
89obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
90obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
91obj-$(CONFIG_MSM_SMD_PKT) += smd_pkt.o
92obj-$(CONFIG_MSM_SDIO_CMUX) += sdio_cmux.o
93obj-$(CONFIG_MSM_DSPS) += msm_dsps.o
94obj-$(CONFIG_MSM_SDIO_CTL) += sdio_ctl.o
95obj-$(CONFIG_MSM_SMD_NMEA) += smd_nmea.o
96obj-$(CONFIG_MSM_RESET_MODEM) += reset_modem.o
97obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
98obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter.o
99obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_device.o
100obj-$(CONFIG_MSM_IPC_ROUTER) += ipc_router.o
101obj-$(CONFIG_MSM_IPC_ROUTER)+= ipc_socket.o
102obj-$(CONFIG_DEBUG_FS) += smd_rpc_sym.o
103obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_servers.o
104obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_clients.o
105obj-$(CONFIG_MSM_ONCRPCROUTER) += smd_rpcrouter_xdr.o
106obj-$(CONFIG_MSM_ONCRPCROUTER) += rpcrouter_smd_xprt.o
107obj-$(CONFIG_MSM_RPC_SDIO_XPRT) += rpcrouter_sdio_xprt.o
108obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o
109obj-$(CONFIG_MSM_RPC_PROC_COMM_TEST) += proc_comm_test.o
110obj-$(CONFIG_MSM_RPC_PING) += ping_mdm_rpc_client.o ping_apps_server.o
111obj-$(CONFIG_MSM_RPC_OEM_RAPI) += oem_rapi_client.o
112obj-$(CONFIG_MSM_RPC_WATCHDOG) += rpc_dog_keepalive.o
113obj-$(CONFIG_MSM_RPCSERVER_WATCHDOG) += rpc_server_dog_keepalive.o
114obj-$(CONFIG_MSM_RPCSERVER_TIME_REMOTE) += rpc_server_time_remote.o
115obj-$(CONFIG_MSM_DALRPC) += dal.o
116obj-$(CONFIG_MSM_DALRPC_TEST) += dal_remotetest.o
117obj-$(CONFIG_ARCH_MSM7X30) += dal_axi.o
118obj-$(CONFIG_ARCH_MSM7X27A) += dal_axi.o
119obj-$(CONFIG_MSM_ADSP) += qdsp5/
120obj-$(CONFIG_MSM7KV2_AUDIO) += qdsp5v2/
121obj-$(CONFIG_MSM_RPCSERVER_HANDSET) += rpc_server_handset.o
122obj-$(CONFIG_MSM_QDSP6) += qdsp6/
123obj-$(CONFIG_MSM8X60_AUDIO) += qdsp6v2/
124obj-$(CONFIG_MSM_AUDIO_QDSP6) += qdsp6v2/
125obj-$(CONFIG_MSM_HW3D) += hw3d.o
126ifdef CONFIG_PM
127 obj-$(CONFIG_ARCH_MSM8960) += pm-8x60.o
128 obj-$(CONFIG_ARCH_MSM8X60) += pm-8x60.o
129 obj-$(CONFIG_ARCH_QSD8X50) += pm2.o
130 obj-$(CONFIG_ARCH_MSM7X30) += pm2.o
131 obj-$(CONFIG_ARCH_MSM7X27) += pm2.o
132 obj-$(CONFIG_ARCH_MSM7X27A) += pm2.o
133 obj-$(CONFIG_ARCH_MSM7X25) += pm.o
134 obj-$(CONFIG_ARCH_MSM7X01A) += pm.o
135else
136 obj-y += no-pm.o
137endif
138
139obj-$(CONFIG_MSM_SPM_V1) += spm.o
140obj-$(CONFIG_MSM_SPM_V2) += spm-v2.o spm_devices.o
141
142obj-$(CONFIG_MSM_DMA_TEST) += dma_test.o
143obj-$(CONFIG_SURF_FFA_GPIO_KEYPAD) += keypad-surf-ffa.o
144
145obj-$(CONFIG_ARCH_MSM7X01A) += board-halibut.o devices-msm7x01a.o clock-pcom-lookup.o
146obj-$(CONFIG_MACH_TROUT) += board-trout.o board-trout-gpio.o
147obj-$(CONFIG_MACH_TROUT) += board-trout-keypad.o board-trout-panel.o
148obj-$(CONFIG_MACH_TROUT) += htc_akm_cal.o htc_wifi_nvs.o htc_acoustic.o
149obj-$(CONFIG_MACH_TROUT) += board-trout-mmc.o board-trout-wifi.o
150obj-$(CONFIG_ARCH_QSD8X50) += devices-qsd8x50.o clock-pcom-lookup.o
151obj-$(CONFIG_MACH_QSD8X50_SURF) += board-qsd8x50.o
152obj-$(CONFIG_MACH_QSD8X50_FFA) += board-qsd8x50.o
153obj-$(CONFIG_ARCH_MSM8X60) += devices-msm8x60.o clock-local.o clock-8x60.o acpuclock-8x60.o
154obj-$(CONFIG_ARCH_MSM8X60) += clock-rpm.o
155obj-$(CONFIG_ARCH_MSM8X60) += saw-regulator.o
156obj-$(CONFIG_ARCH_MSM8X60) += rpm-regulator.o
157obj-$(CONFIG_ARCH_MSM8X60) += footswitch-8x60.o
158
159ifdef CONFIG_MSM_SUBSYSTEM_RESTART
160 obj-y += subsystem_notif.o
161 obj-y += subsystem_restart.o
162 obj-y += ramdump.o
163 obj-$(CONFIG_ARCH_MSM8X60) += subsystem-fatal-8x60.o
164endif
165obj-$(CONFIG_MSM_MODEM_8960) += modem-8960.o
Bharath Ramachandramurthyff061c72011-06-27 14:22:33 -0700166obj-$(CONFIG_MSM_LPASS_8960) += lpass-8960.o
Ankur Nandwanie258cf02011-08-19 10:16:38 -0700167obj-$(CONFIG_MSM_WCNSS_SSR_8960) += wcnss-ssr-8960.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700168
169ifdef CONFIG_CPU_IDLE
170 obj-$(CONFIG_ARCH_MSM8960) += cpuidle.o
171 obj-$(CONFIG_ARCH_MSM8X60) += cpuidle.o
172endif
173
174obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
175obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
176obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
Rohit Vaswanib18208a2011-07-12 13:04:28 -0700177obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700178
179obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
180obj-$(CONFIG_MACH_MSM8X60_RUMI3) += board-msm8x60.o
181obj-$(CONFIG_MACH_MSM8X60_SIM) += board-msm8x60.o
182obj-$(CONFIG_MACH_MSM8X60_SURF) += board-msm8x60.o
183obj-$(CONFIG_MACH_MSM8X60_FFA) += board-msm8x60.o
184obj-$(CONFIG_MACH_MSM8X60_FLUID) += board-msm8x60.o
Zhang Chang Kendbeb8c22011-08-09 10:05:54 -0400185obj-$(CONFIG_MACH_MSM8X60_DRAGON) += board-msm8x60.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700186obj-$(CONFIG_MACH_TYPE_MSM8X60_FUSION) += board-msm8x60.o mdm.o
187obj-$(CONFIG_MACH_MSM8X60_FUSN_FFA) += board-msm8x60.o mdm.o
188obj-$(CONFIG_TROUT_H2W) += board-trout-h2w.o
189obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
190obj-$(CONFIG_TROUT_PWRSINK) += htc_pwrsink.o
191obj-$(CONFIG_ARCH_MSM7X27) += clock-pcom-lookup.o
192obj-$(CONFIG_MACH_MSM7X27_SURF) += board-msm7x27.o devices-msm7x27.o
193obj-$(CONFIG_MACH_MSM7X27_FFA) += board-msm7x27.o devices-msm7x27.o
Taniya Das741b37d2011-09-13 10:26:11 +0530194obj-$(CONFIG_ARCH_MSM7X27A) += clock-pcom-lookup.o devices-msm7x27a.o
195obj-$(CONFIG_MACH_MSM7X27A_RUMI3) += board-msm7x27a.o
196obj-$(CONFIG_MACH_MSM7X27A_SURF) += board-msm7x27a.o
197obj-$(CONFIG_MACH_MSM7X27A_FFA) += board-msm7x27a.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700198obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30.o devices-msm7x30.o memory_topology.o
199obj-$(CONFIG_ARCH_MSM7X30) += clock-local.o clock-7x30.o acpuclock-7x30.o
200obj-$(CONFIG_MACH_MSM7X25_SURF) += board-msm7x27.o devices-msm7x25.o
201obj-$(CONFIG_MACH_MSM7X25_FFA) += board-msm7x27.o devices-msm7x25.o
202obj-$(CONFIG_ARCH_MSM8960) += clock-local.o clock-dss-8960.o clock-8960.o clock-rpm.o
203obj-$(CONFIG_ARCH_MSM8960) += footswitch-8x60.o
204obj-$(CONFIG_ARCH_MSM8960) += acpuclock-8960.o
Naveen Ramaraj76483ad2011-09-06 14:25:44 -0700205obj-$(CONFIG_ARCH_MSM8960) += saw-regulator.o rpm-regulator-8960.o memory_topology.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700206obj-$(CONFIG_MACH_MSM8960_SIM) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
207obj-$(CONFIG_MACH_MSM8960_RUMI3) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
208obj-$(CONFIG_MACH_MSM8960_CDP) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
209obj-$(CONFIG_MACH_MSM8960_MTP) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
210obj-$(CONFIG_MACH_MSM8960_FLUID) += board-msm8960.o devices-8960.o board-msm8960-regulator.o
211obj-$(CONFIG_ARCH_MSM8960) += bms-batterydata.o
Jay Chokshiea67c622011-07-29 17:12:26 -0700212obj-$(CONFIG_ARCH_APQ8064) += board-apq8064.o devices-8064.o board-apq8064-regulator.o
David Collins00b31e62011-08-31 20:00:10 -0700213obj-$(CONFIG_ARCH_MSM9615) += board-9615.o devices-9615.o board-9615-regulator.o
Matt Wagantall44f672e2011-09-07 20:31:16 -0700214obj-$(CONFIG_ARCH_MSM9615) += clock-local.o clock-9615.o acpuclock-9615.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700215
216obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire.o board-sapphire-gpio.o
217obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-keypad.o board-sapphire-panel.o
218obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-mmc.o board-sapphire-wifi.o
219obj-$(CONFIG_MACH_SAPPHIRE) += board-sapphire-rfkill.o msm_vibrator.o
220
221CFLAGS_msm_vibrator.o += -Idrivers/staging/android
222
223obj-$(CONFIG_ARCH_FSM9XXX) += board-fsm9xxx.o
224
225obj-$(CONFIG_TROUT_BATTCHG) += htc_battery.o
226
227obj-$(CONFIG_HTC_PWRSINK) += htc_pwrsink.o
228obj-$(CONFIG_HTC_HEADSET) += htc_headset.o
229obj-$(CONFIG_MSM_RMT_STORAGE_CLIENT) += rmt_storage_client.o
230obj-$(CONFIG_MSM_SDIO_SMEM) += sdio_smem.o
231obj-$(CONFIG_PMIC8058) += pmic8058-gpio.o pmic8058-mpp.o
232obj-$(CONFIG_MSM_RPM) += rpm.o rpm_resources.o
233obj-$(CONFIG_MSM_MPM) += mpm.o
234obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o
235obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
236obj-$(CONFIG_MSM_XO) += msm_xo.o
237obj-$(CONFIG_MSM_BUS_SCALING) += msm_bus/
238
239obj-$(CONFIG_MSM_IOMMU) += iommu.o iommu_dev.o devices-iommu.o iommu_domains.o
240
241ifdef CONFIG_VCM
242obj-$(CONFIG_ARCH_MSM8X60) += board-msm8x60-vcm.o
243endif
244
245obj-$(CONFIG_ARCH_MSM7X27) += gpiomux-7x27.o gpiomux-v1.o gpiomux.o
246obj-$(CONFIG_ARCH_MSM7X30) += gpiomux-7x30.o gpiomux-v1.o gpiomux.o
Gregory Bean1963a2a2010-08-28 10:05:44 -0700247obj-$(CONFIG_ARCH_QSD8X50) += gpiomux-8x50.o gpiomux-v1.o gpiomux.o
248obj-$(CONFIG_ARCH_MSM8X60) += gpiomux-8x60.o gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700249obj-$(CONFIG_ARCH_MSM8960) += gpiomux-v2.o gpiomux.o
Joel King4ebccc62011-07-22 09:43:22 -0700250obj-$(CONFIG_ARCH_APQ8064) += gpiomux-v2.o gpiomux.o
Rohit Vaswani711859f2011-08-16 15:42:11 -0700251obj-$(CONFIG_ARCH_MSM9615) += gpiomux-v2.o gpiomux.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700252
253ifdef CONFIG_FSM9XXX_TLMM
254obj-y += gpio-fsm9xxx.o
255else
Gregory Bean0cc2fc12010-11-24 11:53:51 -0800256ifdef CONFIG_MSM_V2_TLMM
257obj-y += gpio-v2.o
258else
Gregory Bean2783cc22010-09-10 15:03:36 -0700259obj-y += gpio.o
260endif
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700261endif
262
Lucille Sylvester611d0d92011-08-12 16:11:25 -0600263obj-$(CONFIG_MSM_SLEEP_STATS) += msm_rq_stats.o idle_stats.o idle_stats_device.o
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -0700264obj-$(CONFIG_MSM_SHOW_RESUME_IRQ) += msm_show_resume_irq.o
265obj-$(CONFIG_BT_MSM_PINTEST) += btpintest.o
266obj-$(CONFIG_MSM_FAKE_BATTERY) += fish_battery.o
267obj-$(CONFIG_MSM_RPC_VIBRATOR) += msm_vibrator.o
268obj-$(CONFIG_MSM_NATIVE_RESTART) += restart.o
Justin Pauporea6cd2092011-06-22 16:19:45 -0700269
270obj-$(CONFIG_MSM_PROC_COMM_REGULATOR) += proccomm-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700271ifdef CONFIG_MSM_PROC_COMM_REGULATOR
272obj-$(CONFIG_ARCH_MSM7X30) += board-msm7x30-regulator.o
Justin Pauporeb3a33b72011-08-23 15:30:32 -0700273obj-$(CONFIG_ARCH_MSM7X27A) += board-msm7x27a-regulator.o
Justin Paupore637a25d2011-07-14 17:11:04 -0700274endif