ARM: tegra: pcie: Remove dock detect variable
[linux-3.10.git] / arch / arm / mach-tegra / Makefile
index 19d621c..d5f5f49 100644 (file)
@@ -1,70 +1,79 @@
 GCOV_PROFILE := y
 
 asflags-y                              += -march=armv7-a
-subdir-ccflags-y := -Werror
+#subdir-ccflags-y := -Werror
 
-obj-y                                   += board-pinmux.o
 obj-y                                   += ahb.o
 obj-y                                   += common.o
 obj-y                                   += devices.o
 obj-y                                   += board-info.o
 obj-y                                   += io.o
-obj-y                                   += irq.o
 obj-y                                   += clock.o
+ifneq ($(CONFIG_CLK_SRC_TEGRA_TIMER),y)
 obj-y                                   += timer.o
+endif
+obj-$(CONFIG_HAVE_ARM_TWD)              += cpu_timer_twd.o
 obj-y                                   += timerinfo.o
 ifneq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
 ifneq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
 obj-y                                   += mipi-cal.o
 endif
 endif
-ifeq ($(CONFIG_CPU_FREQ),y)
-obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_cpu_volt_cap.o
-endif
+
+obj-$(CONFIG_PM_SLEEP)                  += tegra-wakeups.o
+
+obj-$(CONFIG_TEGRA_CPU_VOLT_CAP)       += tegra_volt_cap.o
 ifeq ($(CONFIG_ARCH_TEGRA_2x_SOC),y)
 obj-y                                   += common-t2.o
 obj-y                                   += pm-t2.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)                += sleep-t20.o
+ifneq ($(CONFIG_CLK_SRC_TEGRA_TIMER),y)
 obj-y                                   += timer-t2.o
-obj-y                                   += wakeups-t2.o
+endif
+obj-$(CONFIG_PM_SLEEP)                  += wakeups-t2.o
 ifeq ($(CONFIG_CPU_IDLE),y)
 obj-$(CONFIG_PM_SLEEP)                  += cpuidle-t2.o
 endif
 else
-obj-y                                   += common-t3.o
 obj-y                                   += pm-t3.o
 obj-y                                   += sleep-t30.o
 obj-$(CONFIG_DEBUG_FS)                  += clocks_stats.o
+ifneq ($(CONFIG_CLK_SRC_TEGRA_TIMER),y)
 obj-y                                   += timer-t3.o
+endif
 obj-y                                   += tegra_core_volt_cap.o
+obj-y                                   += tegra_simon.o
 ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y)
-obj-y                                   += wakeups-t3.o
+obj-$(CONFIG_PM_SLEEP)                  += wakeups-t3.o
 endif
 ifeq ($(CONFIG_ARCH_TEGRA_14x_SOC),y)
-obj-y                                   += wakeups-t14x.o
+obj-$(CONFIG_PM_SLEEP)                  += wakeups-t14x.o
 endif
 ifeq ($(CONFIG_ARCH_TEGRA_11x_SOC),y)
-obj-y                                   += wakeups-t11x.o
+obj-$(CONFIG_PM_SLEEP)                  += wakeups-t11x.o
 endif
 ifeq ($(CONFIG_ARCH_TEGRA_12x_SOC),y)
-obj-y                                  += wakeups-t12x.o
+obj-$(CONFIG_PM_SLEEP)                 += wakeups-t12x.o
+endif
+
+ifeq ($(CONFIG_PM_SLEEP),y)
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += mc-timing-t12x.o
 endif
 
 ifeq ($(CONFIG_CPU_IDLE),y)
 ifeq ($(CONFIG_PM_SLEEP),y)
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpuidle-t3.o
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += cpuidle-t11x.o
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += cpuidle-t11x.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += cpuidle-t14x.o
 endif
 endif
 endif
 
-obj-y                                   += pinmux.o
 obj-y                                   += delay.o
 obj-y                                   += pm.o
 obj-$(CONFIG_TEGRA_WDT_RECOVERY)        += wdt-recovery.o
 obj-$(CONFIG_PM_SLEEP)                  += pm-irq.o
-obj-y                                   += gic.o
 
 obj-y                                   += sleep.o
 obj-$(CONFIG_TEGRA_USE_NCT)             += nct.o nct_sysfs.o
@@ -72,12 +81,8 @@ obj-$(CONFIG_TEGRA_USE_NCT)             += nct.o nct_sysfs.o
 plus_sec := $(call as-instr,.arch_extension sec,+sec)
 AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
 
-obj-y                                   += tegra_fuse.o
 obj-y                                   += kfuse.o
