Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the linux kernel. |
| 4 | # |
| 5 | |
Jonas Rabenstein | e60ba93 | 2016-04-06 10:14:08 +0200 | [diff] [blame] | 6 | ccflags-y := -I$(srctree)/$(src)/include \ |
Tony Lindgren | a069486 | 2013-01-11 11:24:20 -0800 | [diff] [blame] | 7 | -I$(srctree)/arch/arm/plat-omap/include |
| 8 | |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 9 | # Common support |
Tony Lindgren | 2ee04b8 | 2020-05-07 09:59:31 -0700 | [diff] [blame] | 10 | obj-y := id.o io.o control.o devices.o fb.o pm.o \ |
Grygorii Strashko | 1494493 | 2016-11-21 11:26:27 -0600 | [diff] [blame] | 11 | common.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o \ |
Laurent Pinchart | d86bd82 | 2017-08-11 16:49:10 +0300 | [diff] [blame] | 12 | omap_device.o omap-headsmp.o sram.o |
Tony Lindgren | d760766 | 2009-05-25 11:26:47 -0700 | [diff] [blame] | 13 | |
Paul Walmsley | c02060d | 2013-02-10 11:22:23 -0700 | [diff] [blame] | 14 | hwmod-common = omap_hwmod.o omap_hwmod_reset.o \ |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 15 | omap_hwmod_common_data.o |
Tero Kristo | c06bfbe | 2015-03-02 17:06:59 +0200 | [diff] [blame] | 16 | clock-common = clock.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 17 | secure-common = omap-smc.o omap-secure.o |
Paul Walmsley | 445d12a | 2012-09-11 19:09:14 -0600 | [diff] [blame] | 18 | |
Tony Lindgren | 51c22d7 | 2020-02-21 09:29:45 -0800 | [diff] [blame] | 19 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 20 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) |
Tony Lindgren | cae26f3 | 2013-11-16 07:15:25 -0800 | [diff] [blame] | 21 | obj-$(CONFIG_ARCH_OMAP4) += $(hwmod-common) $(secure-common) |
Andrew F. Davis | c37baa0 | 2020-01-22 12:20:17 -0500 | [diff] [blame] | 22 | obj-$(CONFIG_SOC_AM33XX) += $(hwmod-common) $(secure-common) |
| 23 | obj-$(CONFIG_SOC_OMAP5) += $(hwmod-common) $(secure-common) |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 24 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) |
Tony Lindgren | cae26f3 | 2013-11-16 07:15:25 -0800 | [diff] [blame] | 25 | obj-$(CONFIG_SOC_DRA7XX) += $(hwmod-common) $(secure-common) |
Paul Walmsley | 445d12a | 2012-09-11 19:09:14 -0600 | [diff] [blame] | 26 | |
Peter Ujfalusi | 558eb0b | 2018-12-17 14:21:37 +0200 | [diff] [blame] | 27 | ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),) |
Peter Ujfalusi | 3ead467 | 2012-03-09 10:23:27 +0200 | [diff] [blame] | 28 | obj-y += mcbsp.o |
| 29 | endif |
Eduardo Valentin | 78673bc | 2008-07-03 12:24:40 +0300 | [diff] [blame] | 30 | |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_TWL4030_CORE) += omap_twl.o |
Tony Lindgren | d44fa15 | 2019-10-16 07:37:06 -0700 | [diff] [blame] | 32 | |
| 33 | ifneq ($(CONFIG_MFD_CPCAP),) |
| 34 | obj-y += pmic-cpcap.o |
| 35 | endif |
| 36 | |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 37 | obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o |
Thara Gopinath | fbc319f | 2010-12-10 22:51:05 +0530 | [diff] [blame] | 38 | |
Santosh Shilimkar | 934f8be7 | 2009-04-28 20:52:05 +0530 | [diff] [blame] | 39 | # SMP support ONLY available for OMAP4 |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 40 | |
Tony Lindgren | 0573b95 | 2016-06-22 01:59:39 -0700 | [diff] [blame] | 41 | smp-$(CONFIG_SMP) += omap-smp.o |
Arnd Bergmann | 572b16d | 2013-04-30 22:24:50 +0200 | [diff] [blame] | 42 | smp-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o |
Mohammed, Afzal | 22fe3b8 | 2013-06-24 08:13:45 +0000 | [diff] [blame] | 43 | omap-4-5-common = omap4-common.o omap-wakeupgen.o |
| 44 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
| 45 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 46 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) |
Tony Lindgren | 26273e0 | 2013-11-15 08:27:29 -0800 | [diff] [blame] | 47 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
Santosh Shilimkar | d660f9a | 2010-03-11 07:33:46 +0000 | [diff] [blame] | 48 | |
Arnd Bergmann | d2353ba | 2020-05-29 22:16:45 +0200 | [diff] [blame] | 49 | omap5-dra7-common-$(CONFIG_SOC_HAS_REALTIME_COUNTER) = timer.o |
| 50 | obj-$(CONFIG_SOC_OMAP5) += $(omap5-dra7-common-y) |
| 51 | obj-$(CONFIG_SOC_DRA7XX) += $(omap5-dra7-common-y) |
Tony Lindgren | d86ad46 | 2020-05-28 08:54:53 -0700 | [diff] [blame] | 52 | |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 53 | # Functions loaded to SRAM |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 54 | obj-$(CONFIG_SOC_OMAP2420) += sram242x.o |
| 55 | obj-$(CONFIG_SOC_OMAP2430) += sram243x.o |
Tony Lindgren | c2d43e3 | 2008-07-03 12:24:38 +0300 | [diff] [blame] | 56 | |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 57 | # Restart code (OMAP4/5 currently in omap4-common.c) |
| 58 | obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o |
| 59 | obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o |
Tony Lindgren | bc7235c | 2015-01-14 17:37:16 -0800 | [diff] [blame] | 60 | obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o |
Jean-Sebastien A. Beaudry | 14e067c1 | 2013-01-23 16:02:40 -0500 | [diff] [blame] | 61 | obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o |
Lokesh Vutla | a7daf64 | 2014-02-28 12:43:45 -0700 | [diff] [blame] | 62 | obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 63 | obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o |
Afzal Mohammed | ab4c2e1 | 2013-05-27 20:05:19 +0530 | [diff] [blame] | 64 | obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o |
| 65 | obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o |
Rajendra Nayak | 1d597b0 | 2013-07-09 13:02:15 +0530 | [diff] [blame] | 66 | obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o |
Paul Walmsley | 2f334a3 | 2012-10-29 20:56:07 -0600 | [diff] [blame] | 67 | |
Paul Walmsley | f2ab997 | 2009-01-28 12:27:37 -0700 | [diff] [blame] | 68 | # SMS/SDRC |
| 69 | obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o |
| 70 | # obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o |
| 71 | |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 72 | # OPP table initialization |
| 73 | ifeq ($(CONFIG_PM_OPP),y) |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 74 | obj-$(CONFIG_ARCH_OMAP3) += opp3xxx_data.o |
Nishanth Menon | f5a6422 | 2010-12-09 09:13:47 -0600 | [diff] [blame] | 75 | obj-$(CONFIG_ARCH_OMAP4) += opp4xxx_data.o |
Nishanth Menon | fd1478c | 2010-12-09 09:13:46 -0600 | [diff] [blame] | 76 | endif |
| 77 | |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 78 | # Power Management |
Tony Lindgren | b3bf289 | 2016-07-03 23:29:45 -0700 | [diff] [blame] | 79 | omap-4-5-pm-common = omap-mpuss-lowpower.o |
| 80 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-pm-common) |
Tony Lindgren | da6d599 | 2016-11-07 16:50:10 -0700 | [diff] [blame] | 81 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-pm-common) |
Tony Lindgren | 0b4b61c | 2012-11-14 08:40:00 -0800 | [diff] [blame] | 82 | |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 83 | ifeq ($(CONFIG_PM),y) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 84 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o |
| 85 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 86 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o |
Tony Lindgren | b3bf289 | 2016-07-03 23:29:45 -0700 | [diff] [blame] | 87 | omap-4-5-pm-common += pm44xx.o |
Nishanth Menon | 377fb3f | 2014-09-09 12:15:33 -0500 | [diff] [blame] | 88 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-pm-common) |
| 89 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-pm-common) |
| 90 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-pm-common) |
Dave Gerlach | 41d9d44 | 2018-02-23 09:43:56 -0600 | [diff] [blame] | 91 | obj-$(CONFIG_SOC_AM33XX) += pm33xx-core.o sleep33xx.o |
| 92 | obj-$(CONFIG_SOC_AM43XX) += pm33xx-core.o sleep43xx.o |
Kevin Hilman | 8bd2294 | 2009-05-28 10:56:16 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
Jean Pihet | 7fb149f | 2012-04-24 11:38:50 +0530 | [diff] [blame] | 94 | |
Jean Pihet | 21ff63a | 2012-04-25 16:43:17 +0530 | [diff] [blame] | 95 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 96 | obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o |
Tony Lindgren | 56213ca | 2010-02-12 12:26:46 -0800 | [diff] [blame] | 97 | |
Tony Lindgren | 1835f1d | 2008-10-06 15:49:15 +0300 | [diff] [blame] | 98 | endif |
Tony Lindgren | 120db2c | 2006-04-02 17:46:27 +0100 | [diff] [blame] | 99 | |
Daniel Lezcano | 164e0cb | 2012-05-10 12:02:57 +0200 | [diff] [blame] | 100 | ifeq ($(CONFIG_CPU_IDLE),y) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 101 | obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o |
Nishanth Menon | 377fb3f | 2014-09-09 12:15:33 -0500 | [diff] [blame] | 102 | omap-4-5-idle-common = cpuidle44xx.o |
| 103 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-idle-common) |
| 104 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-idle-common) |
| 105 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-idle-common) |
Daniel Lezcano | 164e0cb | 2012-05-10 12:02:57 +0200 | [diff] [blame] | 106 | endif |
| 107 | |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 108 | # PRCM |
Paul Walmsley | b99db36 | 2012-10-29 20:59:29 -0600 | [diff] [blame] | 109 | obj-y += prm_common.o cm_common.o |
Paul Walmsley | ff4ae5d | 2012-10-21 01:01:11 -0600 | [diff] [blame] | 110 | obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o |
| 111 | obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o |
Paul Walmsley | df47adb | 2012-09-11 19:09:15 -0600 | [diff] [blame] | 112 | obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o |
Tero Kristo | 88f9474 | 2014-10-27 08:39:25 -0700 | [diff] [blame] | 113 | omap-prcm-4-5-common = cminst44xx.o prm44xx.o \ |
R Sricharan | 05e152c | 2012-06-05 16:21:32 +0530 | [diff] [blame] | 114 | prcm_mpu44xx.o prminst44xx.o \ |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 115 | vc44xx_data.o vp44xx_data.o |
Paul Walmsley | df47adb | 2012-09-11 19:09:15 -0600 | [diff] [blame] | 116 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) |
R Sricharan | 05e152c | 2012-06-05 16:21:32 +0530 | [diff] [blame] | 117 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 118 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) |
Dave Gerlach | 98bbc11 | 2014-06-15 16:02:17 -0600 | [diff] [blame] | 119 | am33xx-43xx-prcm-common += prm33xx.o cm33xx.o |
Tony Lindgren | 4d38bd1 | 2015-01-26 09:26:32 -0800 | [diff] [blame] | 120 | obj-$(CONFIG_SOC_TI81XX) += $(am33xx-43xx-prcm-common) |
Dave Gerlach | 98bbc11 | 2014-06-15 16:02:17 -0600 | [diff] [blame] | 121 | obj-$(CONFIG_SOC_AM33XX) += $(am33xx-43xx-prcm-common) |
| 122 | obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common) \ |
| 123 | $(am33xx-43xx-prcm-common) |
Paul Walmsley | c0718df | 2011-03-10 22:17:45 -0700 | [diff] [blame] | 124 | |
| 125 | # OMAP voltage domains |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 126 | voltagedomain-common := voltage.o vc.o vp.o |
| 127 | obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 128 | obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 129 | obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 130 | obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 131 | obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 132 | obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 133 | obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 134 | obj-$(CONFIG_SOC_AM43XX) += $(voltagedomain-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 135 | obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 136 | obj-$(CONFIG_SOC_OMAP5) += voltagedomains54xx_data.o |
Tero Kristo | 68b9f60 | 2014-01-10 11:25:28 +0200 | [diff] [blame] | 137 | obj-$(CONFIG_SOC_DRA7XX) += $(voltagedomain-common) |
Rajendra Nayak | 74bea6b | 2010-12-21 20:01:17 -0700 | [diff] [blame] | 138 | |
| 139 | # OMAP powerdomain framework |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 140 | powerdomain-common += powerdomain.o powerdomain-common.o |
| 141 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 142 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 143 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 144 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 145 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o |
| 146 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 147 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 148 | obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 149 | obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common) |
Vaibhav Hiremath | 3f0ea76 | 2012-06-18 00:47:27 -0600 | [diff] [blame] | 150 | obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 151 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) |
Afzal Mohammed | d9df6e1 | 2013-10-12 15:46:28 +0530 | [diff] [blame] | 152 | obj-$(CONFIG_SOC_AM43XX) += powerdomains43xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 153 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 154 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 155 | obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common) |
Ambresh K | 97dd16b | 2013-07-09 13:02:13 +0530 | [diff] [blame] | 156 | obj-$(CONFIG_SOC_DRA7XX) += powerdomains7xx_data.o |
Paul Walmsley | 71348bc | 2009-09-03 20:14:02 +0300 | [diff] [blame] | 157 | |
Paul Walmsley | dc0b3a7 | 2010-12-21 20:01:20 -0700 | [diff] [blame] | 158 | # PRCM clockdomain control |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 159 | clockdomain-common += clockdomain.o |
| 160 | obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 161 | obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o |
Paul Walmsley | a5ffef6 | 2011-09-14 16:01:21 -0600 | [diff] [blame] | 162 | obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o |
| 163 | obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 164 | obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 165 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o |
| 166 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 167 | obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 168 | obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 169 | obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common) |
Vaibhav Hiremath | 9c80f3a | 2012-06-18 00:47:27 -0600 | [diff] [blame] | 170 | obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o |
Aida Mynzhasova | a64459c | 2015-01-26 09:26:32 -0800 | [diff] [blame] | 171 | obj-$(CONFIG_SOC_TI81XX) += $(clockdomain-common) |
| 172 | obj-$(CONFIG_SOC_TI81XX) += clockdomains81xx_data.o |
Afzal Mohammed | 33f82f33 | 2013-05-27 20:05:41 +0530 | [diff] [blame] | 173 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) |
Afzal Mohammed | d9df6e1 | 2013-10-12 15:46:28 +0530 | [diff] [blame] | 174 | obj-$(CONFIG_SOC_AM43XX) += clockdomains43xx_data.o |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 175 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 176 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o |
R Sricharan | bfe9211 | 2013-07-03 11:38:50 +0530 | [diff] [blame] | 177 | obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common) |
Ambresh K | 11fadcf | 2013-07-09 13:02:12 +0530 | [diff] [blame] | 178 | obj-$(CONFIG_SOC_DRA7XX) += clockdomains7xx_data.o |
Paul Walmsley | 530e544 | 2011-02-25 15:39:28 -0700 | [diff] [blame] | 179 | |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 180 | # Clock framework |
Tero Kristo | 846fdf2 | 2015-03-03 10:58:56 +0200 | [diff] [blame] | 181 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 182 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 183 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o |
Tero Kristo | ef14db0 | 2015-03-02 14:33:54 +0200 | [diff] [blame] | 184 | obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o |
Tero Kristo | 6f0051d | 2015-03-04 11:56:22 +0200 | [diff] [blame] | 185 | obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) |
Tero Kristo | c8c88d8 | 2013-07-18 16:04:00 +0300 | [diff] [blame] | 186 | obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) |
Tero Kristo | 0565fb1 | 2015-03-03 13:27:48 +0200 | [diff] [blame] | 187 | obj-$(CONFIG_SOC_AM33XX) += $(clock-common) |
Paul Walmsley | 139563a | 2012-10-21 01:01:10 -0600 | [diff] [blame] | 188 | obj-$(CONFIG_SOC_OMAP5) += $(clock-common) |
Tero Kristo | 87a85b6 | 2014-01-10 11:20:18 +0200 | [diff] [blame] | 189 | obj-$(CONFIG_SOC_DRA7XX) += $(clock-common) |
Tero Kristo | 0565fb1 | 2015-03-03 13:27:48 +0200 | [diff] [blame] | 190 | obj-$(CONFIG_SOC_AM43XX) += $(clock-common) |
Paul Walmsley | 657ebfa | 2010-02-22 22:09:20 -0700 | [diff] [blame] | 191 | |
| 192 | # OMAP2 clock rate set data (old "OPP" data) |
Tony Lindgren | 59b479e | 2011-01-27 16:39:40 -0800 | [diff] [blame] | 193 | obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o |
| 194 | obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o |
Paul Walmsley | 3d876e5 | 2008-03-18 14:41:40 +0200 | [diff] [blame] | 195 | |
Paul Walmsley | 7359154 | 2010-02-22 22:09:32 -0700 | [diff] [blame] | 196 | # hwmod data |
Sathya Prakash M R | 509efaf | 2014-07-05 17:44:57 -0600 | [diff] [blame] | 197 | obj-y += omap_hwmod_common_ipblock_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 198 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_ipblock_data.o |
| 199 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 200 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2xxx_interconnect_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 201 | obj-$(CONFIG_SOC_OMAP2420) += omap_hwmod_2420_data.o |
| 202 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_ipblock_data.o |
| 203 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
| 204 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2xxx_interconnect_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 205 | obj-$(CONFIG_SOC_OMAP2430) += omap_hwmod_2430_data.o |
| 206 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_2xxx_3xxx_ipblock_data.o |
Santosh Shilimkar | eb40155 | 2012-04-28 19:57:32 +0530 | [diff] [blame] | 207 | obj-$(CONFIG_ARCH_OMAP3) += omap_hwmod_3xxx_data.o |
Vaibhav Hiremath | a2cfc50 | 2012-07-25 13:51:13 -0600 | [diff] [blame] | 208 | obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_data.o |
Afzal Mohammed | 2664946 | 2013-10-12 15:44:46 +0530 | [diff] [blame] | 209 | obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_interconnect_data.o |
| 210 | obj-$(CONFIG_SOC_AM33XX) += omap_hwmod_33xx_43xx_ipblock_data.o |
Afzal Mohammed | d9df6e1 | 2013-10-12 15:46:28 +0530 | [diff] [blame] | 211 | obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_43xx_data.o |
| 212 | obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_interconnect_data.o |
| 213 | obj-$(CONFIG_SOC_AM43XX) += omap_hwmod_33xx_43xx_ipblock_data.o |
Tony Lindgren | 4d38bd1 | 2015-01-26 09:26:32 -0800 | [diff] [blame] | 214 | obj-$(CONFIG_SOC_TI81XX) += omap_hwmod_81xx_data.o |
Benoit Cousson | 55d2cb0 | 2010-05-12 17:54:36 +0200 | [diff] [blame] | 215 | obj-$(CONFIG_ARCH_OMAP4) += omap_hwmod_44xx_data.o |
Santosh Shilimkar | e4020aa | 2013-05-29 12:38:12 -0400 | [diff] [blame] | 216 | obj-$(CONFIG_SOC_OMAP5) += omap_hwmod_54xx_data.o |
Ambresh K | 90020c7 | 2013-07-09 13:02:16 +0530 | [diff] [blame] | 217 | obj-$(CONFIG_SOC_DRA7XX) += omap_hwmod_7xx_data.o |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 218 | |
Tony Lindgren | ad1b666 | 2012-05-08 17:23:33 -0600 | [diff] [blame] | 219 | # OMAP2420 MSDI controller integration support ("MMC") |
| 220 | obj-$(CONFIG_SOC_OMAP2420) += msdi.o |
| 221 | |
Tony Lindgren | 1dbae81 | 2005-11-10 14:26:51 +0000 | [diff] [blame] | 222 | # Specific board support |
Tony Lindgren | 6a08e1e | 2013-09-25 15:44:39 -0700 | [diff] [blame] | 223 | obj-$(CONFIG_MACH_OMAP_GENERIC) += board-generic.o pdata-quirks.o |
Kalle Valo | 6313881 | 2009-08-28 10:51:38 -0700 | [diff] [blame] | 224 | obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 225 | |
Felipe Balbi | 18cb7ac | 2009-03-23 18:34:06 -0700 | [diff] [blame] | 226 | # Platform specific device init code |
Tony Lindgren | f41cadd | 2011-08-22 23:57:23 -0700 | [diff] [blame] | 227 | |
Felipe Balbi | b3c3dc2 | 2011-07-10 12:22:20 +0300 | [diff] [blame] | 228 | obj-y += omap_phy_internal.o |
| 229 | |
Kalle Valo | 1b52d5d | 2009-08-28 10:51:37 -0700 | [diff] [blame] | 230 | obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o |
Dave Gerlach | 41d9d44 | 2018-02-23 09:43:56 -0600 | [diff] [blame] | 231 | |
Masahiro Yamada | ccf4975 | 2019-08-23 11:58:08 +0900 | [diff] [blame] | 232 | $(obj)/pm-asm-offsets.h: $(obj)/pm-asm-offsets.s FORCE |
Dave Gerlach | 41d9d44 | 2018-02-23 09:43:56 -0600 | [diff] [blame] | 233 | $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) |
| 234 | |
Masahiro Yamada | ccf4975 | 2019-08-23 11:58:08 +0900 | [diff] [blame] | 235 | $(obj)/sleep33xx.o $(obj)/sleep43xx.o: $(obj)/pm-asm-offsets.h |
Masahiro Yamada | 2c667d7 | 2018-12-22 18:50:34 +0900 | [diff] [blame] | 236 | |
| 237 | targets += pm-asm-offsets.s |
Masahiro Yamada | ccf4975 | 2019-08-23 11:58:08 +0900 | [diff] [blame] | 238 | clean-files += pm-asm-offsets.h |
Suman Anna | 3846a3b9 | 2019-08-07 11:26:45 +0300 | [diff] [blame] | 239 | |
| 240 | obj-$(CONFIG_OMAP_IOMMU) += omap-iommu.o |