From acba77976c6aa0553111dc8bf384eac148d7ffce Mon Sep 17 00:00:00 2001 From: dmitry pervushin Date: Sun, 3 Jul 2016 18:29:49 +0200 Subject: t18x: renaming KConfigs & Makefiles to add suffix Bug 1783210 Signed-off-by: dmitry pervushin Change-Id: I20c29b4dd5947d296a6ab1e83d47e569e386855b Reviewed-on: http://git-master/r/1176347 Reviewed-on: http://git-master/r/1177303 GVS: Gerrit_Virtual_Submit Reviewed-by: Alexander Van Brunt Tested-by: Alexander Van Brunt Reviewed-on: http://git-master/r/1183017 --- drivers/Makefile | 35 --------------- drivers/Makefile.t18x | 35 +++++++++++++++ drivers/clk/Makefile | 3 -- drivers/clk/Makefile.t18x | 3 ++ drivers/clk/tegra/Makefile | 4 -- drivers/clk/tegra/Makefile.t18x | 4 ++ drivers/clocksource/Kconfig | 6 --- drivers/clocksource/Kconfig.t18x | 6 +++ drivers/clocksource/Makefile | 1 - drivers/clocksource/Makefile.t18x | 1 + drivers/cpufreq/Makefile | 9 ---- drivers/cpufreq/Makefile.t18x | 9 ++++ drivers/cpuidle/Makefile | 1 - drivers/cpuidle/Makefile.t18x | 1 + drivers/crypto/Kconfig | 13 ------ drivers/crypto/Kconfig.t18x | 13 ++++++ drivers/crypto/Makefile | 10 ----- drivers/crypto/Makefile.t18x | 10 +++++ drivers/crypto/elliptic/Kconfig | 8 ---- drivers/crypto/elliptic/Kconfig.t18x | 8 ++++ drivers/crypto/elliptic/Makefile | 3 -- drivers/crypto/elliptic/Makefile.t18x | 3 ++ drivers/dma/Kconfig | 12 ----- drivers/dma/Kconfig.t18x | 12 +++++ drivers/dma/Makefile | 10 ----- drivers/dma/Makefile.t18x | 10 +++++ drivers/firmware/tegra/Makefile | 22 --------- drivers/firmware/tegra/Makefile.t18x | 22 +++++++++ drivers/gpio/Kconfig | 5 --- drivers/gpio/Kconfig.t18x | 5 +++ drivers/gpio/Makefile | 2 - drivers/gpio/Makefile.t18x | 2 + drivers/gpu/drm/tegra/Makefile | 11 ----- drivers/gpu/drm/tegra/Makefile.t18x | 11 +++++ drivers/gpu/host1x/Makefile | 8 ---- drivers/gpu/host1x/Makefile.t18x | 8 ++++ drivers/i2c/Makefile | 1 - drivers/i2c/Makefile.t18x | 1 + drivers/i2c/busses/Kconfig | 17 ------- drivers/i2c/busses/Kconfig.t18x | 17 +++++++ drivers/i2c/busses/Makefile | 3 -- drivers/i2c/busses/Makefile.t18x | 3 ++ drivers/misc/csi_mipi_cal/Kconfig | 5 --- drivers/misc/csi_mipi_cal/Kconfig.t18x | 5 +++ drivers/misc/csi_mipi_cal/Makefile | 8 ---- drivers/misc/csi_mipi_cal/Makefile.t18x | 8 ++++ drivers/misc/tegra186-ahc/Kconfig | 3 -- drivers/misc/tegra186-ahc/Kconfig.t18x | 3 ++ drivers/misc/tegra186-ahc/Makefile | 1 - drivers/misc/tegra186-ahc/Makefile.t18x | 1 + drivers/net/Makefile | 12 ----- drivers/net/Makefile.t18x | 12 +++++ drivers/net/can/Kconfig | 3 -- drivers/net/can/Kconfig.t18x | 3 ++ drivers/net/ethernet/Makefile | 12 ----- drivers/net/ethernet/Makefile.t18x | 12 +++++ drivers/net/ethernet/nvidia/Makefile | 12 ----- drivers/net/ethernet/nvidia/Makefile.t18x | 12 +++++ drivers/net/ethernet/nvidia/eqos/Kconfig | 41 ----------------- drivers/net/ethernet/nvidia/eqos/Kconfig.t18x | 41 +++++++++++++++++ drivers/net/ethernet/nvidia/eqos/Makefile | 32 ------------- drivers/net/ethernet/nvidia/eqos/Makefile.t18x | 32 +++++++++++++ drivers/padctrl/Kconfig | 8 ---- drivers/padctrl/Kconfig.t18x | 8 ++++ drivers/padctrl/Makefile | 6 --- drivers/padctrl/Makefile.t18x | 6 +++ drivers/pinctrl/Kconfig | 13 ------ drivers/pinctrl/Kconfig.t18x | 13 ++++++ drivers/pinctrl/Makefile | 6 --- drivers/pinctrl/Makefile.t18x | 6 +++ drivers/platform/Makefile | 1 - drivers/platform/Makefile.t18x | 1 + drivers/platform/tegra/Kconfig | 62 -------------------------- drivers/platform/tegra/Kconfig.t18x | 62 ++++++++++++++++++++++++++ drivers/platform/tegra/Makefile | 44 ------------------ drivers/platform/tegra/Makefile.t18x | 44 ++++++++++++++++++ drivers/platform/tegra/mc/Makefile | 10 ----- drivers/platform/tegra/mc/Makefile.t18x | 10 +++++ drivers/platform/tegra/nvadsp/Makefile | 6 --- drivers/platform/tegra/nvadsp/Makefile.t18x | 6 +++ drivers/platform/tegra/powergate/Makefile | 1 - drivers/platform/tegra/powergate/Makefile.t18x | 1 + drivers/platform/tegra/rtcpu/Makefile | 10 ----- drivers/platform/tegra/rtcpu/Makefile.t18x | 10 +++++ drivers/reset/Makefile | 1 - drivers/reset/Makefile.t18x | 1 + drivers/reset/tegra/Makefile | 2 - drivers/reset/tegra/Makefile.t18x | 2 + drivers/spi/Kconfig | 14 ------ drivers/spi/Kconfig.t18x | 14 ++++++ drivers/spi/Makefile | 8 ---- drivers/spi/Makefile.t18x | 8 ++++ drivers/staging/Makefile | 2 - drivers/staging/Makefile.t18x | 2 + drivers/staging/mttcan/Kconfig | 9 ---- drivers/staging/mttcan/Kconfig.t18x | 9 ++++ drivers/staging/mttcan/Makefile | 30 ------------- drivers/staging/mttcan/Makefile.t18x | 30 +++++++++++++ drivers/tachometer/Kconfig | 19 -------- drivers/tachometer/Kconfig.t18x | 19 ++++++++ drivers/tachometer/Makefile | 7 --- drivers/tachometer/Makefile.t18x | 7 +++ drivers/thermal/Makefile | 1 - drivers/thermal/Makefile.t18x | 1 + drivers/video/Makefile | 1 - drivers/video/Makefile.t18x | 1 + drivers/video/tegra/Makefile | 1 - drivers/video/tegra/Makefile.t18x | 1 + drivers/video/tegra/dc/Makefile | 2 - drivers/video/tegra/dc/Makefile.t18x | 2 + drivers/video/tegra/dc/nvdisp/Makefile | 19 -------- drivers/video/tegra/dc/nvdisp/Makefile.t18x | 19 ++++++++ drivers/watchdog/Kconfig | 9 ---- drivers/watchdog/Kconfig.t18x | 9 ++++ drivers/watchdog/Makefile | 2 - drivers/watchdog/Makefile.t18x | 2 + 116 files changed, 607 insertions(+), 607 deletions(-) delete mode 100644 drivers/Makefile create mode 100644 drivers/Makefile.t18x delete mode 100644 drivers/clk/Makefile create mode 100644 drivers/clk/Makefile.t18x delete mode 100644 drivers/clk/tegra/Makefile create mode 100644 drivers/clk/tegra/Makefile.t18x delete mode 100644 drivers/clocksource/Kconfig create mode 100644 drivers/clocksource/Kconfig.t18x delete mode 100644 drivers/clocksource/Makefile create mode 100644 drivers/clocksource/Makefile.t18x delete mode 100644 drivers/cpufreq/Makefile create mode 100644 drivers/cpufreq/Makefile.t18x delete mode 100644 drivers/cpuidle/Makefile create mode 100644 drivers/cpuidle/Makefile.t18x delete mode 100644 drivers/crypto/Kconfig create mode 100644 drivers/crypto/Kconfig.t18x delete mode 100644 drivers/crypto/Makefile create mode 100644 drivers/crypto/Makefile.t18x delete mode 100644 drivers/crypto/elliptic/Kconfig create mode 100644 drivers/crypto/elliptic/Kconfig.t18x delete mode 100644 drivers/crypto/elliptic/Makefile create mode 100644 drivers/crypto/elliptic/Makefile.t18x delete mode 100644 drivers/dma/Kconfig create mode 100644 drivers/dma/Kconfig.t18x delete mode 100644 drivers/dma/Makefile create mode 100644 drivers/dma/Makefile.t18x delete mode 100644 drivers/firmware/tegra/Makefile create mode 100644 drivers/firmware/tegra/Makefile.t18x delete mode 100644 drivers/gpio/Kconfig create mode 100644 drivers/gpio/Kconfig.t18x delete mode 100644 drivers/gpio/Makefile create mode 100644 drivers/gpio/Makefile.t18x delete mode 100644 drivers/gpu/drm/tegra/Makefile create mode 100644 drivers/gpu/drm/tegra/Makefile.t18x delete mode 100644 drivers/gpu/host1x/Makefile create mode 100644 drivers/gpu/host1x/Makefile.t18x delete mode 100644 drivers/i2c/Makefile create mode 100644 drivers/i2c/Makefile.t18x delete mode 100644 drivers/i2c/busses/Kconfig create mode 100644 drivers/i2c/busses/Kconfig.t18x delete mode 100644 drivers/i2c/busses/Makefile create mode 100644 drivers/i2c/busses/Makefile.t18x delete mode 100644 drivers/misc/csi_mipi_cal/Kconfig create mode 100644 drivers/misc/csi_mipi_cal/Kconfig.t18x delete mode 100644 drivers/misc/csi_mipi_cal/Makefile create mode 100644 drivers/misc/csi_mipi_cal/Makefile.t18x delete mode 100644 drivers/misc/tegra186-ahc/Kconfig create mode 100644 drivers/misc/tegra186-ahc/Kconfig.t18x delete mode 100644 drivers/misc/tegra186-ahc/Makefile create mode 100644 drivers/misc/tegra186-ahc/Makefile.t18x delete mode 100644 drivers/net/Makefile create mode 100644 drivers/net/Makefile.t18x delete mode 100644 drivers/net/can/Kconfig create mode 100644 drivers/net/can/Kconfig.t18x delete mode 100644 drivers/net/ethernet/Makefile create mode 100644 drivers/net/ethernet/Makefile.t18x delete mode 100644 drivers/net/ethernet/nvidia/Makefile create mode 100644 drivers/net/ethernet/nvidia/Makefile.t18x delete mode 100644 drivers/net/ethernet/nvidia/eqos/Kconfig create mode 100644 drivers/net/ethernet/nvidia/eqos/Kconfig.t18x delete mode 100644 drivers/net/ethernet/nvidia/eqos/Makefile create mode 100644 drivers/net/ethernet/nvidia/eqos/Makefile.t18x delete mode 100644 drivers/padctrl/Kconfig create mode 100644 drivers/padctrl/Kconfig.t18x delete mode 100644 drivers/padctrl/Makefile create mode 100644 drivers/padctrl/Makefile.t18x delete mode 100644 drivers/pinctrl/Kconfig create mode 100644 drivers/pinctrl/Kconfig.t18x delete mode 100644 drivers/pinctrl/Makefile create mode 100644 drivers/pinctrl/Makefile.t18x delete mode 100644 drivers/platform/Makefile create mode 100644 drivers/platform/Makefile.t18x delete mode 100644 drivers/platform/tegra/Kconfig create mode 100644 drivers/platform/tegra/Kconfig.t18x delete mode 100644 drivers/platform/tegra/Makefile create mode 100644 drivers/platform/tegra/Makefile.t18x delete mode 100644 drivers/platform/tegra/mc/Makefile create mode 100644 drivers/platform/tegra/mc/Makefile.t18x delete mode 100644 drivers/platform/tegra/nvadsp/Makefile create mode 100644 drivers/platform/tegra/nvadsp/Makefile.t18x delete mode 100644 drivers/platform/tegra/powergate/Makefile create mode 100644 drivers/platform/tegra/powergate/Makefile.t18x delete mode 100644 drivers/platform/tegra/rtcpu/Makefile create mode 100644 drivers/platform/tegra/rtcpu/Makefile.t18x delete mode 100644 drivers/reset/Makefile create mode 100644 drivers/reset/Makefile.t18x delete mode 100644 drivers/reset/tegra/Makefile create mode 100644 drivers/reset/tegra/Makefile.t18x delete mode 100644 drivers/spi/Kconfig create mode 100644 drivers/spi/Kconfig.t18x delete mode 100644 drivers/spi/Makefile create mode 100644 drivers/spi/Makefile.t18x delete mode 100644 drivers/staging/Makefile create mode 100644 drivers/staging/Makefile.t18x delete mode 100644 drivers/staging/mttcan/Kconfig create mode 100644 drivers/staging/mttcan/Kconfig.t18x delete mode 100644 drivers/staging/mttcan/Makefile create mode 100644 drivers/staging/mttcan/Makefile.t18x delete mode 100644 drivers/tachometer/Kconfig create mode 100644 drivers/tachometer/Kconfig.t18x delete mode 100644 drivers/tachometer/Makefile create mode 100644 drivers/tachometer/Makefile.t18x delete mode 100644 drivers/thermal/Makefile create mode 100644 drivers/thermal/Makefile.t18x delete mode 100644 drivers/video/Makefile create mode 100644 drivers/video/Makefile.t18x delete mode 100644 drivers/video/tegra/Makefile create mode 100644 drivers/video/tegra/Makefile.t18x delete mode 100644 drivers/video/tegra/dc/Makefile create mode 100644 drivers/video/tegra/dc/Makefile.t18x delete mode 100644 drivers/video/tegra/dc/nvdisp/Makefile create mode 100644 drivers/video/tegra/dc/nvdisp/Makefile.t18x delete mode 100644 drivers/watchdog/Kconfig create mode 100644 drivers/watchdog/Kconfig.t18x delete mode 100644 drivers/watchdog/Makefile create mode 100644 drivers/watchdog/Makefile.t18x (limited to 'drivers') diff --git a/drivers/Makefile b/drivers/Makefile deleted file mode 100644 index bf444bcf4..000000000 --- a/drivers/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -KBUILD_CFLAGS += -I$(srctree)/../t18x/include -obj-y += platform/ -obj-y += video/ -obj-y += clk/ -obj-$(CONFIG_CLK_SRC_TEGRA18_TIMER) += clocksource/ -obj-$(CONFIG_CRYPTO) += crypto/ -obj-y += dma/ -obj-y += spi/ -obj-$(CONFIG_TEGRA_BPMP) += firmware/tegra/ -obj-$(CONFIG_CPU_FREQ) += cpufreq/ -obj-y += pinctrl/ -obj-y += gpio/ -obj-y += watchdog/ -obj-y += reset/ -obj-$(CONFIG_THERMAL) += thermal/ -obj-$(CONFIG_STAGING) += staging/ -obj-y += i2c/ -obj-y += net/ -obj-$(CONFIG_CPU_IDLE) += cpuidle/ -obj-y += padctrl/ -obj-y += tachometer/ -obj-$(CONFIG_T186_CSI_MIPI_CAL) += misc/csi_mipi_cal/ -obj-$(CONFIG_TEGRA186_AHC) += misc/tegra186-ahc/ -obj-y += tty/ diff --git a/drivers/Makefile.t18x b/drivers/Makefile.t18x new file mode 100644 index 000000000..bf444bcf4 --- /dev/null +++ b/drivers/Makefile.t18x @@ -0,0 +1,35 @@ +# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +KBUILD_CFLAGS += -I$(srctree)/../t18x/include +obj-y += platform/ +obj-y += video/ +obj-y += clk/ +obj-$(CONFIG_CLK_SRC_TEGRA18_TIMER) += clocksource/ +obj-$(CONFIG_CRYPTO) += crypto/ +obj-y += dma/ +obj-y += spi/ +obj-$(CONFIG_TEGRA_BPMP) += firmware/tegra/ +obj-$(CONFIG_CPU_FREQ) += cpufreq/ +obj-y += pinctrl/ +obj-y += gpio/ +obj-y += watchdog/ +obj-y += reset/ +obj-$(CONFIG_THERMAL) += thermal/ +obj-$(CONFIG_STAGING) += staging/ +obj-y += i2c/ +obj-y += net/ +obj-$(CONFIG_CPU_IDLE) += cpuidle/ +obj-y += padctrl/ +obj-y += tachometer/ +obj-$(CONFIG_T186_CSI_MIPI_CAL) += misc/csi_mipi_cal/ +obj-$(CONFIG_TEGRA186_AHC) += misc/tegra186-ahc/ +obj-y += tty/ diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile deleted file mode 100644 index 22cf42275..000000000 --- a/drivers/clk/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -ifeq ($(CONFIG_COMMON_CLK), y) -obj-$(CONFIG_PLATFORM_TEGRA) += tegra/ -endif diff --git a/drivers/clk/Makefile.t18x b/drivers/clk/Makefile.t18x new file mode 100644 index 000000000..22cf42275 --- /dev/null +++ b/drivers/clk/Makefile.t18x @@ -0,0 +1,3 @@ +ifeq ($(CONFIG_COMMON_CLK), y) +obj-$(CONFIG_PLATFORM_TEGRA) += tegra/ +endif diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile deleted file mode 100644 index 6d21f2b91..000000000 --- a/drivers/clk/tegra/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -ccflags-y += -Werror -ccflags-y += -I$(srctree)/drivers/clk/tegra -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += clk-tegra18x.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += clk-bpmp.o diff --git a/drivers/clk/tegra/Makefile.t18x b/drivers/clk/tegra/Makefile.t18x new file mode 100644 index 000000000..6d21f2b91 --- /dev/null +++ b/drivers/clk/tegra/Makefile.t18x @@ -0,0 +1,4 @@ +ccflags-y += -Werror +ccflags-y += -I$(srctree)/drivers/clk/tegra +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += clk-tegra18x.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += clk-bpmp.o diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig deleted file mode 100644 index f5816dc8e..000000000 --- a/drivers/clocksource/Kconfig +++ /dev/null @@ -1,6 +0,0 @@ -config CLK_SRC_TEGRA18_TIMER - bool "Clocksource for tegra18 based SOC's" - depends on PLATFORM_TEGRA - help - This is the tegra18 SOC timer driver. - diff --git a/drivers/clocksource/Kconfig.t18x b/drivers/clocksource/Kconfig.t18x new file mode 100644 index 000000000..f5816dc8e --- /dev/null +++ b/drivers/clocksource/Kconfig.t18x @@ -0,0 +1,6 @@ +config CLK_SRC_TEGRA18_TIMER + bool "Clocksource for tegra18 based SOC's" + depends on PLATFORM_TEGRA + help + This is the tegra18 SOC timer driver. + diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile deleted file mode 100644 index 7a169c183..000000000 --- a/drivers/clocksource/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_CLK_SRC_TEGRA18_TIMER) += tegra186_timer.o diff --git a/drivers/clocksource/Makefile.t18x b/drivers/clocksource/Makefile.t18x new file mode 100644 index 000000000..7a169c183 --- /dev/null +++ b/drivers/clocksource/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_CLK_SRC_TEGRA18_TIMER) += tegra186_timer.o diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile deleted file mode 100644 index 3d5550a2b..000000000 --- a/drivers/cpufreq/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -GCOV_PROFILE := y - -subdir-ccflags-y += -Werror - -################################################################################ -# tegra platform drivers -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_cpufreq.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_cluster_clk.o -################################################################################ diff --git a/drivers/cpufreq/Makefile.t18x b/drivers/cpufreq/Makefile.t18x new file mode 100644 index 000000000..3d5550a2b --- /dev/null +++ b/drivers/cpufreq/Makefile.t18x @@ -0,0 +1,9 @@ +GCOV_PROFILE := y + +subdir-ccflags-y += -Werror + +################################################################################ +# tegra platform drivers +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_cpufreq.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_cluster_clk.o +################################################################################ diff --git a/drivers/cpuidle/Makefile b/drivers/cpuidle/Makefile deleted file mode 100644 index a491dac2e..000000000 --- a/drivers/cpuidle/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_CPU_IDLE_TEGRA18X) += cpuidle-tegra18x.o diff --git a/drivers/cpuidle/Makefile.t18x b/drivers/cpuidle/Makefile.t18x new file mode 100644 index 000000000..a491dac2e --- /dev/null +++ b/drivers/cpuidle/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_CPU_IDLE_TEGRA18X) += cpuidle-tegra18x.o diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig deleted file mode 100644 index fdf167bb1..000000000 --- a/drivers/crypto/Kconfig +++ /dev/null @@ -1,13 +0,0 @@ - -config CRYPTO_DEV_TEGRA_SE_USE_HOST1X_INTERFACE - tristate "Use Host1x Interface for Tegra SE crypto algorithms" - depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE - help - This allows you to use Host1x Memory Interface for Tegra SE Driver - Crypto algorithms. - -config CRYPTO_DEV_TEGRA_VIRTUAL_SE_INTERFACE - tristate "Virtual SE interface for Tegra SE crypto algorithms" - depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE - help - This allows you to use Virtual SE interface for Tegra Crypto algorithms. diff --git a/drivers/crypto/Kconfig.t18x b/drivers/crypto/Kconfig.t18x new file mode 100644 index 000000000..fdf167bb1 --- /dev/null +++ b/drivers/crypto/Kconfig.t18x @@ -0,0 +1,13 @@ + +config CRYPTO_DEV_TEGRA_SE_USE_HOST1X_INTERFACE + tristate "Use Host1x Interface for Tegra SE crypto algorithms" + depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE + help + This allows you to use Host1x Memory Interface for Tegra SE Driver + Crypto algorithms. + +config CRYPTO_DEV_TEGRA_VIRTUAL_SE_INTERFACE + tristate "Virtual SE interface for Tegra SE crypto algorithms" + depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE + help + This allows you to use Virtual SE interface for Tegra Crypto algorithms. diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile deleted file mode 100644 index 0a79e4d75..000000000 --- a/drivers/crypto/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -GCOV_PROFILE := y - -ccflags-y += -I$(srctree)/../nvhost-t18x/drivers/video/tegra/host -ccflags-y += -I$(srctree)/drivers/video/tegra/host -ccflags-y += -I$(srctree)/../nvhost/drivers/video/tegra/host -ccflags-y += -I$(srctree)/../nvhost/include -ccflags-y += -I$(srctree)/include -obj-$(CONFIG_CRYPTO_DEV_TEGRA_SE_USE_HOST1X_INTERFACE) += tegra-se-nvhost.o -obj-$(CONFIG_CRYPTO_DEV_TEGRA_VIRTUAL_SE_INTERFACE) += tegra-hv-vse.o -obj-$(CONFIG_CRYPTO_DEV_TEGRA_ELLIPTIC_SE) += elliptic/ diff --git a/drivers/crypto/Makefile.t18x b/drivers/crypto/Makefile.t18x new file mode 100644 index 000000000..0a79e4d75 --- /dev/null +++ b/drivers/crypto/Makefile.t18x @@ -0,0 +1,10 @@ +GCOV_PROFILE := y + +ccflags-y += -I$(srctree)/../nvhost-t18x/drivers/video/tegra/host +ccflags-y += -I$(srctree)/drivers/video/tegra/host +ccflags-y += -I$(srctree)/../nvhost/drivers/video/tegra/host +ccflags-y += -I$(srctree)/../nvhost/include +ccflags-y += -I$(srctree)/include +obj-$(CONFIG_CRYPTO_DEV_TEGRA_SE_USE_HOST1X_INTERFACE) += tegra-se-nvhost.o +obj-$(CONFIG_CRYPTO_DEV_TEGRA_VIRTUAL_SE_INTERFACE) += tegra-hv-vse.o +obj-$(CONFIG_CRYPTO_DEV_TEGRA_ELLIPTIC_SE) += elliptic/ diff --git a/drivers/crypto/elliptic/Kconfig b/drivers/crypto/elliptic/Kconfig deleted file mode 100644 index 94de6bbae..000000000 --- a/drivers/crypto/elliptic/Kconfig +++ /dev/null @@ -1,8 +0,0 @@ -# SE Elliptic Engine Driver -config CRYPTO_DEV_TEGRA_ELLIPTIC_SE - tristate "Tegra SE for Elliptic crypto algorithms" - depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE - help - This option allows you to have support of Security Engine for Elliptic - Crypto Algorithms - diff --git a/drivers/crypto/elliptic/Kconfig.t18x b/drivers/crypto/elliptic/Kconfig.t18x new file mode 100644 index 000000000..94de6bbae --- /dev/null +++ b/drivers/crypto/elliptic/Kconfig.t18x @@ -0,0 +1,8 @@ +# SE Elliptic Engine Driver +config CRYPTO_DEV_TEGRA_ELLIPTIC_SE + tristate "Tegra SE for Elliptic crypto algorithms" + depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE + help + This option allows you to have support of Security Engine for Elliptic + Crypto Algorithms + diff --git a/drivers/crypto/elliptic/Makefile b/drivers/crypto/elliptic/Makefile deleted file mode 100644 index 021598bb6..000000000 --- a/drivers/crypto/elliptic/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -GCOV_PROFILE := y - -obj-$(CONFIG_CRYPTO_DEV_TEGRA_ELLIPTIC_SE) += tegra-se-elp.o diff --git a/drivers/crypto/elliptic/Makefile.t18x b/drivers/crypto/elliptic/Makefile.t18x new file mode 100644 index 000000000..021598bb6 --- /dev/null +++ b/drivers/crypto/elliptic/Makefile.t18x @@ -0,0 +1,3 @@ +GCOV_PROFILE := y + +obj-$(CONFIG_CRYPTO_DEV_TEGRA_ELLIPTIC_SE) += tegra-se-elp.o diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig deleted file mode 100644 index 90487df10..000000000 --- a/drivers/dma/Kconfig +++ /dev/null @@ -1,12 +0,0 @@ -config TEGRA186_GPC_DMA - bool "NVIDIA Tegra186 GPC DMA support" - depends on ARCH_TEGRA_18x_SOC - select DMA_ENGINE - help - Support for the NVIDIA Tegra186 GPC DMA controller driver. The - DMA controller is having multiple DMA channel which can be - configured for different peripherals like UART, SPI, etc which - are on APB bus. - This DMA controller transfers data from memory to peripheral fifo - or vice versa. It also supports memory to memory data transfer. - diff --git a/drivers/dma/Kconfig.t18x b/drivers/dma/Kconfig.t18x new file mode 100644 index 000000000..90487df10 --- /dev/null +++ b/drivers/dma/Kconfig.t18x @@ -0,0 +1,12 @@ +config TEGRA186_GPC_DMA + bool "NVIDIA Tegra186 GPC DMA support" + depends on ARCH_TEGRA_18x_SOC + select DMA_ENGINE + help + Support for the NVIDIA Tegra186 GPC DMA controller driver. The + DMA controller is having multiple DMA channel which can be + configured for different peripherals like UART, SPI, etc which + are on APB bus. + This DMA controller transfers data from memory to peripheral fifo + or vice versa. It also supports memory to memory data transfer. + diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile deleted file mode 100644 index ededc4838..000000000 --- a/drivers/dma/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG -ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG - -ccflags-y += -Werror -ccflags-$(CONFIG_DMADEVICES) += -I$(srctree)/drivers/dma -ccflags-$(CONFIG_DMADEVICES) += -I$(srctree) -ccflags-$(CONFIG_DMADEVICES) += -I$(srctree)/../t18x - -obj-$(CONFIG_TEGRA186_GPC_DMA) += tegra186-gpc-dma.o -obj-$(CONFIG_TEGRA186_ADMA) += tegra18x-adma.o diff --git a/drivers/dma/Makefile.t18x b/drivers/dma/Makefile.t18x new file mode 100644 index 000000000..ededc4838 --- /dev/null +++ b/drivers/dma/Makefile.t18x @@ -0,0 +1,10 @@ +ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG +ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG + +ccflags-y += -Werror +ccflags-$(CONFIG_DMADEVICES) += -I$(srctree)/drivers/dma +ccflags-$(CONFIG_DMADEVICES) += -I$(srctree) +ccflags-$(CONFIG_DMADEVICES) += -I$(srctree)/../t18x + +obj-$(CONFIG_TEGRA186_GPC_DMA) += tegra186-gpc-dma.o +obj-$(CONFIG_TEGRA186_ADMA) += tegra18x-adma.o diff --git a/drivers/firmware/tegra/Makefile b/drivers/firmware/tegra/Makefile deleted file mode 100644 index 95e6f7fe4..000000000 --- a/drivers/firmware/tegra/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -ccflags-y += -Idrivers/firmware/tegra -ccflags-y += -I../t18x/include -subdir-ccflags-y += -Werror - -obj-y += mail_t186.o -obj-y += mail_native_ivc.o -obj-$(CONFIG_TEGRA_HV_MANAGER) += bpmp_virt.o -obj-$(CONFIG_TEGRA_HV_MANAGER) += mail_virt_ivc.o diff --git a/drivers/firmware/tegra/Makefile.t18x b/drivers/firmware/tegra/Makefile.t18x new file mode 100644 index 000000000..95e6f7fe4 --- /dev/null +++ b/drivers/firmware/tegra/Makefile.t18x @@ -0,0 +1,22 @@ +# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +ccflags-y += -Idrivers/firmware/tegra +ccflags-y += -I../t18x/include +subdir-ccflags-y += -Werror + +obj-y += mail_t186.o +obj-y += mail_native_ivc.o +obj-$(CONFIG_TEGRA_HV_MANAGER) += bpmp_virt.o +obj-$(CONFIG_TEGRA_HV_MANAGER) += mail_virt_ivc.o diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig deleted file mode 100644 index 9ebf3f440..000000000 --- a/drivers/gpio/Kconfig +++ /dev/null @@ -1,5 +0,0 @@ -config GPIO_TEGRA186 - bool "NVIDIA Tegra186 GPIO support" - select GPIO_SYSFS - help - Support for the NVIDIA Tegra186 GPIO controller driver. diff --git a/drivers/gpio/Kconfig.t18x b/drivers/gpio/Kconfig.t18x new file mode 100644 index 000000000..9ebf3f440 --- /dev/null +++ b/drivers/gpio/Kconfig.t18x @@ -0,0 +1,5 @@ +config GPIO_TEGRA186 + bool "NVIDIA Tegra186 GPIO support" + select GPIO_SYSFS + help + Support for the NVIDIA Tegra186 GPIO controller driver. diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile deleted file mode 100644 index ba1b5fbde..000000000 --- a/drivers/gpio/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -ccflags-y += -Werror -obj-$(CONFIG_GPIO_TEGRA186) += gpio-tegra186.o diff --git a/drivers/gpio/Makefile.t18x b/drivers/gpio/Makefile.t18x new file mode 100644 index 000000000..ba1b5fbde --- /dev/null +++ b/drivers/gpio/Makefile.t18x @@ -0,0 +1,2 @@ +ccflags-y += -Werror +obj-$(CONFIG_GPIO_TEGRA186) += gpio-tegra186.o diff --git a/drivers/gpu/drm/tegra/Makefile b/drivers/gpu/drm/tegra/Makefile deleted file mode 100644 index ee133616a..000000000 --- a/drivers/gpu/drm/tegra/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -ccflags-y += -Idrivers/gpu/drm/tegra -ccflags-y += -I../t18x/drivers/gpu/drm/tegra - -tegra-drm-t186-y = \ - vic_t186.o \ - nvenc_t186.o \ - nvdec_t186.o \ - nvjpg_t186.o \ - tsec_t186.o - -obj-$(CONFIG_TEGRA_HOST1X) += tegra-drm-t186.o diff --git a/drivers/gpu/drm/tegra/Makefile.t18x b/drivers/gpu/drm/tegra/Makefile.t18x new file mode 100644 index 000000000..ee133616a --- /dev/null +++ b/drivers/gpu/drm/tegra/Makefile.t18x @@ -0,0 +1,11 @@ +ccflags-y += -Idrivers/gpu/drm/tegra +ccflags-y += -I../t18x/drivers/gpu/drm/tegra + +tegra-drm-t186-y = \ + vic_t186.o \ + nvenc_t186.o \ + nvdec_t186.o \ + nvjpg_t186.o \ + tsec_t186.o + +obj-$(CONFIG_TEGRA_HOST1X) += tegra-drm-t186.o diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile deleted file mode 100644 index 25d54f73a..000000000 --- a/drivers/gpu/host1x/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -ccflags-y += -Idrivers/gpu/host1x -ccflags-y += -I../t18x/drivers/gpu/host1x - -host1x-t186-y = \ - dev_t186.o \ - hw/host1x05.o - -obj-$(CONFIG_TEGRA_HOST1X) += host1x-t186.o diff --git a/drivers/gpu/host1x/Makefile.t18x b/drivers/gpu/host1x/Makefile.t18x new file mode 100644 index 000000000..25d54f73a --- /dev/null +++ b/drivers/gpu/host1x/Makefile.t18x @@ -0,0 +1,8 @@ +ccflags-y += -Idrivers/gpu/host1x +ccflags-y += -I../t18x/drivers/gpu/host1x + +host1x-t186-y = \ + dev_t186.o \ + hw/host1x05.o + +obj-$(CONFIG_TEGRA_HOST1X) += host1x-t186.o diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile deleted file mode 100644 index c7fd0f235..000000000 --- a/drivers/i2c/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-y += busses/ diff --git a/drivers/i2c/Makefile.t18x b/drivers/i2c/Makefile.t18x new file mode 100644 index 000000000..c7fd0f235 --- /dev/null +++ b/drivers/i2c/Makefile.t18x @@ -0,0 +1 @@ +obj-y += busses/ diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig deleted file mode 100644 index 15f572a23..000000000 --- a/drivers/i2c/busses/Kconfig +++ /dev/null @@ -1,17 +0,0 @@ -config I2C_BPMP_TEGRA - tristate "NVIDIA Tegra internal BPMP I2C controller" - depends on TEGRA_BPMP - default y - select I2C_ALGO_BUSCLEAR - select I2C_ALGOBIT - help - If you say yes to this option, support will be included for the - I2C controller embedded in NVIDIA Tegra SOCs accessed via BPMP. - This I2C driver is a 'virtual' I2C driver. The real driver is - embedded in the BPMP firmware, and this driver merely communicates - with that real driver. -config TEGRA_I2CSLV_T186 - bool "Tegra i2c slave controller driver" - default y - help - Enable on-chip i2c slave controller. diff --git a/drivers/i2c/busses/Kconfig.t18x b/drivers/i2c/busses/Kconfig.t18x new file mode 100644 index 000000000..15f572a23 --- /dev/null +++ b/drivers/i2c/busses/Kconfig.t18x @@ -0,0 +1,17 @@ +config I2C_BPMP_TEGRA + tristate "NVIDIA Tegra internal BPMP I2C controller" + depends on TEGRA_BPMP + default y + select I2C_ALGO_BUSCLEAR + select I2C_ALGOBIT + help + If you say yes to this option, support will be included for the + I2C controller embedded in NVIDIA Tegra SOCs accessed via BPMP. + This I2C driver is a 'virtual' I2C driver. The real driver is + embedded in the BPMP firmware, and this driver merely communicates + with that real driver. +config TEGRA_I2CSLV_T186 + bool "Tegra i2c slave controller driver" + default y + help + Enable on-chip i2c slave controller. diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile deleted file mode 100644 index 36c45e224..000000000 --- a/drivers/i2c/busses/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -#CFLAGS_i2c-bpmp-tegra.o = -Werror -obj-$(CONFIG_I2C_BPMP_TEGRA) += i2c-bpmp-tegra.o -obj-$(CONFIG_TEGRA_I2CSLV_T186) += i2c-t18x-slave.o i2c-t18x-client.o diff --git a/drivers/i2c/busses/Makefile.t18x b/drivers/i2c/busses/Makefile.t18x new file mode 100644 index 000000000..36c45e224 --- /dev/null +++ b/drivers/i2c/busses/Makefile.t18x @@ -0,0 +1,3 @@ +#CFLAGS_i2c-bpmp-tegra.o = -Werror +obj-$(CONFIG_I2C_BPMP_TEGRA) += i2c-bpmp-tegra.o +obj-$(CONFIG_TEGRA_I2CSLV_T186) += i2c-t18x-slave.o i2c-t18x-client.o diff --git a/drivers/misc/csi_mipi_cal/Kconfig b/drivers/misc/csi_mipi_cal/Kconfig deleted file mode 100644 index e6e5740a2..000000000 --- a/drivers/misc/csi_mipi_cal/Kconfig +++ /dev/null @@ -1,5 +0,0 @@ -config T186_CSI_MIPI_CAL - bool "Tegra186 CSI MIPI Calibration driver" - select REGMAP_MMIO - help - Say Y or M if you want to add support for T186 CSI MIPI Calibration diff --git a/drivers/misc/csi_mipi_cal/Kconfig.t18x b/drivers/misc/csi_mipi_cal/Kconfig.t18x new file mode 100644 index 000000000..e6e5740a2 --- /dev/null +++ b/drivers/misc/csi_mipi_cal/Kconfig.t18x @@ -0,0 +1,5 @@ +config T186_CSI_MIPI_CAL + bool "Tegra186 CSI MIPI Calibration driver" + select REGMAP_MMIO + help + Say Y or M if you want to add support for T186 CSI MIPI Calibration diff --git a/drivers/misc/csi_mipi_cal/Makefile b/drivers/misc/csi_mipi_cal/Makefile deleted file mode 100644 index 8ab737408..000000000 --- a/drivers/misc/csi_mipi_cal/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# -# Makefile for padctrl support. -# -subdir-ccflags-y = -Werror -ccflags-y += -I../display/drivers/video/tegra/dc -ccflags-y += -Idrivers/video/tegra/dc - -obj-$(CONFIG_T186_CSI_MIPI_CAL) += csi_mipi_cal.o diff --git a/drivers/misc/csi_mipi_cal/Makefile.t18x b/drivers/misc/csi_mipi_cal/Makefile.t18x new file mode 100644 index 000000000..8ab737408 --- /dev/null +++ b/drivers/misc/csi_mipi_cal/Makefile.t18x @@ -0,0 +1,8 @@ +# +# Makefile for padctrl support. +# +subdir-ccflags-y = -Werror +ccflags-y += -I../display/drivers/video/tegra/dc +ccflags-y += -Idrivers/video/tegra/dc + +obj-$(CONFIG_T186_CSI_MIPI_CAL) += csi_mipi_cal.o diff --git a/drivers/misc/tegra186-ahc/Kconfig b/drivers/misc/tegra186-ahc/Kconfig deleted file mode 100644 index 017125c29..000000000 --- a/drivers/misc/tegra186-ahc/Kconfig +++ /dev/null @@ -1,3 +0,0 @@ -config TEGRA186_AHC - tristate "Tegra186 AHC driver" - depends on ARCH_TEGRA_18x_SOC diff --git a/drivers/misc/tegra186-ahc/Kconfig.t18x b/drivers/misc/tegra186-ahc/Kconfig.t18x new file mode 100644 index 000000000..017125c29 --- /dev/null +++ b/drivers/misc/tegra186-ahc/Kconfig.t18x @@ -0,0 +1,3 @@ +config TEGRA186_AHC + tristate "Tegra186 AHC driver" + depends on ARCH_TEGRA_18x_SOC diff --git a/drivers/misc/tegra186-ahc/Makefile b/drivers/misc/tegra186-ahc/Makefile deleted file mode 100644 index 8e7279353..000000000 --- a/drivers/misc/tegra186-ahc/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_TEGRA186_AHC) += tegra186_ahc.o diff --git a/drivers/misc/tegra186-ahc/Makefile.t18x b/drivers/misc/tegra186-ahc/Makefile.t18x new file mode 100644 index 000000000..8e7279353 --- /dev/null +++ b/drivers/misc/tegra186-ahc/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_TEGRA186_AHC) += tegra186_ahc.o diff --git a/drivers/net/Makefile b/drivers/net/Makefile deleted file mode 100644 index 1a7ffacfc..000000000 --- a/drivers/net/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -obj-$(CONFIG_ETHERNET) += ethernet/ diff --git a/drivers/net/Makefile.t18x b/drivers/net/Makefile.t18x new file mode 100644 index 000000000..1a7ffacfc --- /dev/null +++ b/drivers/net/Makefile.t18x @@ -0,0 +1,12 @@ +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +obj-$(CONFIG_ETHERNET) += ethernet/ diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig deleted file mode 100644 index 76853b145..000000000 --- a/drivers/net/can/Kconfig +++ /dev/null @@ -1,3 +0,0 @@ -trysource "../t18x/drivers/staging/mttcan/Kconfig" -trysource "../t18x/drivers/staging/mttcan/Kconfig.t18x" -trysource "drivers/staging/mttcan/Kconfig.t18x" diff --git a/drivers/net/can/Kconfig.t18x b/drivers/net/can/Kconfig.t18x new file mode 100644 index 000000000..76853b145 --- /dev/null +++ b/drivers/net/can/Kconfig.t18x @@ -0,0 +1,3 @@ +trysource "../t18x/drivers/staging/mttcan/Kconfig" +trysource "../t18x/drivers/staging/mttcan/Kconfig.t18x" +trysource "drivers/staging/mttcan/Kconfig.t18x" diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile deleted file mode 100644 index 247774961..000000000 --- a/drivers/net/ethernet/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -obj-y += nvidia/ diff --git a/drivers/net/ethernet/Makefile.t18x b/drivers/net/ethernet/Makefile.t18x new file mode 100644 index 000000000..247774961 --- /dev/null +++ b/drivers/net/ethernet/Makefile.t18x @@ -0,0 +1,12 @@ +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +obj-y += nvidia/ diff --git a/drivers/net/ethernet/nvidia/Makefile b/drivers/net/ethernet/nvidia/Makefile deleted file mode 100644 index 372808177..000000000 --- a/drivers/net/ethernet/nvidia/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -obj-$(CONFIG_EQOS) += eqos/ diff --git a/drivers/net/ethernet/nvidia/Makefile.t18x b/drivers/net/ethernet/nvidia/Makefile.t18x new file mode 100644 index 000000000..372808177 --- /dev/null +++ b/drivers/net/ethernet/nvidia/Makefile.t18x @@ -0,0 +1,12 @@ +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +obj-$(CONFIG_EQOS) += eqos/ diff --git a/drivers/net/ethernet/nvidia/eqos/Kconfig b/drivers/net/ethernet/nvidia/eqos/Kconfig deleted file mode 100644 index a8da5e13a..000000000 --- a/drivers/net/ethernet/nvidia/eqos/Kconfig +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -config EQOS - tristate "NVIDIA Tegra Ethernet QOS driver" - default n - - ---help--- - If you have a network (Ethernet) card belonging to this class, say Y - and read the Ethernet-HOWTO, available from - . - - Note that the answer to this question doesn't directly affect the - kernel: saying N will just cause the configurator to skip all - the questions about NVIDIA cards. If you say Y, you will be asked for - your specific card in the following questions. - -config DISABLE_VLAN_FWD_TO_REAL_IF - bool "Disable VLAN RX Packet forwarding to Real ethernet Interface" - depends on EQOS - default n - - ---help--- - This disables support to forward VLAN tagged packets to the - Real interface. If enabled, VLAN tagged packets are only forwarded - to the Virtual interface. - - If unsure, say n. - -config DEBUGFS_OBJ - bool "Enable DEBUGFS_OBJ" - depends on EQOS - default n diff --git a/drivers/net/ethernet/nvidia/eqos/Kconfig.t18x b/drivers/net/ethernet/nvidia/eqos/Kconfig.t18x new file mode 100644 index 000000000..a8da5e13a --- /dev/null +++ b/drivers/net/ethernet/nvidia/eqos/Kconfig.t18x @@ -0,0 +1,41 @@ +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +config EQOS + tristate "NVIDIA Tegra Ethernet QOS driver" + default n + + ---help--- + If you have a network (Ethernet) card belonging to this class, say Y + and read the Ethernet-HOWTO, available from + . + + Note that the answer to this question doesn't directly affect the + kernel: saying N will just cause the configurator to skip all + the questions about NVIDIA cards. If you say Y, you will be asked for + your specific card in the following questions. + +config DISABLE_VLAN_FWD_TO_REAL_IF + bool "Disable VLAN RX Packet forwarding to Real ethernet Interface" + depends on EQOS + default n + + ---help--- + This disables support to forward VLAN tagged packets to the + Real interface. If enabled, VLAN tagged packets are only forwarded + to the Virtual interface. + + If unsure, say n. + +config DEBUGFS_OBJ + bool "Enable DEBUGFS_OBJ" + depends on EQOS + default n diff --git a/drivers/net/ethernet/nvidia/eqos/Makefile b/drivers/net/ethernet/nvidia/eqos/Makefile deleted file mode 100644 index 0207e0a8f..000000000 --- a/drivers/net/ethernet/nvidia/eqos/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms and conditions of the GNU General Public License, -# version 2, as published by the Free Software Foundation. -# -# This program is distributed in the hope it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for -# more details. - -ccflags-y += -DHWA_NV_1640420 -ccflags-y += -DHWA_NV_1637630 -ccflags-y += -DHWA_NV_1650337 -ccflags-y += -DHWA_FPGA_ONLY - -## default build settings. -ccflags-y += -DCONFIG_PTPSUPPORT_OBJ - -obj-$(CONFIG_EQOS) += eqos.o - -eqos-y += dev.o -eqos-y += drv.o -eqos-y += desc.o -eqos-y += ethtool.o -eqos-y += init.o -eqos-y += mdio.o -eqos-y += nvidia_test.o -eqos-y += eee.o -eqos-$(CONFIG_DEBUGFS_OBJ) += debug_operation.o -eqos-y += ptp.o - diff --git a/drivers/net/ethernet/nvidia/eqos/Makefile.t18x b/drivers/net/ethernet/nvidia/eqos/Makefile.t18x new file mode 100644 index 000000000..0207e0a8f --- /dev/null +++ b/drivers/net/ethernet/nvidia/eqos/Makefile.t18x @@ -0,0 +1,32 @@ +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms and conditions of the GNU General Public License, +# version 2, as published by the Free Software Foundation. +# +# This program is distributed in the hope it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. + +ccflags-y += -DHWA_NV_1640420 +ccflags-y += -DHWA_NV_1637630 +ccflags-y += -DHWA_NV_1650337 +ccflags-y += -DHWA_FPGA_ONLY + +## default build settings. +ccflags-y += -DCONFIG_PTPSUPPORT_OBJ + +obj-$(CONFIG_EQOS) += eqos.o + +eqos-y += dev.o +eqos-y += drv.o +eqos-y += desc.o +eqos-y += ethtool.o +eqos-y += init.o +eqos-y += mdio.o +eqos-y += nvidia_test.o +eqos-y += eee.o +eqos-$(CONFIG_DEBUGFS_OBJ) += debug_operation.o +eqos-y += ptp.o + diff --git a/drivers/padctrl/Kconfig b/drivers/padctrl/Kconfig deleted file mode 100644 index 093ae9daf..000000000 --- a/drivers/padctrl/Kconfig +++ /dev/null @@ -1,8 +0,0 @@ -config PADCTRL_TEGRA186_PMC - bool "Tegra186 PMC PADCTRL driver" - depends on TEGRA186_PMC - help - This option enables Tegra 186 PMC padctrl driver - - Tegra186 PMC padctrl driver which controls the pad - to supply either 1.2V or 1.8V or 3.3V. diff --git a/drivers/padctrl/Kconfig.t18x b/drivers/padctrl/Kconfig.t18x new file mode 100644 index 000000000..093ae9daf --- /dev/null +++ b/drivers/padctrl/Kconfig.t18x @@ -0,0 +1,8 @@ +config PADCTRL_TEGRA186_PMC + bool "Tegra186 PMC PADCTRL driver" + depends on TEGRA186_PMC + help + This option enables Tegra 186 PMC padctrl driver + + Tegra186 PMC padctrl driver which controls the pad + to supply either 1.2V or 1.8V or 3.3V. diff --git a/drivers/padctrl/Makefile b/drivers/padctrl/Makefile deleted file mode 100644 index 738d989f2..000000000 --- a/drivers/padctrl/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# -# Makefile for padctrl support. -# -subdir-ccflags-y = -Werror - -obj-$(CONFIG_PADCTRL_TEGRA186_PMC) += padctrl-tegra186-pmc.o diff --git a/drivers/padctrl/Makefile.t18x b/drivers/padctrl/Makefile.t18x new file mode 100644 index 000000000..738d989f2 --- /dev/null +++ b/drivers/padctrl/Makefile.t18x @@ -0,0 +1,6 @@ +# +# Makefile for padctrl support. +# +subdir-ccflags-y = -Werror + +obj-$(CONFIG_PADCTRL_TEGRA186_PMC) += padctrl-tegra186-pmc.o diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig deleted file mode 100644 index 5e6cab46f..000000000 --- a/drivers/pinctrl/Kconfig +++ /dev/null @@ -1,13 +0,0 @@ -config PINCTRL_TEGRA186 - bool "NVIDIA Tegra186 Pinmux support" - select PINCTRL_TEGRA - help - Support for the NVIDIA Tegra186 PINCTRL controller driver. - -config PINCTRL_TEGRA186_PADCTL - bool "NVIDIA Tegra186 XUSB PADCTL Driver" - depends on ARCH_TEGRA_18x_SOC - depends on MAILBOX - select GENERIC_PHY - select PINCONF - select PINMUX diff --git a/drivers/pinctrl/Kconfig.t18x b/drivers/pinctrl/Kconfig.t18x new file mode 100644 index 000000000..5e6cab46f --- /dev/null +++ b/drivers/pinctrl/Kconfig.t18x @@ -0,0 +1,13 @@ +config PINCTRL_TEGRA186 + bool "NVIDIA Tegra186 Pinmux support" + select PINCTRL_TEGRA + help + Support for the NVIDIA Tegra186 PINCTRL controller driver. + +config PINCTRL_TEGRA186_PADCTL + bool "NVIDIA Tegra186 XUSB PADCTL Driver" + depends on ARCH_TEGRA_18x_SOC + depends on MAILBOX + select GENERIC_PHY + select PINCONF + select PINMUX diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile deleted file mode 100644 index 6fcc61a1a..000000000 --- a/drivers/pinctrl/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -GCOV_PROFILE_pinctrl-tegra186-padctl.o := y - -ccflags-y += -Werror -ccflags-y += -I$(srctree)/drivers/pinctrl -obj-$(CONFIG_PINCTRL_TEGRA186) += pinctrl-tegra186.o -obj-$(CONFIG_PINCTRL_TEGRA186_PADCTL) += pinctrl-tegra186-padctl.o diff --git a/drivers/pinctrl/Makefile.t18x b/drivers/pinctrl/Makefile.t18x new file mode 100644 index 000000000..6fcc61a1a --- /dev/null +++ b/drivers/pinctrl/Makefile.t18x @@ -0,0 +1,6 @@ +GCOV_PROFILE_pinctrl-tegra186-padctl.o := y + +ccflags-y += -Werror +ccflags-y += -I$(srctree)/drivers/pinctrl +obj-$(CONFIG_PINCTRL_TEGRA186) += pinctrl-tegra186.o +obj-$(CONFIG_PINCTRL_TEGRA186_PADCTL) += pinctrl-tegra186-padctl.o diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile deleted file mode 100644 index 3d50fea2a..000000000 --- a/drivers/platform/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-y += tegra/ diff --git a/drivers/platform/Makefile.t18x b/drivers/platform/Makefile.t18x new file mode 100644 index 000000000..3d50fea2a --- /dev/null +++ b/drivers/platform/Makefile.t18x @@ -0,0 +1 @@ +obj-y += tegra/ diff --git a/drivers/platform/tegra/Kconfig b/drivers/platform/tegra/Kconfig deleted file mode 100644 index 2f1dca9e3..000000000 --- a/drivers/platform/tegra/Kconfig +++ /dev/null @@ -1,62 +0,0 @@ -config TEGRA_HSP - bool "Enable Tegra Hardware Synchronization Primitives driver" - depends on ARCH_TEGRA_18x_SOC - default y - -config TEGRA186_PMC - bool "Tegra Power Management Controller" - depends on ARCH_TEGRA_18x_SOC - default y - help - Enable Tegra186 PMC. - -config TEGRA_AST - bool "Enable Tegra Address Space Translation Driver" - depends on ARCH_TEGRA_18x_SOC - default y - -config TEGRA_AON - bool "Tegra AON driver" - depends on ARCH_TEGRA_18x_SOC - default y - select TEGRA_IVC - select TEGRA_HSP - -config TEGRA_ARI_MCA - tristate "Tegra Abstract Request Interface (ARI) Machine Check" - select SERROR_HANDLER - help - The Tegra Abstract Request Interface (ARI) Machine Check handler. This - handles the Machine Check registers that are accessible via ARI. - -config TEGRA_BRIDGE_MCA - tristate "AXI/APB Bridge Machine Check" - select SERROR_HANDLER - help - The Tegra AXI/APB Bridge Machine Check handler. This - handes the SERRs from failed AXI/APB transactions. - -config TEGRA_A57_SERR - tristate "A57 SError Handler" - select SERROR_HANDLER - help - The A57 SError Handler. This handles the SERRs from A57 cores, - specifically L1 ECC errors. - -config TEGRA_18X_SERROR - tristate "Tegra18 SError handler" - depends on ARCH_TEGRA_18x_SOC - select DENVER_MCA - select TEGRA_ARI_MCA - select TEGRA_BRIDGE_MCA - select TEGRA_A57_SERR - help - The Tegra18 SError handler. This handles Denver SErrors, A57 SErrors, - CCPLEX errors, and fabric slave errors. - -config TEGRA_CAMERA_RTCPU - bool "Enable Tegra Camera RTCPU Driver" - depends on ARCH_TEGRA_18x_SOC - select TEGRA_IVC - select TEGRA_HSP - select TEGRA_AST diff --git a/drivers/platform/tegra/Kconfig.t18x b/drivers/platform/tegra/Kconfig.t18x new file mode 100644 index 000000000..2f1dca9e3 --- /dev/null +++ b/drivers/platform/tegra/Kconfig.t18x @@ -0,0 +1,62 @@ +config TEGRA_HSP + bool "Enable Tegra Hardware Synchronization Primitives driver" + depends on ARCH_TEGRA_18x_SOC + default y + +config TEGRA186_PMC + bool "Tegra Power Management Controller" + depends on ARCH_TEGRA_18x_SOC + default y + help + Enable Tegra186 PMC. + +config TEGRA_AST + bool "Enable Tegra Address Space Translation Driver" + depends on ARCH_TEGRA_18x_SOC + default y + +config TEGRA_AON + bool "Tegra AON driver" + depends on ARCH_TEGRA_18x_SOC + default y + select TEGRA_IVC + select TEGRA_HSP + +config TEGRA_ARI_MCA + tristate "Tegra Abstract Request Interface (ARI) Machine Check" + select SERROR_HANDLER + help + The Tegra Abstract Request Interface (ARI) Machine Check handler. This + handles the Machine Check registers that are accessible via ARI. + +config TEGRA_BRIDGE_MCA + tristate "AXI/APB Bridge Machine Check" + select SERROR_HANDLER + help + The Tegra AXI/APB Bridge Machine Check handler. This + handes the SERRs from failed AXI/APB transactions. + +config TEGRA_A57_SERR + tristate "A57 SError Handler" + select SERROR_HANDLER + help + The A57 SError Handler. This handles the SERRs from A57 cores, + specifically L1 ECC errors. + +config TEGRA_18X_SERROR + tristate "Tegra18 SError handler" + depends on ARCH_TEGRA_18x_SOC + select DENVER_MCA + select TEGRA_ARI_MCA + select TEGRA_BRIDGE_MCA + select TEGRA_A57_SERR + help + The Tegra18 SError handler. This handles Denver SErrors, A57 SErrors, + CCPLEX errors, and fabric slave errors. + +config TEGRA_CAMERA_RTCPU + bool "Enable Tegra Camera RTCPU Driver" + depends on ARCH_TEGRA_18x_SOC + select TEGRA_IVC + select TEGRA_HSP + select TEGRA_AST diff --git a/drivers/platform/tegra/Makefile b/drivers/platform/tegra/Makefile deleted file mode 100644 index 9e67c530c..000000000 --- a/drivers/platform/tegra/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -KBUILD_CFLAGS += -I$(srctree)/arch/arm/mach-tegra \ - -I$(srctree)/arch/arm/mach-tegra/include/ \ - -I$(srctree)/drivers/platform/tegra/ \ - -I$(srctree)/../display/drivers/video/tegra/dc/panel/ - -ccflags-y += -Werror -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-platform-common.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_speedo.o -obj-$(CONFIG_TEGRA_NVDISPLAY) += panel-simulator.o -obj-$(CONFIG_TEGRA_HSP) += tegra-hsp.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra-mce.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_chipid.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra-roc.o -obj-$(CONFIG_TEGRA186_PMC) += tegra186-pmc.o -obj-$(CONFIG_TEGRA_KFUSE) += tegra18_kfuse.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-pmc-iopower.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-aowake.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-system-config.o -obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += tegra-camera-rtcpu.o -obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/ -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += pm-irq-t18x.o -ifeq ($(CONFIG_PM_SLEEP),y) -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += wakeups-t18x.o -endif -obj-y += mc/ -obj-$(CONFIG_TEGRA_AST) += tegra_ast.o -obj-y += powergate/ -obj-$(CONFIG_TEGRA_AON) += tegra-aon.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_cpu_debugfs.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reboot-t18x.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += pm-tegra186.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-hsp.o -obj-$(CONFIG_TEGRA_AON) += tegra186_aondbg.o -obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/ivc-bus.o -obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/hsp-doorbell.o -obj-$(CONFIG_TEGRA_NVADSP) += nvadsp/ -obj-$(CONFIG_TEGRA_ARI_MCA) += ari_mca.o -obj-$(CONFIG_TEGRA_18X_SERROR) += tegra18_serr.o -obj-$(CONFIG_TEGRA_BRIDGE_MCA) += bridge_mca.o -obj-$(CONFIG_TEGRA_A57_SERR) += tegra18_a57_serr.o -ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE), y) -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_throttle.o -endif -obj-$(CONFIG_TEGRA_CENTRAL_ACTMON) += cactmon_t18x.o diff --git a/drivers/platform/tegra/Makefile.t18x b/drivers/platform/tegra/Makefile.t18x new file mode 100644 index 000000000..9e67c530c --- /dev/null +++ b/drivers/platform/tegra/Makefile.t18x @@ -0,0 +1,44 @@ +KBUILD_CFLAGS += -I$(srctree)/arch/arm/mach-tegra \ + -I$(srctree)/arch/arm/mach-tegra/include/ \ + -I$(srctree)/drivers/platform/tegra/ \ + -I$(srctree)/../display/drivers/video/tegra/dc/panel/ + +ccflags-y += -Werror +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-platform-common.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_speedo.o +obj-$(CONFIG_TEGRA_NVDISPLAY) += panel-simulator.o +obj-$(CONFIG_TEGRA_HSP) += tegra-hsp.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra-mce.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra_chipid.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra-roc.o +obj-$(CONFIG_TEGRA186_PMC) += tegra186-pmc.o +obj-$(CONFIG_TEGRA_KFUSE) += tegra18_kfuse.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-pmc-iopower.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-aowake.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-system-config.o +obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += tegra-camera-rtcpu.o +obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/ +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += pm-irq-t18x.o +ifeq ($(CONFIG_PM_SLEEP),y) +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += wakeups-t18x.o +endif +obj-y += mc/ +obj-$(CONFIG_TEGRA_AST) += tegra_ast.o +obj-y += powergate/ +obj-$(CONFIG_TEGRA_AON) += tegra-aon.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_cpu_debugfs.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reboot-t18x.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += pm-tegra186.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra186-hsp.o +obj-$(CONFIG_TEGRA_AON) += tegra186_aondbg.o +obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/ivc-bus.o +obj-$(CONFIG_TEGRA_CAMERA_RTCPU) += rtcpu/hsp-doorbell.o +obj-$(CONFIG_TEGRA_NVADSP) += nvadsp/ +obj-$(CONFIG_TEGRA_ARI_MCA) += ari_mca.o +obj-$(CONFIG_TEGRA_18X_SERROR) += tegra18_serr.o +obj-$(CONFIG_TEGRA_BRIDGE_MCA) += bridge_mca.o +obj-$(CONFIG_TEGRA_A57_SERR) += tegra18_a57_serr.o +ifeq ($(CONFIG_TEGRA_THERMAL_THROTTLE), y) +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_throttle.o +endif +obj-$(CONFIG_TEGRA_CENTRAL_ACTMON) += cactmon_t18x.o diff --git a/drivers/platform/tegra/mc/Makefile b/drivers/platform/tegra/mc/Makefile deleted file mode 100644 index 442156ca9..000000000 --- a/drivers/platform/tegra/mc/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -ccflags-y += -Werror -ccflags-y += -I$(srctree)/drivers/platform/tegra/mc - -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mcerr_ecc_t18x.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mc_addr_translate.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mc-sid.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mcerr-t18x.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_emc.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += bwmgr_mc_t186.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18x_la.o diff --git a/drivers/platform/tegra/mc/Makefile.t18x b/drivers/platform/tegra/mc/Makefile.t18x new file mode 100644 index 000000000..442156ca9 --- /dev/null +++ b/drivers/platform/tegra/mc/Makefile.t18x @@ -0,0 +1,10 @@ +ccflags-y += -Werror +ccflags-y += -I$(srctree)/drivers/platform/tegra/mc + +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mcerr_ecc_t18x.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mc_addr_translate.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mc-sid.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += mcerr-t18x.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18_emc.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += bwmgr_mc_t186.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra18x_la.o diff --git a/drivers/platform/tegra/nvadsp/Makefile b/drivers/platform/tegra/nvadsp/Makefile deleted file mode 100644 index 49260ece3..000000000 --- a/drivers/platform/tegra/nvadsp/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -GCOV_PROFILE := y -ccflags-y := -Werror -ccflags-y += -Idrivers/platform/tegra/nvadsp -I$(srctree)/drivers/platform/tegra/nvadsp -I$(srctree)/include -obj-y += os-t18x.o -obj-y += dev-t18x.o -obj-y += acast.o diff --git a/drivers/platform/tegra/nvadsp/Makefile.t18x b/drivers/platform/tegra/nvadsp/Makefile.t18x new file mode 100644 index 000000000..49260ece3 --- /dev/null +++ b/drivers/platform/tegra/nvadsp/Makefile.t18x @@ -0,0 +1,6 @@ +GCOV_PROFILE := y +ccflags-y := -Werror +ccflags-y += -Idrivers/platform/tegra/nvadsp -I$(srctree)/drivers/platform/tegra/nvadsp -I$(srctree)/include +obj-y += os-t18x.o +obj-y += dev-t18x.o +obj-y += acast.o diff --git a/drivers/platform/tegra/powergate/Makefile b/drivers/platform/tegra/powergate/Makefile deleted file mode 100644 index b89051683..000000000 --- a/drivers/platform/tegra/powergate/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += powergate-t186.o diff --git a/drivers/platform/tegra/powergate/Makefile.t18x b/drivers/platform/tegra/powergate/Makefile.t18x new file mode 100644 index 000000000..b89051683 --- /dev/null +++ b/drivers/platform/tegra/powergate/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += powergate-t186.o diff --git a/drivers/platform/tegra/rtcpu/Makefile b/drivers/platform/tegra/rtcpu/Makefile deleted file mode 100644 index e6334ccab..000000000 --- a/drivers/platform/tegra/rtcpu/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -ccflags-y := -Werror -ccflags-y += -I$(srctree)/include -ccflags-y += -I$(srctree)/../nvhost -ccflags-y += -I$(srctree) -ccflags-y += -I$(srctree)/../t18x - -obj-y += debug.o -obj-y += tegra-sysfs-mbox.o -obj-y += vi-notify.o -obj-y += hsp-mbox.o diff --git a/drivers/platform/tegra/rtcpu/Makefile.t18x b/drivers/platform/tegra/rtcpu/Makefile.t18x new file mode 100644 index 000000000..e6334ccab --- /dev/null +++ b/drivers/platform/tegra/rtcpu/Makefile.t18x @@ -0,0 +1,10 @@ +ccflags-y := -Werror +ccflags-y += -I$(srctree)/include +ccflags-y += -I$(srctree)/../nvhost +ccflags-y += -I$(srctree) +ccflags-y += -I$(srctree)/../t18x + +obj-y += debug.o +obj-y += tegra-sysfs-mbox.o +obj-y += vi-notify.o +obj-y += hsp-mbox.o diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile deleted file mode 100644 index 4dd624eef..000000000 --- a/drivers/reset/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra/ diff --git a/drivers/reset/Makefile.t18x b/drivers/reset/Makefile.t18x new file mode 100644 index 000000000..4dd624eef --- /dev/null +++ b/drivers/reset/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += tegra/ diff --git a/drivers/reset/tegra/Makefile b/drivers/reset/tegra/Makefile deleted file mode 100644 index a413510c9..000000000 --- a/drivers/reset/tegra/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reset-bpmp.o -obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reset-t186.o diff --git a/drivers/reset/tegra/Makefile.t18x b/drivers/reset/tegra/Makefile.t18x new file mode 100644 index 000000000..a413510c9 --- /dev/null +++ b/drivers/reset/tegra/Makefile.t18x @@ -0,0 +1,2 @@ +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reset-bpmp.o +obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += reset-t186.o diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig deleted file mode 100644 index 5dc8ca807..000000000 --- a/drivers/spi/Kconfig +++ /dev/null @@ -1,14 +0,0 @@ -config QSPI_TEGRA186 - tristate "Nvidia Tegra18x QSPI Controller" - depends on ARCH_TEGRA_18x_SOC && TEGRA186_GPC_DMA - select QSPI_TEGRA - help - QSPI driver for Nvidia Tegra210 QSPI Controller interface. This controller - is different from the spi controller and first time introduces on Tegra210 soc. - -config SPI_TEGRA186_AON - bool "Tegra18x AON SPI proxy driver" - depends on ARCH_TEGRA_18x_SOC - default y - select TEGRA_IVC - select TEGRA_HSP diff --git a/drivers/spi/Kconfig.t18x b/drivers/spi/Kconfig.t18x new file mode 100644 index 000000000..5dc8ca807 --- /dev/null +++ b/drivers/spi/Kconfig.t18x @@ -0,0 +1,14 @@ +config QSPI_TEGRA186 + tristate "Nvidia Tegra18x QSPI Controller" + depends on ARCH_TEGRA_18x_SOC && TEGRA186_GPC_DMA + select QSPI_TEGRA + help + QSPI driver for Nvidia Tegra210 QSPI Controller interface. This controller + is different from the spi controller and first time introduces on Tegra210 soc. + +config SPI_TEGRA186_AON + bool "Tegra18x AON SPI proxy driver" + depends on ARCH_TEGRA_18x_SOC + default y + select TEGRA_IVC + select TEGRA_HSP diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile deleted file mode 100644 index 35efac7f4..000000000 --- a/drivers/spi/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -GCOV_PROFILE := y - -ccflags-y += -Werror -ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG - -obj-$(CONFIG_QSPI_TEGRA186) += spi-tegra186-qspi.o -obj-$(CONFIG_SPI_TEGRA186_AON) += spi-tegra-aon.o - diff --git a/drivers/spi/Makefile.t18x b/drivers/spi/Makefile.t18x new file mode 100644 index 000000000..35efac7f4 --- /dev/null +++ b/drivers/spi/Makefile.t18x @@ -0,0 +1,8 @@ +GCOV_PROFILE := y + +ccflags-y += -Werror +ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG + +obj-$(CONFIG_QSPI_TEGRA186) += spi-tegra186-qspi.o +obj-$(CONFIG_SPI_TEGRA186_AON) += spi-tegra-aon.o + diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile deleted file mode 100644 index 0894feac7..000000000 --- a/drivers/staging/Makefile +++ /dev/null @@ -1,2 +0,0 @@ - -obj-$(CONFIG_MTTCAN) += mttcan/ diff --git a/drivers/staging/Makefile.t18x b/drivers/staging/Makefile.t18x new file mode 100644 index 000000000..0894feac7 --- /dev/null +++ b/drivers/staging/Makefile.t18x @@ -0,0 +1,2 @@ + +obj-$(CONFIG_MTTCAN) += mttcan/ diff --git a/drivers/staging/mttcan/Kconfig b/drivers/staging/mttcan/Kconfig deleted file mode 100644 index 28e8730ab..000000000 --- a/drivers/staging/mttcan/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -config MTTCAN - tristate "Bosch M_TTCAN Devices" - depends on ARCH_TEGRA_18x_SOC && CAN - select STAGING - help - Support for the Bosch M_TTCAN driver. The Bosch MTTCAN CAN - controller is having two independent CAN interfaces. These - intefaces supports CAN-FD and TT-CAN. This driver will require - SocketCAN support enabled in kernel. diff --git a/drivers/staging/mttcan/Kconfig.t18x b/drivers/staging/mttcan/Kconfig.t18x new file mode 100644 index 000000000..28e8730ab --- /dev/null +++ b/drivers/staging/mttcan/Kconfig.t18x @@ -0,0 +1,9 @@ +config MTTCAN + tristate "Bosch M_TTCAN Devices" + depends on ARCH_TEGRA_18x_SOC && CAN + select STAGING + help + Support for the Bosch M_TTCAN driver. The Bosch MTTCAN CAN + controller is having two independent CAN interfaces. These + intefaces supports CAN-FD and TT-CAN. This driver will require + SocketCAN support enabled in kernel. diff --git a/drivers/staging/mttcan/Makefile b/drivers/staging/mttcan/Makefile deleted file mode 100644 index 4dca68b3c..000000000 --- a/drivers/staging/mttcan/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the version 2 of the GNU General Public License -# as published by the Free Software Foundation -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - - -COMPATIBLE_KERNEL=$(shell if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 18 \ - -a $(SUBLEVEL) -ge 11 ] ; then \ - echo "y" ; fi;) - -ifeq ($(COMPATIBLE_KERNEL),y) -obj-$(CONFIG_MTTCAN) := mttcan.o -endif - -mttcan-y = m_ttcan_linux.o m_ttcan_sys.o hw/m_ttcan.o -mttcan-y += hw/m_ttcan_intr.o hw/m_ttcan_list.o hw/m_ttcan_ram.o -mttcan-y += hw/m_ttcan_tt.o - diff --git a/drivers/staging/mttcan/Makefile.t18x b/drivers/staging/mttcan/Makefile.t18x new file mode 100644 index 000000000..4dca68b3c --- /dev/null +++ b/drivers/staging/mttcan/Makefile.t18x @@ -0,0 +1,30 @@ +# +# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the version 2 of the GNU General Public License +# as published by the Free Software Foundation +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + + +COMPATIBLE_KERNEL=$(shell if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 18 \ + -a $(SUBLEVEL) -ge 11 ] ; then \ + echo "y" ; fi;) + +ifeq ($(COMPATIBLE_KERNEL),y) +obj-$(CONFIG_MTTCAN) := mttcan.o +endif + +mttcan-y = m_ttcan_linux.o m_ttcan_sys.o hw/m_ttcan.o +mttcan-y += hw/m_ttcan_intr.o hw/m_ttcan_list.o hw/m_ttcan_ram.o +mttcan-y += hw/m_ttcan_tt.o + diff --git a/drivers/tachometer/Kconfig b/drivers/tachometer/Kconfig deleted file mode 100644 index 20206811a..000000000 --- a/drivers/tachometer/Kconfig +++ /dev/null @@ -1,19 +0,0 @@ -menuconfig TACHOMETER - bool "Tachometer support" - help - Say Y here to Tachometer support - - This framework provides a generic interface to Tach - devices. - -if TACHOMETER - -config TACHOMETER_TEGRA - bool "Tegra Tachometer client driver" - depends on ARCH_TEGRA_18x_SOC && TACHOMETER - help - This option enables Tegra Tachometer client driver - - Tegra Tachometer driver used to measure the speed - of PWM based fan in terms of RPM. -endif diff --git a/drivers/tachometer/Kconfig.t18x b/drivers/tachometer/Kconfig.t18x new file mode 100644 index 000000000..20206811a --- /dev/null +++ b/drivers/tachometer/Kconfig.t18x @@ -0,0 +1,19 @@ +menuconfig TACHOMETER + bool "Tachometer support" + help + Say Y here to Tachometer support + + This framework provides a generic interface to Tach + devices. + +if TACHOMETER + +config TACHOMETER_TEGRA + bool "Tegra Tachometer client driver" + depends on ARCH_TEGRA_18x_SOC && TACHOMETER + help + This option enables Tegra Tachometer client driver + + Tegra Tachometer driver used to measure the speed + of PWM based fan in terms of RPM. +endif diff --git a/drivers/tachometer/Makefile b/drivers/tachometer/Makefile deleted file mode 100644 index c28d0f60a..000000000 --- a/drivers/tachometer/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# -# Makefile for tachometer support. -# -subdir-ccflags-y = -Werror - -obj-y += core.o -obj-y += tachometer-tegra.o diff --git a/drivers/tachometer/Makefile.t18x b/drivers/tachometer/Makefile.t18x new file mode 100644 index 000000000..c28d0f60a --- /dev/null +++ b/drivers/tachometer/Makefile.t18x @@ -0,0 +1,7 @@ +# +# Makefile for tachometer support. +# +subdir-ccflags-y = -Werror + +obj-y += core.o +obj-y += tachometer-tegra.o diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile deleted file mode 100644 index 0c48740ad..000000000 --- a/drivers/thermal/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-$(CONFIG_TEGRA_BPMP) += tegra_bpmp_thermal.o diff --git a/drivers/thermal/Makefile.t18x b/drivers/thermal/Makefile.t18x new file mode 100644 index 000000000..0c48740ad --- /dev/null +++ b/drivers/thermal/Makefile.t18x @@ -0,0 +1 @@ +obj-$(CONFIG_TEGRA_BPMP) += tegra_bpmp_thermal.o diff --git a/drivers/video/Makefile b/drivers/video/Makefile deleted file mode 100644 index 3d50fea2a..000000000 --- a/drivers/video/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-y += tegra/ diff --git a/drivers/video/Makefile.t18x b/drivers/video/Makefile.t18x new file mode 100644 index 000000000..3d50fea2a --- /dev/null +++ b/drivers/video/Makefile.t18x @@ -0,0 +1 @@ +obj-y += tegra/ diff --git a/drivers/video/tegra/Makefile b/drivers/video/tegra/Makefile deleted file mode 100644 index 9f1e7bc6d..000000000 --- a/drivers/video/tegra/Makefile +++ /dev/null @@ -1 +0,0 @@ -obj-y += dc/ diff --git a/drivers/video/tegra/Makefile.t18x b/drivers/video/tegra/Makefile.t18x new file mode 100644 index 000000000..9f1e7bc6d --- /dev/null +++ b/drivers/video/tegra/Makefile.t18x @@ -0,0 +1 @@ +obj-y += dc/ diff --git a/drivers/video/tegra/dc/Makefile b/drivers/video/tegra/dc/Makefile deleted file mode 100644 index 783c0cb0d..000000000 --- a/drivers/video/tegra/dc/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -GCOV_PROFILE := y -obj-$(CONFIG_TEGRA_NVDISPLAY) += nvdisp/ diff --git a/drivers/video/tegra/dc/Makefile.t18x b/drivers/video/tegra/dc/Makefile.t18x new file mode 100644 index 000000000..783c0cb0d --- /dev/null +++ b/drivers/video/tegra/dc/Makefile.t18x @@ -0,0 +1,2 @@ +GCOV_PROFILE := y +obj-$(CONFIG_TEGRA_NVDISPLAY) += nvdisp/ diff --git a/drivers/video/tegra/dc/nvdisp/Makefile b/drivers/video/tegra/dc/nvdisp/Makefile deleted file mode 100644 index 4711e62ee..000000000 --- a/drivers/video/tegra/dc/nvdisp/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -GCOV_PROFILE := y -subdir-ccflags-y := -Werror -ccflags-y += -Idrivers/video/tegra -ccflags-y += -I../display/drivers/video/tegra/dc -ccflags-y += -Idrivers/video/tegra/dc -ccflags-y += -I../display/drivers/video/tegra/dc/panel -ccflags-y += -Idrivers/video/tegra/dc/panel -ccflags-y += -I$(srctree)/arch/arm/mach-tegra - -obj-y += nvdisp.o -obj-y += nvdisp_win.o -obj-y += nvdisp_stub.o -obj-y += nvdisp_cursor.o -obj-y += nvdisp_config.o -obj-y += nvdisp_sd.o -obj-y += nvdisp_bandwidth.o -obj-$(CONFIG_TEGRA_LUT_V2) += nvdisp_lut.o -obj-$(CONFIG_TEGRA_CSC_V2) += nvdisp_csc.o - diff --git a/drivers/video/tegra/dc/nvdisp/Makefile.t18x b/drivers/video/tegra/dc/nvdisp/Makefile.t18x new file mode 100644 index 000000000..4711e62ee --- /dev/null +++ b/drivers/video/tegra/dc/nvdisp/Makefile.t18x @@ -0,0 +1,19 @@ +GCOV_PROFILE := y +subdir-ccflags-y := -Werror +ccflags-y += -Idrivers/video/tegra +ccflags-y += -I../display/drivers/video/tegra/dc +ccflags-y += -Idrivers/video/tegra/dc +ccflags-y += -I../display/drivers/video/tegra/dc/panel +ccflags-y += -Idrivers/video/tegra/dc/panel +ccflags-y += -I$(srctree)/arch/arm/mach-tegra + +obj-y += nvdisp.o +obj-y += nvdisp_win.o +obj-y += nvdisp_stub.o +obj-y += nvdisp_cursor.o +obj-y += nvdisp_config.o +obj-y += nvdisp_sd.o +obj-y += nvdisp_bandwidth.o +obj-$(CONFIG_TEGRA_LUT_V2) += nvdisp_lut.o +obj-$(CONFIG_TEGRA_CSC_V2) += nvdisp_csc.o + diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig deleted file mode 100644 index 499ed973a..000000000 --- a/drivers/watchdog/Kconfig +++ /dev/null @@ -1,9 +0,0 @@ -config TEGRA18X_WATCHDOG - tristate "Tegra T18x watchdog" - depends on ARCH_TEGRA_18x_SOC - help - Say Y here to include support for the watchdog timer - embedded in NVIDIA Tegra SoCs. - - To compile this driver as a module, choose M here: the - module will be called tegra18x_wdt. diff --git a/drivers/watchdog/Kconfig.t18x b/drivers/watchdog/Kconfig.t18x new file mode 100644 index 000000000..499ed973a --- /dev/null +++ b/drivers/watchdog/Kconfig.t18x @@ -0,0 +1,9 @@ +config TEGRA18X_WATCHDOG + tristate "Tegra T18x watchdog" + depends on ARCH_TEGRA_18x_SOC + help + Say Y here to include support for the watchdog timer + embedded in NVIDIA Tegra SoCs. + + To compile this driver as a module, choose M here: the + module will be called tegra18x_wdt. diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile deleted file mode 100644 index 0f8b1cfa1..000000000 --- a/drivers/watchdog/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -ccflags-y += -Werror -obj-$(CONFIG_TEGRA18X_WATCHDOG) += tegra_wdt_t18x.o diff --git a/drivers/watchdog/Makefile.t18x b/drivers/watchdog/Makefile.t18x new file mode 100644 index 000000000..0f8b1cfa1 --- /dev/null +++ b/drivers/watchdog/Makefile.t18x @@ -0,0 +1,2 @@ +ccflags-y += -Werror +obj-$(CONFIG_TEGRA18X_WATCHDOG) += tegra_wdt_t18x.o -- cgit v1.2.2