-obj-y                                   += csi.o
-obj-$(CONFIG_USB_SUPPORT)               += xusb.o
-obj-$(CONFIG_USB_SUPPORT)               += tegra_usb_pmc.o
-obj-$(CONFIG_USB_SUPPORT)               += tegra_usb_pad_ctrl.o
+obj-$(CONFIG_TEGRA_PTM)                 += tegra_ptm.o
 
 obj-y                                   += powergate.o
 obj-y                                   += powergate-ops-txx.o
@@ -86,11 +91,10 @@ obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += powergate-t20.o
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += powergate-t30.o
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += powergate-t11x.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += powergate-t14x.o
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += powergate-t12x.o
 
 obj-y                                   += apbio.o
 obj-y                                   += mc.o
-obj-$(CONFIG_FIQ)                       += fiq.o
-obj-$(CONFIG_TEGRA_FIQ_DEBUGGER)        += tegra_fiq_debugger.o
 obj-$(CONFIG_TEGRA_ARB_SEMAPHORE)       += arb_sema.o
 obj-$(CONFIG_PM_GENERIC_DOMAINS)        += pm_domains.o
 obj-y                                   += dvfs.o
@@ -100,21 +104,19 @@ obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_dvfs.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra_emc_therm.o
 
 obj-y                                   += latency_allowance.o
-obj-y                                   += tegra3_la.o
-obj-y                                   += tegra11x_la.o
-obj-y                                   += tegra14x_la.o
-ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
+obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_la.o
+obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11x_la.o
+obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14x_la.o
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12x_la.o
 obj-$(CONFIG_TEGRA_EDP_LIMITS)          += edp.o
 obj-$(CONFIG_TEGRA_CORE_EDP_LIMITS)     += edp_core.o
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_edp.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_edp.o
-endif
-ifeq ($(CONFIG_TEGRA_SILICON_PLATFORM),y)
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_edp.o
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_speedo.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_speedo.o
 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_speedo.o
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_actmon.o
-endif
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra3_actmon.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra3_actmon.o
 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra3_actmon.o
@@ -123,12 +125,9 @@ obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += tegra3_emc.o
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_emc.o
 obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra12_emc.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra14_emc.o
+obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra_emc_dt_parse.o
+obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += tegra_emc_dt_parse.o
 obj-y                                  += tegra_emc.o
-obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += pinmux-tegra20-tables.o
-obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += pinmux-tegra30-tables.o
-obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += pinmux-t11-tables.o
-obj-$(CONFIG_ARCH_TEGRA_12x_SOC)        += pinmux-t12-tables.o
-obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += pinmux-t14-tables.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)                += tegra20_speedo.o
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)                += tegra30_speedo.o
 obj-$(CONFIG_HOTPLUG_CPU)               += hotplug.o
@@ -153,7 +152,6 @@ else
 obj-$(CONFIG_ARCH_TEGRA_3x_SOC)         += cpu-tegra3.o
 endif
 endif
-obj-$(CONFIG_TEGRA_PCI)                 += pcie.o
 ifeq ($(CONFIG_TEGRA_SOCTHERM),y)
 obj-$(CONFIG_ARCH_TEGRA_11x_SOC)        += tegra11_soctherm.o
 obj-$(CONFIG_ARCH_TEGRA_14x_SOC)        += tegra11_soctherm.o
@@ -198,19 +196,14 @@ obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-panel.o
 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-pinmux.o
 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-power.o
 obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-sdhci.o
-
-obj-${CONFIG_MACH_CURACAO}              += board-curacao.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-panel.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-pinmux.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-power.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-sdhci.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-sensors.o
-obj-${CONFIG_MACH_CURACAO}              += board-curacao-memory.o
+obj-${CONFIG_MACH_BONAIRE}              += board-bonaire-sensors.o
 
 obj-y                                   += board-touch-raydium_spi.o
 obj-y                                   += board-touch-synaptics-spi.o
+obj-y                                   += board-touch-maxim_sti-spi.o
 
 obj-y                                   += board-panel.o
+obj-y                                   += panel-p-wuxga-10-1.o
 
 obj-${CONFIG_MACH_DALMORE}              += board-dalmore.o
 obj-${CONFIG_MACH_DALMORE}              += board-dalmore-memory.o
@@ -261,20 +254,74 @@ obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-j-720p-4-7.o
 obj-${CONFIG_MACH_TEGRA_PLUTO}          += panel-s-1080p-5.o
 
 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg.o
-obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-kbc.o
 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-sdhci.o
+obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-sata.o
 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-sensors.o
 obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-panel.o
-obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-pinmux.o
+obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-memory.o
+obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-power.o
+obj-${CONFIG_MACH_ARDBEG}               += board-tn8-power.o
+obj-${CONFIG_MACH_ARDBEG}               += board-norrin-power.o
+obj-${CONFIG_MACH_ARDBEG}               += board-ardbeg-powermon.o
 obj-${CONFIG_MACH_ARDBEG}               += panel-a-1080p-11-6.o
 obj-${CONFIG_MACH_ARDBEG}               += panel-p-wuxga-10-1.o
 obj-${CONFIG_MACH_ARDBEG}               += panel-s-wqxga-10-1.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-lgd-wxga-7-0.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-a-edp-1080p-14-0.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-s-edp-uhdtv-15-6.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-c-lvds-1366-14.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-s-edp-wqxgap-15-6.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-a-1200-1920-7-0.o
+obj-${CONFIG_MACH_ARDBEG}               += panel-a-1200-800-8-0.o
+ifeq ($(CONFIG_MACH_ARDBEG),y)
+obj-${CONFIG_SYSEDP_FRAMEWORK}          += board-tn8-sysedp.o
+obj-${CONFIG_SYSEDP_FRAMEWORK}          += board-ardbeg-sysedp.o
+endif
+
+obj-${CONFIG_MACH_LOKI}                += board-loki.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-kbc.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-sensors.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-panel.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-pinmux.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-memory.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-power.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-fan.o
+obj-${CONFIG_MACH_LOKI}                += board-tn8-power.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-powermon.o
+obj-${CONFIG_MACH_LOKI}                += board-loki-sdhci.o
+obj-${CONFIG_MACH_LOKI}                += panel-a-1080p-11-6.o
+obj-${CONFIG_MACH_LOKI}                += panel-p-wuxga-10-1.o
+obj-${CONFIG_MACH_LOKI}                += panel-s-wqxga-10-1.o
+obj-${CONFIG_MACH_LOKI}                += panel-a-edp-1080p-14-0.o
+obj-${CONFIG_MACH_LOKI}                += panel-l-720p-5-loki.o
+obj-${CONFIG_MACH_LOKI}                += panel-j-1440-810-5-8.o
+obj-${CONFIG_MACH_LOKI}                += panel-j-720p-5.o
+
+obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg.o
+obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-sdhci.o
+obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-sata.o
+obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-sensors.o
+obj-${CONFIG_MACH_LAGUNA}               += board-ardbeg-panel.o
+obj-${CONFIG_MACH_LAGUNA}               += board-laguna-power.o
+obj-${CONFIG_MACH_LAGUNA}               += board-laguna-powermon.o
+obj-${CONFIG_MACH_LAGUNA}               += panel-a-1080p-11-6.o
+obj-${CONFIG_MACH_LAGUNA}               += panel-p-wuxga-10-1.o
+obj-${CONFIG_MACH_LAGUNA}               += panel-s-wqxga-10-1.o
+obj-${CONFIG_MACH_LAGUNA}               += panel-a-1080p-14-0.o
+obj-${CONFIG_MACH_LAGUNA}               += panel-a-edp-1080p-14-0.o
+
+obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124.o
+obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-sdhci.o
+obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-pinmux.o
+obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-power.o
+obj-${CONFIG_MACH_VCM30_T124}           += board-vcm30_t124-panel.o
 
 obj-${CONFIG_TEGRA_BB_XMM_POWER}        += baseband-xmm-power.o
 obj-${CONFIG_TEGRA_BB_XMM_POWER2}       += baseband-xmm-power2.o
 
 obj-${CONFIG_TEGRA_BASEBAND}            += tegra_bb.o
 obj-$(CONFIG_TEGRA_BBC_PROXY)           += tegra_bbc_proxy.o
+obj-$(CONFIG_TEGRA_BBC_THERMAL)         += tegra_bbc_thermal.o
 
 obj-${CONFIG_TEGRA_ISOMGR}              += isomgr.o
 
@@ -290,3 +337,4 @@ obj-${CONFIG_MACH_ROTH}                 += board-roth-panel.o
 obj-${CONFIG_MACH_ROTH}                 += board-roth-kbc.o
 obj-${CONFIG_MACH_ROTH}                 += board-roth-sensors.o
 obj-${CONFIG_MACH_ROTH}                 += board-roth-fan.o
+obj-${CONFIG_MACH_ROTH}                 += board-roth-leds.o