diff options
author | Stephen Warren <swarren@nvidia.com> | 2017-09-14 12:51:18 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-29 14:00:42 -0400 |
commit | 20bb0324e532863cafc5dc41e8cd5a6ec28413d8 (patch) | |
tree | b1dffa63f11bb210bfc6b84ce0fc6f940428fa61 | |
parent | c04513ee6f787a70c9cc839117918e92e38ae9ff (diff) |
nvidia: use kernel overlay features
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.
Bug 1978395
Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | arch/arm64/Kconfig (renamed from arch/arm64/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/Kconfig | 6 | ||||
-rw-r--r-- | drivers/Makefile | 14 | ||||
-rw-r--r-- | drivers/Makefile.nvidia | 39 | ||||
-rw-r--r-- | drivers/ata/Kconfig (renamed from drivers/ata/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/ata/Makefile (renamed from drivers/ata/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/ata/tegra/Makefile (renamed from drivers/ata/tegra/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/clocksource/Kconfig (renamed from drivers/clocksource/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/clocksource/Makefile (renamed from drivers/clocksource/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/cpufreq/Makefile (renamed from drivers/cpufreq/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/cpuidle/Makefile (renamed from drivers/cpuidle/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/crypto/Kconfig (renamed from drivers/crypto/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/crypto/Makefile (renamed from drivers/crypto/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/dma/Kconfig (renamed from drivers/dma/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/dma/Makefile (renamed from drivers/dma/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/gpio/Kconfig (renamed from drivers/gpio/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/gpio/Makefile (renamed from drivers/gpio/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/gpu/drm/tegra/Makefile (renamed from drivers/gpu/drm/tegra/Makefile.nvidia) | 2 | ||||
-rw-r--r-- | drivers/gpu/host1x/Makefile (renamed from drivers/gpu/host1x/Makefile.nvidia) | 2 | ||||
-rw-r--r-- | drivers/i2c/Makefile (renamed from drivers/i2c/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/i2c/busses/Kconfig (renamed from drivers/i2c/busses/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/i2c/busses/Makefile (renamed from drivers/i2c/busses/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/Kconfig | 3 | ||||
-rw-r--r-- | drivers/iio/Makefile | 1 | ||||
-rw-r--r-- | drivers/iio/accel/Kconfig (renamed from drivers/iio/accel/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/iio/accel/Makefile (renamed from drivers/iio/accel/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/generic/Kconfig (renamed from drivers/iio/generic/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/generic/Makefile (renamed from drivers/iio/generic/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/gyro/Kconfig (renamed from drivers/iio/gyro/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/iio/gyro/Makefile (renamed from drivers/iio/gyro/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/imu/Kconfig | 3 | ||||
-rw-r--r-- | drivers/iio/imu/Makefile | 1 | ||||
-rw-r--r-- | drivers/iio/imu/nvi_mpu/Kconfig (renamed from drivers/iio/imu/nvi_mpu/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/imu/nvi_mpu/Makefile (renamed from drivers/iio/imu/nvi_mpu/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/light/Kconfig (renamed from drivers/iio/light/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/iio/light/Makefile (renamed from drivers/iio/light/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/magnetometer/Kconfig (renamed from drivers/iio/magnetometer/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/iio/magnetometer/Makefile (renamed from drivers/iio/magnetometer/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/pressure/Kconfig (renamed from drivers/iio/pressure/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/iio/pressure/Makefile (renamed from drivers/iio/pressure/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/iio/proximity/Kconfig (renamed from drivers/iio/proximity/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/iio/proximity/Makefile (renamed from drivers/iio/proximity/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/input/Makefile (renamed from drivers/input/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/input/touchscreen/Kconfig (renamed from drivers/input/touchscreen/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/input/touchscreen/Makefile (renamed from drivers/input/touchscreen/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/Makefile (renamed from drivers/media/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/i2c/Kconfig (renamed from drivers/media/i2c/Kconfig.nvidia) | 8 | ||||
-rw-r--r-- | drivers/media/i2c/Makefile (renamed from drivers/media/i2c/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/platform/Makefile (renamed from drivers/media/platform/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/Kconfig (renamed from drivers/media/platform/tegra/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/media/platform/tegra/Makefile (renamed from drivers/media/platform/tegra/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/camera/Makefile (renamed from drivers/media/platform/tegra/camera/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/camera/csi/Makefile (renamed from drivers/media/platform/tegra/camera/csi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/camera/vi/Makefile (renamed from drivers/media/platform/tegra/camera/vi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/isc/Makefile (renamed from drivers/media/platform/tegra/isc/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/mipical/Kconfig (renamed from drivers/media/platform/tegra/mipical/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/mipical/Makefile (renamed from drivers/media/platform/tegra/mipical/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/tpg/Makefile (renamed from drivers/media/platform/tegra/tpg/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/platform/tegra/vi/Makefile (renamed from drivers/media/platform/tegra/vi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/spi/Kconfig (renamed from drivers/media/spi/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/media/spi/Makefile (renamed from drivers/media/spi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/Kconfig (renamed from drivers/misc/Kconfig.nvidia) | 9 | ||||
-rw-r--r-- | drivers/misc/Makefile (renamed from drivers/misc/Makefile.nvidia) | 4 | ||||
-rw-r--r-- | drivers/misc/eqos_ape/Makefile (renamed from drivers/misc/eqos_ape/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/eqos_ape/eqos_ape_ioctl.h | 2 | ||||
-rw-r--r-- | drivers/misc/mods/Makefile (renamed from drivers/misc/mods/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs-aonsh/Kconfig (renamed from drivers/misc/nvs-aonsh/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs-aonsh/Makefile (renamed from drivers/misc/nvs-aonsh/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs-aonsh/nvs_aon_shub.c | 2 | ||||
-rw-r--r-- | drivers/misc/nvs-dfsh/Kconfig (renamed from drivers/misc/nvs-dfsh/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs-dfsh/Makefile (renamed from drivers/misc/nvs-dfsh/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs/Kconfig (renamed from drivers/misc/nvs/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/nvs/Makefile (renamed from drivers/misc/nvs/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/saf775x/Makefile (renamed from drivers/misc/saf775x/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/tegra-cec/Kconfig (renamed from drivers/misc/tegra-cec/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/misc/tegra-profiler/Kconfig (renamed from drivers/misc/tegra-profiler/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/tegra-profiler/Makefile (renamed from drivers/misc/tegra-profiler/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/tegra186-ahc/Kconfig (renamed from drivers/misc/tegra186-ahc/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/misc/tegra186-ahc/Makefile (renamed from drivers/misc/tegra186-ahc/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/Makefile (renamed from drivers/net/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/Kconfig | 5 | ||||
-rw-r--r-- | drivers/net/can/Kconfig.nvidia | 3 | ||||
-rw-r--r-- | drivers/net/can/Makefile (renamed from drivers/net/can/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/mttcan/Makefile (renamed from drivers/net/can/mttcan/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/mttcan/ivc/Kconfig (renamed from drivers/net/can/mttcan/ivc/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/mttcan/ivc/Makefile (renamed from drivers/net/can/mttcan/ivc/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/mttcan/native/Kconfig (renamed from drivers/net/can/mttcan/native/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/mttcan/native/Makefile (renamed from drivers/net/can/mttcan/native/Makefile.nvidia) | 2 | ||||
-rw-r--r-- | drivers/net/can/nvsec/Kconfig (renamed from drivers/net/can/nvsec/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/net/can/nvsec/Makefile (renamed from drivers/net/can/nvsec/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/nvpmodel/Kconfig (renamed from drivers/nvpmodel/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/nvpmodel/Makefile (renamed from drivers/nvpmodel/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/padctrl/Kconfig (renamed from drivers/padctrl/Kconfig.nvidia) | 2 | ||||
-rw-r--r-- | drivers/padctrl/Makefile (renamed from drivers/padctrl/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/pinctrl/Kconfig (renamed from drivers/pinctrl/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/pinctrl/Makefile (renamed from drivers/pinctrl/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/platform/Makefile (renamed from drivers/platform/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/platform/tegra/Kconfig (renamed from drivers/platform/tegra/Kconfig.nvidia) | 2 | ||||
-rw-r--r-- | drivers/platform/tegra/Makefile (renamed from drivers/platform/tegra/Makefile.nvidia) | 2 | ||||
-rw-r--r-- | drivers/platform/tegra/nvadsp/Kconfig (renamed from drivers/platform/tegra/nvadsp/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/platform/tegra/nvadsp/Makefile (renamed from drivers/platform/tegra/nvadsp/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/platform/tegra/powergate/Makefile (renamed from drivers/platform/tegra/powergate/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/platform/tegra/rtcpu/Makefile (renamed from drivers/platform/tegra/rtcpu/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/regulator/Kconfig (renamed from drivers/regulator/Kconfig.nvidia) | 2 | ||||
-rw-r--r-- | drivers/regulator/Makefile (renamed from drivers/regulator/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/reset/Makefile (renamed from drivers/reset/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/reset/tegra/Makefile (renamed from drivers/reset/tegra/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/scsi/ufs/Kconfig (renamed from drivers/scsi/ufs/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/scsi/ufs/Makefile (renamed from drivers/scsi/ufs/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/spi/Kconfig (renamed from drivers/spi/Kconfig.nvidia) | 6 | ||||
-rw-r--r-- | drivers/spi/Makefile (renamed from drivers/spi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/staging/iio/meter/Kconfig (renamed from drivers/staging/iio/meter/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/staging/iio/meter/Makefile (renamed from drivers/staging/iio/meter/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/thermal/Makefile (renamed from drivers/thermal/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/thermal/tegra/Kconfig (renamed from drivers/thermal/tegra/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/thermal/tegra/Makefile (renamed from drivers/thermal/tegra/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/tty/Makefile (renamed from drivers/tty/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/tty/serial/Kconfig (renamed from drivers/tty/serial/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | drivers/tty/serial/Makefile (renamed from drivers/tty/serial/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/Makefile (renamed from drivers/video/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/backlight/Kconfig (renamed from drivers/video/backlight/Kconfig.nvidia) | 1 | ||||
-rw-r--r-- | drivers/video/backlight/Makefile (renamed from drivers/video/backlight/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/Kconfig (renamed from drivers/video/tegra/Kconfig.nvidia) | 9 | ||||
-rw-r--r-- | drivers/video/tegra/Makefile (renamed from drivers/video/tegra/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/camera/Makefile | 5 | ||||
-rw-r--r-- | drivers/video/tegra/camera/Makefile.nvidia | 7 | ||||
-rw-r--r-- | drivers/video/tegra/dc/Makefile | 11 | ||||
-rw-r--r-- | drivers/video/tegra/dc/Makefile.nvidia | 2 | ||||
-rw-r--r-- | drivers/video/tegra/dc/nvdisp/Makefile (renamed from drivers/video/tegra/dc/nvdisp/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/Makefile (renamed from drivers/video/tegra/host/Makefile.nvidia) | 6 | ||||
-rw-r--r-- | drivers/video/tegra/host/flcn/Makefile (renamed from drivers/video/tegra/host/flcn/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/host1x/Makefile (renamed from drivers/video/tegra/host/host1x/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/isp/Makefile (renamed from drivers/video/tegra/host/isp/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvcsi/Makefile (renamed from drivers/video/tegra/host/nvcsi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/nvdec/Makefile (renamed from drivers/video/tegra/host/nvdec/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/t124/Makefile (renamed from drivers/video/tegra/host/t124/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/t186/Makefile (renamed from drivers/video/tegra/host/t186/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/t210/Makefile (renamed from drivers/video/tegra/host/t210/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/tsec/Makefile (renamed from drivers/video/tegra/host/tsec/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/vhost/Makefile (renamed from drivers/video/tegra/host/vhost/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/host/vi/Makefile (renamed from drivers/video/tegra/host/vi/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/nvmap/Kconfig (renamed from drivers/video/tegra/nvmap/Kconfig.nvidia) | 0 | ||||
-rw-r--r-- | drivers/video/tegra/nvmap/Makefile (renamed from drivers/video/tegra/nvmap/Makefile.nvidia) | 6 | ||||
-rw-r--r-- | drivers/watchdog/Kconfig (renamed from drivers/watchdog/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | drivers/watchdog/Makefile (renamed from drivers/watchdog/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | sound/pci/Kconfig.nvidia | 1 | ||||
-rw-r--r-- | sound/pci/Makefile (renamed from sound/pci/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | sound/pci/hda/Kconfig (renamed from sound/pci/hda/Kconfig.nvidia) | 3 | ||||
-rw-r--r-- | sound/pci/hda/Makefile (renamed from sound/pci/hda/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | sound/soc/Kconfig | 6 | ||||
-rw-r--r-- | sound/soc/Kconfig.nvidia | 2 | ||||
-rw-r--r-- | sound/soc/Makefile (renamed from sound/soc/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | sound/soc/tegra-alt/Kconfig (renamed from sound/soc/tegra-alt/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | sound/soc/tegra-alt/Makefile (renamed from sound/soc/tegra-alt/Makefile.nvidia) | 0 | ||||
-rw-r--r-- | sound/soc/tegra-virt-alt/Kconfig (renamed from sound/soc/tegra-virt-alt/Kconfig.nvidia) | 4 | ||||
-rw-r--r-- | sound/soc/tegra-virt-alt/Makefile (renamed from sound/soc/tegra-virt-alt/Makefile.nvidia) | 8 |
157 files changed, 171 insertions, 89 deletions
diff --git a/arch/arm64/Kconfig.nvidia b/arch/arm64/Kconfig index 81558a81b..81558a81b 100644 --- a/arch/arm64/Kconfig.nvidia +++ b/arch/arm64/Kconfig | |||
diff --git a/drivers/Kconfig b/drivers/Kconfig new file mode 100644 index 000000000..edfd0ea6f --- /dev/null +++ b/drivers/Kconfig | |||
@@ -0,0 +1,6 @@ | |||
1 | append_menu "Device Drivers" | ||
2 | |||
3 | source "drivers/misc/tegra186-ahc/Kconfig" | ||
4 | source "drivers/nvpmodel/Kconfig" | ||
5 | |||
6 | endmenu | ||
diff --git a/drivers/Makefile b/drivers/Makefile new file mode 100644 index 000000000..c60307d97 --- /dev/null +++ b/drivers/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | ||
2 | # | ||
3 | # This program is free software; you can redistribute it and/or modify it | ||
4 | # under the terms and conditions of the GNU General Public License, | ||
5 | # version 2, as published by the Free Software Foundation. | ||
6 | # | ||
7 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
10 | # more details. | ||
11 | |||
12 | subdir-ccflags-y += -Werror | ||
13 | |||
14 | obj-$(CONFIG_NVPMODEL_EMC) += nvpmodel/ | ||
diff --git a/drivers/Makefile.nvidia b/drivers/Makefile.nvidia deleted file mode 100644 index 1b97a24fd..000000000 --- a/drivers/Makefile.nvidia +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | # Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | ||
2 | # | ||
3 | # This program is free software; you can redistribute it and/or modify it | ||
4 | # under the terms and conditions of the GNU General Public License, | ||
5 | # version 2, as published by the Free Software Foundation. | ||
6 | # | ||
7 | # This program is distributed in the hope it will be useful, but WITHOUT | ||
8 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
9 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
10 | # more details. | ||
11 | |||
12 | subdir-ccflags-y += -Werror | ||
13 | |||
14 | KBUILD_CFLAGS += -I$(srctree)/../nvidia/include | ||
15 | |||
16 | obj-y += i2c/ | ||
17 | obj-y += media/ | ||
18 | obj-y += misc/ | ||
19 | obj-y += video/ | ||
20 | obj-y += platform/ | ||
21 | obj-$(CONFIG_CLK_SRC_TEGRA18_TIMER) += clocksource/ | ||
22 | obj-$(CONFIG_CRYPTO) += crypto/ | ||
23 | obj-y += dma/ | ||
24 | obj-y += spi/ | ||
25 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | ||
26 | obj-y += pinctrl/ | ||
27 | obj-y += gpio/ | ||
28 | obj-y += watchdog/ | ||
29 | obj-y += reset/ | ||
30 | obj-$(CONFIG_THERMAL) += thermal/ | ||
31 | obj-y += net/ | ||
32 | obj-y += i2c/ | ||
33 | obj-$(CONFIG_CPU_IDLE) += cpuidle/ | ||
34 | obj-$(CONFIG_TEGRA186_AHC) += misc/tegra186-ahc/ | ||
35 | obj-y += tty/ | ||
36 | obj-y += input/ | ||
37 | obj-$(CONFIG_PADCTRL) += padctrl/ | ||
38 | obj-$(CONFIG_NVPMODEL_EMC) += nvpmodel/ | ||
39 | obj-$(CONFIG_REGULATOR) += regulator/ | ||
diff --git a/drivers/ata/Kconfig.nvidia b/drivers/ata/Kconfig index fd57a0458..fd57a0458 100644 --- a/drivers/ata/Kconfig.nvidia +++ b/drivers/ata/Kconfig | |||
diff --git a/drivers/ata/Makefile.nvidia b/drivers/ata/Makefile index f2ad55db4..f2ad55db4 100644 --- a/drivers/ata/Makefile.nvidia +++ b/drivers/ata/Makefile | |||
diff --git a/drivers/ata/tegra/Makefile.nvidia b/drivers/ata/tegra/Makefile index f8276eb50..f8276eb50 100644 --- a/drivers/ata/tegra/Makefile.nvidia +++ b/drivers/ata/tegra/Makefile | |||
diff --git a/drivers/clocksource/Kconfig.nvidia b/drivers/clocksource/Kconfig index f2e4dde89..f2e4dde89 100644 --- a/drivers/clocksource/Kconfig.nvidia +++ b/drivers/clocksource/Kconfig | |||
diff --git a/drivers/clocksource/Makefile.nvidia b/drivers/clocksource/Makefile index 7a169c183..7a169c183 100644 --- a/drivers/clocksource/Makefile.nvidia +++ b/drivers/clocksource/Makefile | |||
diff --git a/drivers/cpufreq/Makefile.nvidia b/drivers/cpufreq/Makefile index 76d8d6f2a..76d8d6f2a 100644 --- a/drivers/cpufreq/Makefile.nvidia +++ b/drivers/cpufreq/Makefile | |||
diff --git a/drivers/cpuidle/Makefile.nvidia b/drivers/cpuidle/Makefile index 24c000c34..24c000c34 100644 --- a/drivers/cpuidle/Makefile.nvidia +++ b/drivers/cpuidle/Makefile | |||
diff --git a/drivers/crypto/Kconfig.nvidia b/drivers/crypto/Kconfig index 39ad143e6..c71a21cfc 100644 --- a/drivers/crypto/Kconfig.nvidia +++ b/drivers/crypto/Kconfig | |||
@@ -1,3 +1,4 @@ | |||
1 | if CRYPTO_HW | ||
1 | 2 | ||
2 | config TEGRA_CRYPTO_DEV | 3 | config TEGRA_CRYPTO_DEV |
3 | tristate "Device node to access tegra aes hardware" | 4 | tristate "Device node to access tegra aes hardware" |
@@ -35,3 +36,5 @@ config CRYPTO_DEV_TEGRA_VIRTUAL_SE_INTERFACE | |||
35 | depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE | 36 | depends on ARCH_TEGRA_18x_SOC && CRYPTO_DEV_TEGRA_SE |
36 | help | 37 | help |
37 | This allows you to use Virtual SE interface for Tegra Crypto algorithms. | 38 | This allows you to use Virtual SE interface for Tegra Crypto algorithms. |
39 | |||
40 | endif | ||
diff --git a/drivers/crypto/Makefile.nvidia b/drivers/crypto/Makefile index 56bd62591..56bd62591 100644 --- a/drivers/crypto/Makefile.nvidia +++ b/drivers/crypto/Makefile | |||
diff --git a/drivers/dma/Kconfig.nvidia b/drivers/dma/Kconfig index 90487df10..7d44c9284 100644 --- a/drivers/dma/Kconfig.nvidia +++ b/drivers/dma/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if DMADEVICES | ||
2 | |||
1 | config TEGRA186_GPC_DMA | 3 | config TEGRA186_GPC_DMA |
2 | bool "NVIDIA Tegra186 GPC DMA support" | 4 | bool "NVIDIA Tegra186 GPC DMA support" |
3 | depends on ARCH_TEGRA_18x_SOC | 5 | depends on ARCH_TEGRA_18x_SOC |
@@ -10,3 +12,4 @@ config TEGRA186_GPC_DMA | |||
10 | This DMA controller transfers data from memory to peripheral fifo | 12 | This DMA controller transfers data from memory to peripheral fifo |
11 | or vice versa. It also supports memory to memory data transfer. | 13 | or vice versa. It also supports memory to memory data transfer. |
12 | 14 | ||
15 | endif | ||
diff --git a/drivers/dma/Makefile.nvidia b/drivers/dma/Makefile index 3fb8c670c..3fb8c670c 100644 --- a/drivers/dma/Makefile.nvidia +++ b/drivers/dma/Makefile | |||
diff --git a/drivers/gpio/Kconfig.nvidia b/drivers/gpio/Kconfig index 9ebf3f440..aced6473f 100644 --- a/drivers/gpio/Kconfig.nvidia +++ b/drivers/gpio/Kconfig | |||
@@ -1,5 +1,9 @@ | |||
1 | if GPIOLIB | ||
2 | |||
1 | config GPIO_TEGRA186 | 3 | config GPIO_TEGRA186 |
2 | bool "NVIDIA Tegra186 GPIO support" | 4 | bool "NVIDIA Tegra186 GPIO support" |
3 | select GPIO_SYSFS | 5 | select GPIO_SYSFS |
4 | help | 6 | help |
5 | Support for the NVIDIA Tegra186 GPIO controller driver. | 7 | Support for the NVIDIA Tegra186 GPIO controller driver. |
8 | |||
9 | endif | ||
diff --git a/drivers/gpio/Makefile.nvidia b/drivers/gpio/Makefile index d1a1e6788..d1a1e6788 100644 --- a/drivers/gpio/Makefile.nvidia +++ b/drivers/gpio/Makefile | |||
diff --git a/drivers/gpu/drm/tegra/Makefile.nvidia b/drivers/gpu/drm/tegra/Makefile index 98d4ee3c8..601d67886 100644 --- a/drivers/gpu/drm/tegra/Makefile.nvidia +++ b/drivers/gpu/drm/tegra/Makefile | |||
@@ -8,4 +8,6 @@ tegra-drm-t186-y = \ | |||
8 | nvjpg_t186.o \ | 8 | nvjpg_t186.o \ |
9 | tsec_t186.o | 9 | tsec_t186.o |
10 | 10 | ||
11 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | ||
11 | obj-$(CONFIG_TEGRA_HOST1X) += tegra-drm-t186.o | 12 | obj-$(CONFIG_TEGRA_HOST1X) += tegra-drm-t186.o |
13 | endif | ||
diff --git a/drivers/gpu/host1x/Makefile.nvidia b/drivers/gpu/host1x/Makefile index 00744ed9f..0d61d12a6 100644 --- a/drivers/gpu/host1x/Makefile.nvidia +++ b/drivers/gpu/host1x/Makefile | |||
@@ -5,4 +5,4 @@ host1x-t186-y = \ | |||
5 | dev_t186.o \ | 5 | dev_t186.o \ |
6 | hw/host1x05.o | 6 | hw/host1x05.o |
7 | 7 | ||
8 | obj-$(CONFIG_TEGRA_HOST1X) += host1x-t186.o | 8 | obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += host1x-t186.o |
diff --git a/drivers/i2c/Makefile.nvidia b/drivers/i2c/Makefile index 0717b752f..0717b752f 100644 --- a/drivers/i2c/Makefile.nvidia +++ b/drivers/i2c/Makefile | |||
diff --git a/drivers/i2c/busses/Kconfig.nvidia b/drivers/i2c/busses/Kconfig index 309587723..f800b3cdd 100644 --- a/drivers/i2c/busses/Kconfig.nvidia +++ b/drivers/i2c/busses/Kconfig | |||
@@ -1,3 +1,4 @@ | |||
1 | append_menu "I2C Hardware Bus support" | ||
1 | 2 | ||
2 | config I2C_TEGRA_VI | 3 | config I2C_TEGRA_VI |
3 | tristate "NVIDIA Tegra internal VII2C controller" | 4 | tristate "NVIDIA Tegra internal VII2C controller" |
@@ -35,3 +36,5 @@ config I2C_TEGRA_CAMRTC | |||
35 | compatible with I2C bus driver. The real driver is embedded in the | 36 | compatible with I2C bus driver. The real driver is embedded in the |
36 | Camera RTCPU firmware, and this driver merely communicates with | 37 | Camera RTCPU firmware, and this driver merely communicates with |
37 | that real driver. | 38 | that real driver. |
39 | |||
40 | endmenu | ||
diff --git a/drivers/i2c/busses/Makefile.nvidia b/drivers/i2c/busses/Makefile index 2b0356f7c..2b0356f7c 100644 --- a/drivers/i2c/busses/Makefile.nvidia +++ b/drivers/i2c/busses/Makefile | |||
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig new file mode 100644 index 000000000..aece33abc --- /dev/null +++ b/drivers/iio/Kconfig | |||
@@ -0,0 +1,3 @@ | |||
1 | if IIO | ||
2 | source "drivers/iio/generic/Kconfig" | ||
3 | endif | ||
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile new file mode 100644 index 000000000..7d635afdb --- /dev/null +++ b/drivers/iio/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y += generic/ | |||
diff --git a/drivers/iio/accel/Kconfig.nvidia b/drivers/iio/accel/Kconfig index 92695d973..9628f6a4a 100644 --- a/drivers/iio/accel/Kconfig.nvidia +++ b/drivers/iio/accel/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Accelerometers" | ||
2 | |||
1 | # | 3 | # |
2 | # Accelerometer drivers | 4 | # Accelerometer drivers |
3 | # | 5 | # |
@@ -9,3 +11,5 @@ config NVS_AIS328DQ | |||
9 | help | 11 | help |
10 | Say yes here to build support for STMicroelectronics AIS328DQ | 12 | Say yes here to build support for STMicroelectronics AIS328DQ |
11 | accelerometer using NVS (NVidia Sensor framework). | 13 | accelerometer using NVS (NVidia Sensor framework). |
14 | |||
15 | endmenu | ||
diff --git a/drivers/iio/accel/Makefile.nvidia b/drivers/iio/accel/Makefile index 498154b9d..498154b9d 100644 --- a/drivers/iio/accel/Makefile.nvidia +++ b/drivers/iio/accel/Makefile | |||
diff --git a/drivers/iio/generic/Kconfig.nvidia b/drivers/iio/generic/Kconfig index 6d65b4856..6d65b4856 100644 --- a/drivers/iio/generic/Kconfig.nvidia +++ b/drivers/iio/generic/Kconfig | |||
diff --git a/drivers/iio/generic/Makefile.nvidia b/drivers/iio/generic/Makefile index 32785cf7e..32785cf7e 100644 --- a/drivers/iio/generic/Makefile.nvidia +++ b/drivers/iio/generic/Makefile | |||
diff --git a/drivers/iio/gyro/Kconfig.nvidia b/drivers/iio/gyro/Kconfig index 21f8c01b2..65f224e65 100644 --- a/drivers/iio/gyro/Kconfig.nvidia +++ b/drivers/iio/gyro/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Digital gyroscope sensors" | ||
2 | |||
1 | # | 3 | # |
2 | # Gyroscope drivers | 4 | # Gyroscope drivers |
3 | # | 5 | # |
@@ -10,3 +12,4 @@ config NVS_A3G4250D | |||
10 | Say yes here to build support for STMicroelectronics A3G4250D | 12 | Say yes here to build support for STMicroelectronics A3G4250D |
11 | gyroscope using NVS (NVidia Sensor framework). | 13 | gyroscope using NVS (NVidia Sensor framework). |
12 | 14 | ||
15 | endmenu | ||
diff --git a/drivers/iio/gyro/Makefile.nvidia b/drivers/iio/gyro/Makefile index e26bd0100..e26bd0100 100644 --- a/drivers/iio/gyro/Makefile.nvidia +++ b/drivers/iio/gyro/Makefile | |||
diff --git a/drivers/iio/imu/Kconfig b/drivers/iio/imu/Kconfig new file mode 100644 index 000000000..cec1e70f8 --- /dev/null +++ b/drivers/iio/imu/Kconfig | |||
@@ -0,0 +1,3 @@ | |||
1 | append_menu "Inertial measurement units" | ||
2 | source "drivers/iio/imu/nvi_mpu/Kconfig" | ||
3 | endmenu | ||
diff --git a/drivers/iio/imu/Makefile b/drivers/iio/imu/Makefile new file mode 100644 index 000000000..88351dea7 --- /dev/null +++ b/drivers/iio/imu/Makefile | |||
@@ -0,0 +1 @@ | |||
obj-y += nvi_mpu/ | |||
diff --git a/drivers/iio/imu/nvi_mpu/Kconfig.nvidia b/drivers/iio/imu/nvi_mpu/Kconfig index ddf57b081..ddf57b081 100644 --- a/drivers/iio/imu/nvi_mpu/Kconfig.nvidia +++ b/drivers/iio/imu/nvi_mpu/Kconfig | |||
diff --git a/drivers/iio/imu/nvi_mpu/Makefile.nvidia b/drivers/iio/imu/nvi_mpu/Makefile index 017080d26..017080d26 100644 --- a/drivers/iio/imu/nvi_mpu/Makefile.nvidia +++ b/drivers/iio/imu/nvi_mpu/Makefile | |||
diff --git a/drivers/iio/light/Kconfig.nvidia b/drivers/iio/light/Kconfig index 532f71263..33da25260 100644 --- a/drivers/iio/light/Kconfig.nvidia +++ b/drivers/iio/light/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Light sensors" | ||
2 | |||
1 | # | 3 | # |
2 | # Light sensor drivers | 4 | # Light sensor drivers |
3 | # | 5 | # |
@@ -71,3 +73,5 @@ config NVS_MAX4400X | |||
71 | 73 | ||
72 | The driver uses the NVS (NVidia Sensor) IIO, light and | 74 | The driver uses the NVS (NVidia Sensor) IIO, light and |
73 | proximity framework. | 75 | proximity framework. |
76 | |||
77 | endmenu | ||
diff --git a/drivers/iio/light/Makefile.nvidia b/drivers/iio/light/Makefile index fcfcb34fd..fcfcb34fd 100644 --- a/drivers/iio/light/Makefile.nvidia +++ b/drivers/iio/light/Makefile | |||
diff --git a/drivers/iio/magnetometer/Kconfig.nvidia b/drivers/iio/magnetometer/Kconfig index a1e37cce9..8cc26208c 100644 --- a/drivers/iio/magnetometer/Kconfig.nvidia +++ b/drivers/iio/magnetometer/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Magnetometer sensors" | ||
2 | |||
1 | # | 3 | # |
2 | # Magnetometer sensors | 4 | # Magnetometer sensors |
3 | # | 5 | # |
@@ -14,3 +16,4 @@ config NVI_AK89XX | |||
14 | To compile this driver as a module, choose M here: the module | 16 | To compile this driver as a module, choose M here: the module |
15 | will be called nvi-ak89xx. | 17 | will be called nvi-ak89xx. |
16 | 18 | ||
19 | endmenu | ||
diff --git a/drivers/iio/magnetometer/Makefile.nvidia b/drivers/iio/magnetometer/Makefile index e36bd6f4e..e36bd6f4e 100644 --- a/drivers/iio/magnetometer/Makefile.nvidia +++ b/drivers/iio/magnetometer/Makefile | |||
diff --git a/drivers/iio/pressure/Kconfig.nvidia b/drivers/iio/pressure/Kconfig index 08e24a0e0..10b8c5652 100644 --- a/drivers/iio/pressure/Kconfig.nvidia +++ b/drivers/iio/pressure/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Pressure sensors" | ||
2 | |||
1 | # | 3 | # |
2 | # Pressure drivers | 4 | # Pressure drivers |
3 | # | 5 | # |
@@ -13,3 +15,4 @@ config NVI_BMPX80 | |||
13 | To compile this driver as a module, choose M here: the module | 15 | To compile this driver as a module, choose M here: the module |
14 | will be called nvi-bmpX80. | 16 | will be called nvi-bmpX80. |
15 | 17 | ||
18 | endmenu | ||
diff --git a/drivers/iio/pressure/Makefile.nvidia b/drivers/iio/pressure/Makefile index 0cbc76179..0cbc76179 100644 --- a/drivers/iio/pressure/Makefile.nvidia +++ b/drivers/iio/pressure/Makefile | |||
diff --git a/drivers/iio/proximity/Kconfig.nvidia b/drivers/iio/proximity/Kconfig index bc1526bad..b152dc2e3 100644 --- a/drivers/iio/proximity/Kconfig.nvidia +++ b/drivers/iio/proximity/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | menu "Proximity sensors" | ||
2 | |||
1 | # | 3 | # |
2 | # Proximity sensors | 4 | # Proximity sensors |
3 | # | 5 | # |
@@ -11,3 +13,4 @@ config NVS_IQS2X3 | |||
11 | The driver uses the NVS (NVidia Sensor) IIO and proximity | 13 | The driver uses the NVS (NVidia Sensor) IIO and proximity |
12 | framework. | 14 | framework. |
13 | 15 | ||
16 | endmenu | ||
diff --git a/drivers/iio/proximity/Makefile.nvidia b/drivers/iio/proximity/Makefile index 194d2594d..194d2594d 100644 --- a/drivers/iio/proximity/Makefile.nvidia +++ b/drivers/iio/proximity/Makefile | |||
diff --git a/drivers/input/Makefile.nvidia b/drivers/input/Makefile index 51db8266c..51db8266c 100644 --- a/drivers/input/Makefile.nvidia +++ b/drivers/input/Makefile | |||
diff --git a/drivers/input/touchscreen/Kconfig.nvidia b/drivers/input/touchscreen/Kconfig index 7a76f9d2b..fb5033c8f 100644 --- a/drivers/input/touchscreen/Kconfig.nvidia +++ b/drivers/input/touchscreen/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if INPUT_TOUCHSCREEN | ||
2 | |||
1 | config TOUCHSCREEN_NVIDIA_ATMEL_MXT | 3 | config TOUCHSCREEN_NVIDIA_ATMEL_MXT |
2 | tristate "NVIDIA Atmel mXT I2C Touchscreen" | 4 | tristate "NVIDIA Atmel mXT I2C Touchscreen" |
3 | depends on I2C | 5 | depends on I2C |
@@ -38,3 +40,5 @@ config TOUCHSCREEN_RM31080A | |||
38 | 40 | ||
39 | To compile this driver as a module, choose M here: the | 41 | To compile this driver as a module, choose M here: the |
40 | module will be called RAYDIUM_31080A. | 42 | module will be called RAYDIUM_31080A. |
43 | |||
44 | endif | ||
diff --git a/drivers/input/touchscreen/Makefile.nvidia b/drivers/input/touchscreen/Makefile index bb3b1a6e5..bb3b1a6e5 100644 --- a/drivers/input/touchscreen/Makefile.nvidia +++ b/drivers/input/touchscreen/Makefile | |||
diff --git a/drivers/media/Makefile.nvidia b/drivers/media/Makefile index 9c93f0c06..9c93f0c06 100644 --- a/drivers/media/Makefile.nvidia +++ b/drivers/media/Makefile | |||
diff --git a/drivers/media/i2c/Kconfig.nvidia b/drivers/media/i2c/Kconfig index 46f106c52..ee842dc62 100644 --- a/drivers/media/i2c/Kconfig.nvidia +++ b/drivers/media/i2c/Kconfig | |||
@@ -1,3 +1,7 @@ | |||
1 | if VIDEO_V4L2 | ||
2 | |||
3 | menu "NVIDIA overlay Encoders, decoders, sensors and other helper chips" | ||
4 | visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST | ||
1 | 5 | ||
2 | config VIDEO_IMX185 | 6 | config VIDEO_IMX185 |
3 | tristate "IMX185 camera sensor support" | 7 | tristate "IMX185 camera sensor support" |
@@ -94,3 +98,7 @@ config VIDEO_TC358840 | |||
94 | 98 | ||
95 | To compile this driver as a module, choose M here: the | 99 | To compile this driver as a module, choose M here: the |
96 | module will be called tc358840. | 100 | module will be called tc358840. |
101 | |||
102 | endmenu | ||
103 | |||
104 | endif | ||
diff --git a/drivers/media/i2c/Makefile.nvidia b/drivers/media/i2c/Makefile index f1f14864f..f1f14864f 100644 --- a/drivers/media/i2c/Makefile.nvidia +++ b/drivers/media/i2c/Makefile | |||
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig new file mode 100644 index 000000000..09e97cf1f --- /dev/null +++ b/drivers/media/platform/Kconfig | |||
@@ -0,0 +1,3 @@ | |||
1 | menu "NVIDIA overlay V4L platform devices" | ||
2 | source "drivers/media/platform/tegra/Kconfig" | ||
3 | endmenu | ||
diff --git a/drivers/media/platform/Makefile.nvidia b/drivers/media/platform/Makefile index 3d50fea2a..3d50fea2a 100644 --- a/drivers/media/platform/Makefile.nvidia +++ b/drivers/media/platform/Makefile | |||
diff --git a/drivers/media/platform/tegra/Kconfig.nvidia b/drivers/media/platform/tegra/Kconfig index 3eeef2916..9075bc727 100644 --- a/drivers/media/platform/tegra/Kconfig.nvidia +++ b/drivers/media/platform/tegra/Kconfig | |||
@@ -1,5 +1,4 @@ | |||
1 | 1 | source "drivers/media/platform/tegra/mipical/Kconfig" | |
2 | source "../nvidia/drivers/media/platform/tegra/mipical/Kconfig.nvidia" | ||
3 | 2 | ||
4 | config VIDEO_CAMERA | 3 | config VIDEO_CAMERA |
5 | tristate "generic camera device support" | 4 | tristate "generic camera device support" |
diff --git a/drivers/media/platform/tegra/Makefile.nvidia b/drivers/media/platform/tegra/Makefile index 4a8a01c5e..4a8a01c5e 100644 --- a/drivers/media/platform/tegra/Makefile.nvidia +++ b/drivers/media/platform/tegra/Makefile | |||
diff --git a/drivers/media/platform/tegra/camera/Makefile.nvidia b/drivers/media/platform/tegra/camera/Makefile index 292550a26..292550a26 100644 --- a/drivers/media/platform/tegra/camera/Makefile.nvidia +++ b/drivers/media/platform/tegra/camera/Makefile | |||
diff --git a/drivers/media/platform/tegra/camera/csi/Makefile.nvidia b/drivers/media/platform/tegra/camera/csi/Makefile index 7fcd48c53..7fcd48c53 100644 --- a/drivers/media/platform/tegra/camera/csi/Makefile.nvidia +++ b/drivers/media/platform/tegra/camera/csi/Makefile | |||
diff --git a/drivers/media/platform/tegra/camera/vi/Makefile.nvidia b/drivers/media/platform/tegra/camera/vi/Makefile index 77884f3dd..77884f3dd 100644 --- a/drivers/media/platform/tegra/camera/vi/Makefile.nvidia +++ b/drivers/media/platform/tegra/camera/vi/Makefile | |||
diff --git a/drivers/media/platform/tegra/isc/Makefile.nvidia b/drivers/media/platform/tegra/isc/Makefile index 359d479df..359d479df 100644 --- a/drivers/media/platform/tegra/isc/Makefile.nvidia +++ b/drivers/media/platform/tegra/isc/Makefile | |||
diff --git a/drivers/media/platform/tegra/mipical/Kconfig.nvidia b/drivers/media/platform/tegra/mipical/Kconfig index e00659b2b..e00659b2b 100644 --- a/drivers/media/platform/tegra/mipical/Kconfig.nvidia +++ b/drivers/media/platform/tegra/mipical/Kconfig | |||
diff --git a/drivers/media/platform/tegra/mipical/Makefile.nvidia b/drivers/media/platform/tegra/mipical/Makefile index ffd996e09..ffd996e09 100644 --- a/drivers/media/platform/tegra/mipical/Makefile.nvidia +++ b/drivers/media/platform/tegra/mipical/Makefile | |||
diff --git a/drivers/media/platform/tegra/tpg/Makefile.nvidia b/drivers/media/platform/tegra/tpg/Makefile index 3a94af88b..3a94af88b 100644 --- a/drivers/media/platform/tegra/tpg/Makefile.nvidia +++ b/drivers/media/platform/tegra/tpg/Makefile | |||
diff --git a/drivers/media/platform/tegra/vi/Makefile.nvidia b/drivers/media/platform/tegra/vi/Makefile index da13dd5dc..da13dd5dc 100644 --- a/drivers/media/platform/tegra/vi/Makefile.nvidia +++ b/drivers/media/platform/tegra/vi/Makefile | |||
diff --git a/drivers/media/spi/Kconfig.nvidia b/drivers/media/spi/Kconfig index bf401f57a..bf401f57a 100644 --- a/drivers/media/spi/Kconfig.nvidia +++ b/drivers/media/spi/Kconfig | |||
diff --git a/drivers/media/spi/Makefile.nvidia b/drivers/media/spi/Makefile index 54ae95255..54ae95255 100644 --- a/drivers/media/spi/Makefile.nvidia +++ b/drivers/media/spi/Makefile | |||
diff --git a/drivers/misc/Kconfig.nvidia b/drivers/misc/Kconfig index 23a631dd2..a43cd3ffe 100644 --- a/drivers/misc/Kconfig.nvidia +++ b/drivers/misc/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Misc devices" | ||
2 | |||
1 | config MODS | 3 | config MODS |
2 | tristate "NVIDIA MODS driver" | 4 | tristate "NVIDIA MODS driver" |
3 | select OF_DYNAMIC | 5 | select OF_DYNAMIC |
@@ -75,4 +77,9 @@ config TEGRA_SKIN | |||
75 | features like rail power, rail current, backlight brightness. The | 77 | features like rail power, rail current, backlight brightness. The |
76 | driver estimates multiple hotspot temperatures based on OF configuration. | 78 | driver estimates multiple hotspot temperatures based on OF configuration. |
77 | 79 | ||
78 | trysource "../nvidia/drivers/misc/nvs-dfsh/Kconfig.nvidia" | 80 | source "drivers/misc/nvs-dfsh/Kconfig" |
81 | source "drivers/misc/nvs/Kconfig" | ||
82 | source "drivers/misc/nvs-aonsh/Kconfig" | ||
83 | source "drivers/misc/tegra-profiler/Kconfig" | ||
84 | |||
85 | endmenu | ||
diff --git a/drivers/misc/Makefile.nvidia b/drivers/misc/Makefile index a0fc051bf..cb57e0334 100644 --- a/drivers/misc/Makefile.nvidia +++ b/drivers/misc/Makefile | |||
@@ -1,4 +1,7 @@ | |||
1 | obj-$(CONFIG_MODS) += mods/ | 1 | obj-$(CONFIG_MODS) += mods/ |
2 | obj-y += nvs/ | ||
3 | obj-y += nvs-aonsh/ | ||
4 | obj-$(CONFIG_TEGRA_PROFILER) += tegra-profiler/ | ||
2 | 5 | ||
3 | obj-$(CONFIG_NVS_DFSH) += nvs-dfsh/ | 6 | obj-$(CONFIG_NVS_DFSH) += nvs-dfsh/ |
4 | obj-$(CONFIG_SAF775x_HWDEP) += saf775x/ | 7 | obj-$(CONFIG_SAF775x_HWDEP) += saf775x/ |
@@ -9,3 +12,4 @@ obj-$(CONFIG_THERM_EST) += therm_est.o | |||
9 | obj-$(CONFIG_FAN_THERM_EST) += therm_fan_est.o | 12 | obj-$(CONFIG_FAN_THERM_EST) += therm_fan_est.o |
10 | obj-$(CONFIG_EQOS_APE_HWDEP) += eqos_ape/ | 13 | obj-$(CONFIG_EQOS_APE_HWDEP) += eqos_ape/ |
11 | obj-$(CONFIG_TEGRA_SKIN) += tegra-skin.o | 14 | obj-$(CONFIG_TEGRA_SKIN) += tegra-skin.o |
15 | obj-$(CONFIG_TEGRA186_AHC) += tegra186-ahc/ | ||
diff --git a/drivers/misc/eqos_ape/Makefile.nvidia b/drivers/misc/eqos_ape/Makefile index 7d7872042..7d7872042 100644 --- a/drivers/misc/eqos_ape/Makefile.nvidia +++ b/drivers/misc/eqos_ape/Makefile | |||
diff --git a/drivers/misc/eqos_ape/eqos_ape_ioctl.h b/drivers/misc/eqos_ape/eqos_ape_ioctl.h index faafa916e..b82232902 100644 --- a/drivers/misc/eqos_ape/eqos_ape_ioctl.h +++ b/drivers/misc/eqos_ape/eqos_ape_ioctl.h | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/cdev.h> | 25 | #include <linux/cdev.h> |
26 | #include <linux/fs.h> | 26 | #include <linux/fs.h> |
27 | 27 | ||
28 | #include <eqos_ape_global.h> | 28 | #include "eqos_ape_global.h" |
29 | 29 | ||
30 | struct eqos_ape_cmd { | 30 | struct eqos_ape_cmd { |
31 | int ppm; | 31 | int ppm; |
diff --git a/drivers/misc/mods/Makefile.nvidia b/drivers/misc/mods/Makefile index 95ea29169..95ea29169 100644 --- a/drivers/misc/mods/Makefile.nvidia +++ b/drivers/misc/mods/Makefile | |||
diff --git a/drivers/misc/nvs-aonsh/Kconfig.nvidia b/drivers/misc/nvs-aonsh/Kconfig index cbe5c85be..cbe5c85be 100644 --- a/drivers/misc/nvs-aonsh/Kconfig.nvidia +++ b/drivers/misc/nvs-aonsh/Kconfig | |||
diff --git a/drivers/misc/nvs-aonsh/Makefile.nvidia b/drivers/misc/nvs-aonsh/Makefile index c1c78be2a..c1c78be2a 100644 --- a/drivers/misc/nvs-aonsh/Makefile.nvidia +++ b/drivers/misc/nvs-aonsh/Makefile | |||
diff --git a/drivers/misc/nvs-aonsh/nvs_aon_shub.c b/drivers/misc/nvs-aonsh/nvs_aon_shub.c index 82ac8b46e..819a01616 100644 --- a/drivers/misc/nvs-aonsh/nvs_aon_shub.c +++ b/drivers/misc/nvs-aonsh/nvs_aon_shub.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <asm/io.h> | 63 | #include <asm/io.h> |
64 | #include <asm/arch_timer.h> | 64 | #include <asm/arch_timer.h> |
65 | 65 | ||
66 | #include <aon-shub-messages.h> | 66 | #include "aon-shub-messages.h" |
67 | 67 | ||
68 | #define READJUST_TS_SAMPLES (100) | 68 | #define READJUST_TS_SAMPLES (100) |
69 | 69 | ||
diff --git a/drivers/misc/nvs-dfsh/Kconfig.nvidia b/drivers/misc/nvs-dfsh/Kconfig index e14aa86a8..e14aa86a8 100644 --- a/drivers/misc/nvs-dfsh/Kconfig.nvidia +++ b/drivers/misc/nvs-dfsh/Kconfig | |||
diff --git a/drivers/misc/nvs-dfsh/Makefile.nvidia b/drivers/misc/nvs-dfsh/Makefile index 36ae32f38..36ae32f38 100644 --- a/drivers/misc/nvs-dfsh/Makefile.nvidia +++ b/drivers/misc/nvs-dfsh/Makefile | |||
diff --git a/drivers/misc/nvs/Kconfig.nvidia b/drivers/misc/nvs/Kconfig index e22cfe44a..e22cfe44a 100644 --- a/drivers/misc/nvs/Kconfig.nvidia +++ b/drivers/misc/nvs/Kconfig | |||
diff --git a/drivers/misc/nvs/Makefile.nvidia b/drivers/misc/nvs/Makefile index 19b17dfb5..19b17dfb5 100644 --- a/drivers/misc/nvs/Makefile.nvidia +++ b/drivers/misc/nvs/Makefile | |||
diff --git a/drivers/misc/saf775x/Makefile.nvidia b/drivers/misc/saf775x/Makefile index 65839e9f6..65839e9f6 100644 --- a/drivers/misc/saf775x/Makefile.nvidia +++ b/drivers/misc/saf775x/Makefile | |||
diff --git a/drivers/misc/tegra-cec/Kconfig.nvidia b/drivers/misc/tegra-cec/Kconfig index 074f74300..f7fe81c12 100644 --- a/drivers/misc/tegra-cec/Kconfig.nvidia +++ b/drivers/misc/tegra-cec/Kconfig | |||
@@ -1,6 +1,9 @@ | |||
1 | if ARCH_TEGRA | ||
2 | |||
1 | config TEGRA_CEC_SUPPORT | 3 | config TEGRA_CEC_SUPPORT |
2 | bool "Tegra CEC support" | 4 | bool "Tegra CEC support" |
3 | depends on TEGRA_DC | 5 | depends on TEGRA_DC |
4 | ---help--- | 6 | ---help--- |
5 | Enables HDMI-CEC driver for Tegra SoC. | 7 | Enables HDMI-CEC driver for Tegra SoC. |
6 | 8 | ||
9 | endif | ||
diff --git a/drivers/misc/tegra-profiler/Kconfig.nvidia b/drivers/misc/tegra-profiler/Kconfig index c320906d3..c320906d3 100644 --- a/drivers/misc/tegra-profiler/Kconfig.nvidia +++ b/drivers/misc/tegra-profiler/Kconfig | |||
diff --git a/drivers/misc/tegra-profiler/Makefile.nvidia b/drivers/misc/tegra-profiler/Makefile index 5abff8d1f..5abff8d1f 100644 --- a/drivers/misc/tegra-profiler/Makefile.nvidia +++ b/drivers/misc/tegra-profiler/Makefile | |||
diff --git a/drivers/misc/tegra186-ahc/Kconfig.nvidia b/drivers/misc/tegra186-ahc/Kconfig index 017125c29..017125c29 100644 --- a/drivers/misc/tegra186-ahc/Kconfig.nvidia +++ b/drivers/misc/tegra186-ahc/Kconfig | |||
diff --git a/drivers/misc/tegra186-ahc/Makefile.nvidia b/drivers/misc/tegra186-ahc/Makefile index 8e7279353..8e7279353 100644 --- a/drivers/misc/tegra186-ahc/Makefile.nvidia +++ b/drivers/misc/tegra186-ahc/Makefile | |||
diff --git a/drivers/net/Makefile.nvidia b/drivers/net/Makefile index fdedda760..fdedda760 100644 --- a/drivers/net/Makefile.nvidia +++ b/drivers/net/Makefile | |||
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig new file mode 100644 index 000000000..71ebba10b --- /dev/null +++ b/drivers/net/can/Kconfig | |||
@@ -0,0 +1,5 @@ | |||
1 | if CAN_DEV | ||
2 | source "drivers/net/can/mttcan/native/Kconfig" | ||
3 | source "drivers/net/can/mttcan/ivc/Kconfig" | ||
4 | source "drivers/net/can/nvsec/Kconfig" | ||
5 | endif | ||
diff --git a/drivers/net/can/Kconfig.nvidia b/drivers/net/can/Kconfig.nvidia deleted file mode 100644 index 2dfd58d9e..000000000 --- a/drivers/net/can/Kconfig.nvidia +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | trysource "../nvidia/drivers/net/can/mttcan/native/Kconfig.nvidia" | ||
2 | trysource "../nvidia/drivers/net/can/mttcan/ivc/Kconfig.nvidia" | ||
3 | trysource "../nvidia/drivers/net/can/nvsec/Kconfig.nvidia" | ||
diff --git a/drivers/net/can/Makefile.nvidia b/drivers/net/can/Makefile index ba6577458..ba6577458 100644 --- a/drivers/net/can/Makefile.nvidia +++ b/drivers/net/can/Makefile | |||
diff --git a/drivers/net/can/mttcan/Makefile.nvidia b/drivers/net/can/mttcan/Makefile index 8459c62cc..8459c62cc 100644 --- a/drivers/net/can/mttcan/Makefile.nvidia +++ b/drivers/net/can/mttcan/Makefile | |||
diff --git a/drivers/net/can/mttcan/ivc/Kconfig.nvidia b/drivers/net/can/mttcan/ivc/Kconfig index a73619fd7..a73619fd7 100644 --- a/drivers/net/can/mttcan/ivc/Kconfig.nvidia +++ b/drivers/net/can/mttcan/ivc/Kconfig | |||
diff --git a/drivers/net/can/mttcan/ivc/Makefile.nvidia b/drivers/net/can/mttcan/ivc/Makefile index 4ce03181d..4ce03181d 100644 --- a/drivers/net/can/mttcan/ivc/Makefile.nvidia +++ b/drivers/net/can/mttcan/ivc/Makefile | |||
diff --git a/drivers/net/can/mttcan/native/Kconfig.nvidia b/drivers/net/can/mttcan/native/Kconfig index 28e8730ab..28e8730ab 100644 --- a/drivers/net/can/mttcan/native/Kconfig.nvidia +++ b/drivers/net/can/mttcan/native/Kconfig | |||
diff --git a/drivers/net/can/mttcan/native/Makefile.nvidia b/drivers/net/can/mttcan/native/Makefile index 502d57b2c..b642dce42 100644 --- a/drivers/net/can/mttcan/native/Makefile.nvidia +++ b/drivers/net/can/mttcan/native/Makefile | |||
@@ -21,4 +21,4 @@ mttcan-y = m_ttcan_linux.o m_ttcan_sys.o ../hal/m_ttcan.o | |||
21 | mttcan-y += ../hal/m_ttcan_intr.o ../hal/m_ttcan_list.o ../hal/m_ttcan_ram.o | 21 | mttcan-y += ../hal/m_ttcan_intr.o ../hal/m_ttcan_list.o ../hal/m_ttcan_ram.o |
22 | mttcan-y += ../hal/m_ttcan_tt.o | 22 | mttcan-y += ../hal/m_ttcan_tt.o |
23 | 23 | ||
24 | ccflags-y += -I$(src)/../include | 24 | ccflags-y += -I$(overlay)/drivers/net/can/mttcan/include |
diff --git a/drivers/net/can/nvsec/Kconfig.nvidia b/drivers/net/can/nvsec/Kconfig index a0a50568b..a0a50568b 100644 --- a/drivers/net/can/nvsec/Kconfig.nvidia +++ b/drivers/net/can/nvsec/Kconfig | |||
diff --git a/drivers/net/can/nvsec/Makefile.nvidia b/drivers/net/can/nvsec/Makefile index 9d6ab7a6b..9d6ab7a6b 100644 --- a/drivers/net/can/nvsec/Makefile.nvidia +++ b/drivers/net/can/nvsec/Makefile | |||
diff --git a/drivers/nvpmodel/Kconfig.nvidia b/drivers/nvpmodel/Kconfig index 9a559af7d..9a559af7d 100644 --- a/drivers/nvpmodel/Kconfig.nvidia +++ b/drivers/nvpmodel/Kconfig | |||
diff --git a/drivers/nvpmodel/Makefile.nvidia b/drivers/nvpmodel/Makefile index f7bf6edee..f7bf6edee 100644 --- a/drivers/nvpmodel/Makefile.nvidia +++ b/drivers/nvpmodel/Makefile | |||
diff --git a/drivers/padctrl/Kconfig.nvidia b/drivers/padctrl/Kconfig index b81b1b169..5696fec65 100644 --- a/drivers/padctrl/Kconfig.nvidia +++ b/drivers/padctrl/Kconfig | |||
@@ -1,4 +1,5 @@ | |||
1 | if PADCTRL | 1 | if PADCTRL |
2 | |||
2 | config PADCTRL_GENERIC_TEGRA_IO_PAD | 3 | config PADCTRL_GENERIC_TEGRA_IO_PAD |
3 | bool "Generic Tegra IO Pad control driver" | 4 | bool "Generic Tegra IO Pad control driver" |
4 | depends on ARCH_TEGRA | 5 | depends on ARCH_TEGRA |
@@ -7,4 +8,5 @@ config PADCTRL_GENERIC_TEGRA_IO_PAD | |||
7 | 8 | ||
8 | Tegra IO Pad padctrl driver which controls the IO pad | 9 | Tegra IO Pad padctrl driver which controls the IO pad |
9 | configuration for 1.2V, 1.8V and 3.3V. | 10 | configuration for 1.2V, 1.8V and 3.3V. |
11 | |||
10 | endif | 12 | endif |
diff --git a/drivers/padctrl/Makefile.nvidia b/drivers/padctrl/Makefile index b7a726230..b7a726230 100644 --- a/drivers/padctrl/Makefile.nvidia +++ b/drivers/padctrl/Makefile | |||
diff --git a/drivers/pinctrl/Kconfig.nvidia b/drivers/pinctrl/Kconfig index 325875a27..4261010aa 100644 --- a/drivers/pinctrl/Kconfig.nvidia +++ b/drivers/pinctrl/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Pin controllers" | ||
2 | |||
1 | config PINCTRL_TEGRA186 | 3 | config PINCTRL_TEGRA186 |
2 | bool "NVIDIA Tegra186 Pinmux support" | 4 | bool "NVIDIA Tegra186 Pinmux support" |
3 | select PINCTRL_TEGRA | 5 | select PINCTRL_TEGRA |
@@ -17,3 +19,5 @@ config PINCTRL_TEGRA186_DPAUX | |||
17 | depends on ARCH_TEGRA_18x_SOC | 19 | depends on ARCH_TEGRA_18x_SOC |
18 | select PINCONF | 20 | select PINCONF |
19 | select PINMUX | 21 | select PINMUX |
22 | |||
23 | endmenu | ||
diff --git a/drivers/pinctrl/Makefile.nvidia b/drivers/pinctrl/Makefile index d7f607883..d7f607883 100644 --- a/drivers/pinctrl/Makefile.nvidia +++ b/drivers/pinctrl/Makefile | |||
diff --git a/drivers/platform/Makefile.nvidia b/drivers/platform/Makefile index 3d50fea2a..3d50fea2a 100644 --- a/drivers/platform/Makefile.nvidia +++ b/drivers/platform/Makefile | |||
diff --git a/drivers/platform/tegra/Kconfig.nvidia b/drivers/platform/tegra/Kconfig index 82f5fd03d..7dfd2a00d 100644 --- a/drivers/platform/tegra/Kconfig.nvidia +++ b/drivers/platform/tegra/Kconfig | |||
@@ -130,3 +130,5 @@ config TEGRA_SAFETY_SCE | |||
130 | This enables communication between CCPLEX and SCE over IVC channel. | 130 | This enables communication between CCPLEX and SCE over IVC channel. |
131 | This also provides a userspace command response interface as | 131 | This also provides a userspace command response interface as |
132 | character device which will be used by other safety modules. | 132 | character device which will be used by other safety modules. |
133 | |||
134 | source "drivers/platform/tegra/nvadsp/Kconfig" | ||
diff --git a/drivers/platform/tegra/Makefile.nvidia b/drivers/platform/tegra/Makefile index 90eab4ba1..944691b82 100644 --- a/drivers/platform/tegra/Makefile.nvidia +++ b/drivers/platform/tegra/Makefile | |||
@@ -43,3 +43,5 @@ obj-$(CONFIG_DENVER_DEBUG)+= denver-hardwood.o | |||
43 | obj-$(CONFIG_DENVER_MCA) += denver_mca.o | 43 | obj-$(CONFIG_DENVER_MCA) += denver_mca.o |
44 | obj-$(CONFIG_TEGRA_SAFETY_SCE) += tegra-safety.o | 44 | obj-$(CONFIG_TEGRA_SAFETY_SCE) += tegra-safety.o |
45 | tegra-safety-objs += tegra-safety-ivc.o tegra-safety-dev.o | 45 | tegra-safety-objs += tegra-safety-ivc.o tegra-safety-dev.o |
46 | |||
47 | obj-$(CONFIG_TEGRA_NVADSP) += nvadsp/ | ||
diff --git a/drivers/platform/tegra/nvadsp/Kconfig.nvidia b/drivers/platform/tegra/nvadsp/Kconfig index 4f3fa7004..4f3fa7004 100644 --- a/drivers/platform/tegra/nvadsp/Kconfig.nvidia +++ b/drivers/platform/tegra/nvadsp/Kconfig | |||
diff --git a/drivers/platform/tegra/nvadsp/Makefile.nvidia b/drivers/platform/tegra/nvadsp/Makefile index 87c8cd37d..87c8cd37d 100644 --- a/drivers/platform/tegra/nvadsp/Makefile.nvidia +++ b/drivers/platform/tegra/nvadsp/Makefile | |||
diff --git a/drivers/platform/tegra/powergate/Makefile.nvidia b/drivers/platform/tegra/powergate/Makefile index b89051683..b89051683 100644 --- a/drivers/platform/tegra/powergate/Makefile.nvidia +++ b/drivers/platform/tegra/powergate/Makefile | |||
diff --git a/drivers/platform/tegra/rtcpu/Makefile.nvidia b/drivers/platform/tegra/rtcpu/Makefile index 0b37f13b7..0b37f13b7 100644 --- a/drivers/platform/tegra/rtcpu/Makefile.nvidia +++ b/drivers/platform/tegra/rtcpu/Makefile | |||
diff --git a/drivers/regulator/Kconfig.nvidia b/drivers/regulator/Kconfig index 321ed2c9e..11a01543c 100644 --- a/drivers/regulator/Kconfig.nvidia +++ b/drivers/regulator/Kconfig | |||
@@ -7,5 +7,5 @@ config REGULATOR_PMIC_OTP | |||
7 | without any actual implementation. This should be used if it | 7 | without any actual implementation. This should be used if it |
8 | is required to use the PMCI OTP configuration and do not want | 8 | is required to use the PMCI OTP configuration and do not want |
9 | to register PMIC. | 9 | to register PMIC. |
10 | endif | ||
11 | 10 | ||
11 | endif | ||
diff --git a/drivers/regulator/Makefile.nvidia b/drivers/regulator/Makefile index 9dbd02bf5..9dbd02bf5 100644 --- a/drivers/regulator/Makefile.nvidia +++ b/drivers/regulator/Makefile | |||
diff --git a/drivers/reset/Makefile.nvidia b/drivers/reset/Makefile index 94a640234..94a640234 100644 --- a/drivers/reset/Makefile.nvidia +++ b/drivers/reset/Makefile | |||
diff --git a/drivers/reset/tegra/Makefile.nvidia b/drivers/reset/tegra/Makefile index eec4279fc..eec4279fc 100644 --- a/drivers/reset/tegra/Makefile.nvidia +++ b/drivers/reset/tegra/Makefile | |||
diff --git a/drivers/scsi/ufs/Kconfig.nvidia b/drivers/scsi/ufs/Kconfig index b81d09153..b81d09153 100644 --- a/drivers/scsi/ufs/Kconfig.nvidia +++ b/drivers/scsi/ufs/Kconfig | |||
diff --git a/drivers/scsi/ufs/Makefile.nvidia b/drivers/scsi/ufs/Makefile index 025f7075f..025f7075f 100644 --- a/drivers/scsi/ufs/Makefile.nvidia +++ b/drivers/scsi/ufs/Makefile | |||
diff --git a/drivers/spi/Kconfig.nvidia b/drivers/spi/Kconfig index 4d43f6557..f0209f956 100644 --- a/drivers/spi/Kconfig.nvidia +++ b/drivers/spi/Kconfig | |||
@@ -1,6 +1,12 @@ | |||
1 | if SPI | ||
2 | if SPI_MASTER | ||
3 | |||
1 | config SPI_TEGRA186_AON | 4 | config SPI_TEGRA186_AON |
2 | bool "Tegra18x AON SPI proxy driver" | 5 | bool "Tegra18x AON SPI proxy driver" |
3 | depends on ARCH_TEGRA_18x_SOC | 6 | depends on ARCH_TEGRA_18x_SOC |
4 | default y | 7 | default y |
5 | select TEGRA_IVC | 8 | select TEGRA_IVC |
6 | select TEGRA_HSP | 9 | select TEGRA_HSP |
10 | |||
11 | endif | ||
12 | endif | ||
diff --git a/drivers/spi/Makefile.nvidia b/drivers/spi/Makefile index 5c671030f..5c671030f 100644 --- a/drivers/spi/Makefile.nvidia +++ b/drivers/spi/Makefile | |||
diff --git a/drivers/staging/iio/meter/Kconfig.nvidia b/drivers/staging/iio/meter/Kconfig index 2f57c55ba..f8221d3d1 100644 --- a/drivers/staging/iio/meter/Kconfig.nvidia +++ b/drivers/staging/iio/meter/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "Active energy metering IC" | ||
2 | |||
1 | config INA219 | 3 | config INA219 |
2 | tristate "TI INA219 bidirectional current/power monitor" | 4 | tristate "TI INA219 bidirectional current/power monitor" |
3 | depends on I2C | 5 | depends on I2C |
@@ -21,3 +23,5 @@ config INA3221 | |||
21 | TI INA3221 is Triple-Channel, High-Side Measurement, Shunt and Bus | 23 | TI INA3221 is Triple-Channel, High-Side Measurement, Shunt and Bus |
22 | Voltage Monitor with I2C Interface | 24 | Voltage Monitor with I2C Interface |
23 | Say Y here if you have INA3221 hooked to a I2C bus. | 25 | Say Y here if you have INA3221 hooked to a I2C bus. |
26 | |||
27 | endmenu | ||
diff --git a/drivers/staging/iio/meter/Makefile.nvidia b/drivers/staging/iio/meter/Makefile index 85557f4c9..85557f4c9 100644 --- a/drivers/staging/iio/meter/Makefile.nvidia +++ b/drivers/staging/iio/meter/Makefile | |||
diff --git a/drivers/thermal/Makefile.nvidia b/drivers/thermal/Makefile index 0c48740ad..0c48740ad 100644 --- a/drivers/thermal/Makefile.nvidia +++ b/drivers/thermal/Makefile | |||
diff --git a/drivers/thermal/tegra/Kconfig.nvidia b/drivers/thermal/tegra/Kconfig index db9f4bc7f..dfcd3c3b6 100644 --- a/drivers/thermal/tegra/Kconfig.nvidia +++ b/drivers/thermal/tegra/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "NVIDIA Tegra thermal drivers" | ||
2 | |||
1 | config TEGRA_AOTAG | 3 | config TEGRA_AOTAG |
2 | bool "Tegra Always-On-Thermal-Alert-Generator" | 4 | bool "Tegra Always-On-Thermal-Alert-Generator" |
3 | help | 5 | help |
@@ -26,3 +28,5 @@ config TEGRA_DFLL_CAPS | |||
26 | help | 28 | help |
27 | This config enables a cooling device that enforces VF limits on the | 29 | This config enables a cooling device that enforces VF limits on the |
28 | cpu DFLL clock. | 30 | cpu DFLL clock. |
31 | |||
32 | endmenu | ||
diff --git a/drivers/thermal/tegra/Makefile.nvidia b/drivers/thermal/tegra/Makefile index 5338fddc9..5338fddc9 100644 --- a/drivers/thermal/tegra/Makefile.nvidia +++ b/drivers/thermal/tegra/Makefile | |||
diff --git a/drivers/tty/Makefile.nvidia b/drivers/tty/Makefile index dd3b9b662..dd3b9b662 100644 --- a/drivers/tty/Makefile.nvidia +++ b/drivers/tty/Makefile | |||
diff --git a/drivers/tty/serial/Kconfig.nvidia b/drivers/tty/serial/Kconfig index f82bf9d27..0175aac45 100644 --- a/drivers/tty/serial/Kconfig.nvidia +++ b/drivers/tty/serial/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if TTY | ||
2 | |||
1 | config TEGRA_COMBINED_UART | 3 | config TEGRA_COMBINED_UART |
2 | bool "Tegra combined UART" | 4 | bool "Tegra combined UART" |
3 | depends on ARCH_TEGRA_18x_SOC | 5 | depends on ARCH_TEGRA_18x_SOC |
@@ -22,3 +24,5 @@ config TEGRA_HV_COMM | |||
22 | 24 | ||
23 | To compile this driver as a module, choose M here: the | 25 | To compile this driver as a module, choose M here: the |
24 | module will be called tegra_hv_comm. | 26 | module will be called tegra_hv_comm. |
27 | |||
28 | endif | ||
diff --git a/drivers/tty/serial/Makefile.nvidia b/drivers/tty/serial/Makefile index b83ebcb0e..b83ebcb0e 100644 --- a/drivers/tty/serial/Makefile.nvidia +++ b/drivers/tty/serial/Makefile | |||
diff --git a/drivers/video/Makefile.nvidia b/drivers/video/Makefile index 200a62c22..200a62c22 100644 --- a/drivers/video/Makefile.nvidia +++ b/drivers/video/Makefile | |||
diff --git a/drivers/video/backlight/Kconfig.nvidia b/drivers/video/backlight/Kconfig index 41ea86b56..4e1bdee5a 100644 --- a/drivers/video/backlight/Kconfig.nvidia +++ b/drivers/video/backlight/Kconfig | |||
@@ -16,4 +16,3 @@ config BACKLIGHT_DS1050 | |||
16 | endif # BACKLIGHT_CLASS_DEVICE | 16 | endif # BACKLIGHT_CLASS_DEVICE |
17 | 17 | ||
18 | endif # BACKLIGHT_LCD_SUPPORT | 18 | endif # BACKLIGHT_LCD_SUPPORT |
19 | |||
diff --git a/drivers/video/backlight/Makefile.nvidia b/drivers/video/backlight/Makefile index 72e7f845e..72e7f845e 100644 --- a/drivers/video/backlight/Makefile.nvidia +++ b/drivers/video/backlight/Makefile | |||
diff --git a/drivers/video/tegra/Kconfig.nvidia b/drivers/video/tegra/Kconfig index 3e42f0181..5a938037d 100644 --- a/drivers/video/tegra/Kconfig.nvidia +++ b/drivers/video/tegra/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if ARCH_TEGRA | ||
2 | |||
1 | config TEGRA_GRHOST | 3 | config TEGRA_GRHOST |
2 | tristate "Tegra graphics host driver" | 4 | tristate "Tegra graphics host driver" |
3 | help | 5 | help |
@@ -337,5 +339,8 @@ config TEGRA_DC_FAKE_PANEL_SUPPORT | |||
337 | automated testing. should not be enabled | 339 | automated testing. should not be enabled |
338 | for production. | 340 | for production. |
339 | 341 | ||
340 | trysource "../nvidia/drivers/misc/tegra-cec/Kconfig.nvidia" | 342 | source "drivers/misc/tegra-cec/Kconfig" |
341 | trysource "../t19x/drivers/video/tegra/host/Kconfig.t19x" | 343 | source "drivers/video/tegra/host/Kconfig" |
344 | source "drivers/video/tegra/nvmap/Kconfig" | ||
345 | |||
346 | endif | ||
diff --git a/drivers/video/tegra/Makefile.nvidia b/drivers/video/tegra/Makefile index 999b3eabd..999b3eabd 100644 --- a/drivers/video/tegra/Makefile.nvidia +++ b/drivers/video/tegra/Makefile | |||
diff --git a/drivers/video/tegra/camera/Makefile b/drivers/video/tegra/camera/Makefile index f4b9dcd1d..2c4d58e48 100644 --- a/drivers/video/tegra/camera/Makefile +++ b/drivers/video/tegra/camera/Makefile | |||
@@ -1,8 +1,5 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | ccflags-y += -Idrivers/media/platform/tegra/vi | 2 | ccflags-y += -I$(overlay)/drivers/video/tegra/host |
3 | ccflags-y += -I../nvidia/drivers/video/tegra/host | ||
4 | ccflags-y += -Idrivers/video/tegra/host | ||
5 | ccflags-y += -Idrivers/media/platform/tegra/ | ||
6 | 3 | ||
7 | ifdef CONFIG_TEGRA_CAMERA_PLATFORM | 4 | ifdef CONFIG_TEGRA_CAMERA_PLATFORM |
8 | obj-y += tegra_camera_platform.o | 5 | obj-y += tegra_camera_platform.o |
diff --git a/drivers/video/tegra/camera/Makefile.nvidia b/drivers/video/tegra/camera/Makefile.nvidia deleted file mode 100644 index 9e5a3b4e9..000000000 --- a/drivers/video/tegra/camera/Makefile.nvidia +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | GCOV_PROFILE := y | ||
2 | ccflags-y += -I$(srctree)/../nvidia/drivers/video/tegra/host | ||
3 | ccflags-y += -I$(srctree)/drivers/video/tegra/host | ||
4 | ccflags-y += -I$(srctree)/../nvidia/drivers/media/platform/tegra | ||
5 | |||
6 | obj-y += tegra_camera_platform.o | ||
7 | obj-y += tegra_camera_dev_mfi.o | ||
diff --git a/drivers/video/tegra/dc/Makefile b/drivers/video/tegra/dc/Makefile index afe85a47f..217053ce1 100644 --- a/drivers/video/tegra/dc/Makefile +++ b/drivers/video/tegra/dc/Makefile | |||
@@ -1,9 +1,9 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | subdir-ccflags-y := -Werror | 2 | subdir-ccflags-y := -Werror |
3 | ccflags-y += -I$(srctree)/../nvidia/drivers/video/tegra/host | 3 | ccflags-y += -I$(overlay)/drivers/video/tegra/host |
4 | ifeq ($(CONFIG_TEGRA_NVDISPLAY),y) | 4 | ifneq ($(CONFIG_TEGRA_NVDISPLAY),y) |
5 | ccflags-y += -I$(srctree)/../nvidia/drivers/video/tegra/dc | 5 | ccflags-y += -I$(overlay)/drivers/video/tegra/dc |
6 | ccflags-y += -I$(srctree)/../nvidia/drivers/platform/tegra | 6 | ccflags-y += -I$(overlay)/drivers/platform/tegra |
7 | endif | 7 | endif |
8 | ccflags-y += -I$(srctree)/arch/arm/mach-tegra | 8 | ccflags-y += -I$(srctree)/arch/arm/mach-tegra |
9 | obj-y += dc_common.o dc.o mode.o clock.o window.o dc_client.o | 9 | obj-y += dc_common.o dc.o mode.o clock.o window.o dc_client.o |
@@ -24,7 +24,7 @@ obj-$(CONFIG_TEGRA_LVDS2FPDL_DS90UB947) += ds90ub947-q1.o | |||
24 | obj-$(CONFIG_TEGRA_DS90UH948Q_DESER) += ds90uh948q_deser.o | 24 | obj-$(CONFIG_TEGRA_DS90UH948Q_DESER) += ds90uh948q_deser.o |
25 | obj-$(CONFIG_TEGRA_EDP2LVDS_PS8625) += ps8625_edp2lvds.o | 25 | obj-$(CONFIG_TEGRA_EDP2LVDS_PS8625) += ps8625_edp2lvds.o |
26 | ccflags-y +=-DCOMMON_MIPICAL_SUPPORTED\ | 26 | ccflags-y +=-DCOMMON_MIPICAL_SUPPORTED\ |
27 | -I$(srctree)/../nvidia/drivers/media/platform/tegra | 27 | -I$(overlay)/drivers/media/platform/tegra |
28 | 28 | ||
29 | ifneq ($(CONFIG_TEGRA_NVDISPLAY),y) | 29 | ifneq ($(CONFIG_TEGRA_NVDISPLAY),y) |
30 | obj-$(CONFIG_TEGRA_HDMIHDCP) += hdmihdcp.o | 30 | obj-$(CONFIG_TEGRA_HDMIHDCP) += hdmihdcp.o |
@@ -69,3 +69,4 @@ obj-$(CONFIG_TEGRA_HDMIVRR) += hdmivrr.o | |||
69 | obj-y += panel/ | 69 | obj-y += panel/ |
70 | obj-$(CONFIG_TEGRA_CEC_SUPPORT) += ../../../misc/tegra-cec/ | 70 | obj-$(CONFIG_TEGRA_CEC_SUPPORT) += ../../../misc/tegra-cec/ |
71 | obj-y += crc.o | 71 | obj-y += crc.o |
72 | obj-$(CONFIG_TEGRA_NVDISPLAY) += nvdisp/ | ||
diff --git a/drivers/video/tegra/dc/Makefile.nvidia b/drivers/video/tegra/dc/Makefile.nvidia deleted file mode 100644 index 783c0cb0d..000000000 --- a/drivers/video/tegra/dc/Makefile.nvidia +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | GCOV_PROFILE := y | ||
2 | obj-$(CONFIG_TEGRA_NVDISPLAY) += nvdisp/ | ||
diff --git a/drivers/video/tegra/dc/nvdisp/Makefile.nvidia b/drivers/video/tegra/dc/nvdisp/Makefile index 741e73aff..741e73aff 100644 --- a/drivers/video/tegra/dc/nvdisp/Makefile.nvidia +++ b/drivers/video/tegra/dc/nvdisp/Makefile | |||
diff --git a/drivers/video/tegra/host/Makefile.nvidia b/drivers/video/tegra/host/Makefile index a02696d24..807d3c30c 100644 --- a/drivers/video/tegra/host/Makefile.nvidia +++ b/drivers/video/tegra/host/Makefile | |||
@@ -36,13 +36,9 @@ ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | |||
36 | obj-$(CONFIG_TEGRA_GRHOST) += iommu_context_dev.o | 36 | obj-$(CONFIG_TEGRA_GRHOST) += iommu_context_dev.o |
37 | 37 | ||
38 | obj-$(CONFIG_TEGRA_GRHOST) += t186/ | 38 | obj-$(CONFIG_TEGRA_GRHOST) += t186/ |
39 | obj-$(CONFIG_TEGRA_GRHOST_NVCSI) += nvcsi/ | ||
40 | endif | ||
41 | |||
42 | ifeq ($(CONFIG_TEGRA_T19X_GRHOST),y) | ||
43 | obj-$(CONFIG_TEGRA_GRHOST) += $(call tegra-path,t19x/,drivers/video/tegra/host/) | ||
44 | endif | 39 | endif |
45 | 40 | ||
41 | obj-$(CONFIG_TEGRA_GRHOST_NVCSI) += nvcsi/ | ||
46 | obj-$(CONFIG_TEGRA_GRHOST_SYNC) += nvhost_sync.o | 42 | obj-$(CONFIG_TEGRA_GRHOST_SYNC) += nvhost_sync.o |
47 | obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += vi/ | 43 | obj-$(CONFIG_ARCH_TEGRA_18x_SOC) += vi/ |
48 | obj-$(CONFIG_TEGRA_GRHOST_VHOST) += vhost/ | 44 | obj-$(CONFIG_TEGRA_GRHOST_VHOST) += vhost/ |
diff --git a/drivers/video/tegra/host/flcn/Makefile.nvidia b/drivers/video/tegra/host/flcn/Makefile index 7f88f693c..7f88f693c 100644 --- a/drivers/video/tegra/host/flcn/Makefile.nvidia +++ b/drivers/video/tegra/host/flcn/Makefile | |||
diff --git a/drivers/video/tegra/host/host1x/Makefile.nvidia b/drivers/video/tegra/host/host1x/Makefile index fad713355..fad713355 100644 --- a/drivers/video/tegra/host/host1x/Makefile.nvidia +++ b/drivers/video/tegra/host/host1x/Makefile | |||
diff --git a/drivers/video/tegra/host/isp/Makefile.nvidia b/drivers/video/tegra/host/isp/Makefile index 5936983bf..5936983bf 100644 --- a/drivers/video/tegra/host/isp/Makefile.nvidia +++ b/drivers/video/tegra/host/isp/Makefile | |||
diff --git a/drivers/video/tegra/host/nvcsi/Makefile.nvidia b/drivers/video/tegra/host/nvcsi/Makefile index b8d2b1a6e..b8d2b1a6e 100644 --- a/drivers/video/tegra/host/nvcsi/Makefile.nvidia +++ b/drivers/video/tegra/host/nvcsi/Makefile | |||
diff --git a/drivers/video/tegra/host/nvdec/Makefile.nvidia b/drivers/video/tegra/host/nvdec/Makefile index 8536b0486..8536b0486 100644 --- a/drivers/video/tegra/host/nvdec/Makefile.nvidia +++ b/drivers/video/tegra/host/nvdec/Makefile | |||
diff --git a/drivers/video/tegra/host/t124/Makefile.nvidia b/drivers/video/tegra/host/t124/Makefile index 196033dfe..196033dfe 100644 --- a/drivers/video/tegra/host/t124/Makefile.nvidia +++ b/drivers/video/tegra/host/t124/Makefile | |||
diff --git a/drivers/video/tegra/host/t186/Makefile.nvidia b/drivers/video/tegra/host/t186/Makefile index c6dcdb995..c6dcdb995 100644 --- a/drivers/video/tegra/host/t186/Makefile.nvidia +++ b/drivers/video/tegra/host/t186/Makefile | |||
diff --git a/drivers/video/tegra/host/t210/Makefile.nvidia b/drivers/video/tegra/host/t210/Makefile index cbf9b6afd..cbf9b6afd 100644 --- a/drivers/video/tegra/host/t210/Makefile.nvidia +++ b/drivers/video/tegra/host/t210/Makefile | |||
diff --git a/drivers/video/tegra/host/tsec/Makefile.nvidia b/drivers/video/tegra/host/tsec/Makefile index b9412a05b..b9412a05b 100644 --- a/drivers/video/tegra/host/tsec/Makefile.nvidia +++ b/drivers/video/tegra/host/tsec/Makefile | |||
diff --git a/drivers/video/tegra/host/vhost/Makefile.nvidia b/drivers/video/tegra/host/vhost/Makefile index fc0079ad9..fc0079ad9 100644 --- a/drivers/video/tegra/host/vhost/Makefile.nvidia +++ b/drivers/video/tegra/host/vhost/Makefile | |||
diff --git a/drivers/video/tegra/host/vi/Makefile.nvidia b/drivers/video/tegra/host/vi/Makefile index d07f74cbe..d07f74cbe 100644 --- a/drivers/video/tegra/host/vi/Makefile.nvidia +++ b/drivers/video/tegra/host/vi/Makefile | |||
diff --git a/drivers/video/tegra/nvmap/Kconfig.nvidia b/drivers/video/tegra/nvmap/Kconfig index 753139e9e..753139e9e 100644 --- a/drivers/video/tegra/nvmap/Kconfig.nvidia +++ b/drivers/video/tegra/nvmap/Kconfig | |||
diff --git a/drivers/video/tegra/nvmap/Makefile.nvidia b/drivers/video/tegra/nvmap/Makefile index 1f2f78f8a..d68b9bd5a 100644 --- a/drivers/video/tegra/nvmap/Makefile.nvidia +++ b/drivers/video/tegra/nvmap/Makefile | |||
@@ -27,9 +27,3 @@ obj-$(CONFIG_NVMAP_PAGE_POOLS) += nvmap_pp.o | |||
27 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 27 | ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
28 | obj-y += nvmap_cache_nvmap_t18x.o | 28 | obj-y += nvmap_cache_nvmap_t18x.o |
29 | endif | 29 | endif |
30 | |||
31 | ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) | ||
32 | ifneq ($(wildcard $(srctree)/../t19x/drivers/video/tegra/nvmap/Makefile),) | ||
33 | obj-y += $(call tegra-path,t19x/,drivers/video/tegra/nvmap/) | ||
34 | endif | ||
35 | endif | ||
diff --git a/drivers/watchdog/Kconfig.nvidia b/drivers/watchdog/Kconfig index 7647e324a..031707dbd 100644 --- a/drivers/watchdog/Kconfig.nvidia +++ b/drivers/watchdog/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if WATCHDOG | ||
2 | |||
1 | config TEGRA18X_WATCHDOG | 3 | config TEGRA18X_WATCHDOG |
2 | tristate "Tegra T18x watchdog" | 4 | tristate "Tegra T18x watchdog" |
3 | depends on ARCH_TEGRA_18x_SOC | 5 | depends on ARCH_TEGRA_18x_SOC |
@@ -18,3 +20,4 @@ config TEGRA_HV_WATCHDOG | |||
18 | To compile this driver as a module, choose M here: the | 20 | To compile this driver as a module, choose M here: the |
19 | module will be called tegra_hv_wdt. | 21 | module will be called tegra_hv_wdt. |
20 | 22 | ||
23 | endif | ||
diff --git a/drivers/watchdog/Makefile.nvidia b/drivers/watchdog/Makefile index 16abc7edb..16abc7edb 100644 --- a/drivers/watchdog/Makefile.nvidia +++ b/drivers/watchdog/Makefile | |||
diff --git a/sound/pci/Kconfig.nvidia b/sound/pci/Kconfig.nvidia deleted file mode 100644 index 8360f7de1..000000000 --- a/sound/pci/Kconfig.nvidia +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | trysource "../nvidia/sound/pci/hda/Kconfig.nvidia" | ||
diff --git a/sound/pci/Makefile.nvidia b/sound/pci/Makefile index 531dfd86e..531dfd86e 100644 --- a/sound/pci/Makefile.nvidia +++ b/sound/pci/Makefile | |||
diff --git a/sound/pci/hda/Kconfig.nvidia b/sound/pci/hda/Kconfig index f6f30e7db..76a302d41 100644 --- a/sound/pci/hda/Kconfig.nvidia +++ b/sound/pci/hda/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | append_menu "HD-Audio" | ||
2 | |||
1 | config SND_HDA_TEGRA | 3 | config SND_HDA_TEGRA |
2 | tristate "NVIDIA Tegra HD Audio" | 4 | tristate "NVIDIA Tegra HD Audio" |
3 | depends on ARCH_TEGRA || ARCH_TEGRA_18x_SOC | 5 | depends on ARCH_TEGRA || ARCH_TEGRA_18x_SOC |
@@ -13,3 +15,4 @@ config SND_HDA_TEGRA | |||
13 | To compile this driver as a module, choose M here: the module | 15 | To compile this driver as a module, choose M here: the module |
14 | will be called snd-hda-tegra. | 16 | will be called snd-hda-tegra. |
15 | 17 | ||
18 | endmenu | ||
diff --git a/sound/pci/hda/Makefile.nvidia b/sound/pci/hda/Makefile index e21ce3fac..e21ce3fac 100644 --- a/sound/pci/hda/Makefile.nvidia +++ b/sound/pci/hda/Makefile | |||
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig new file mode 100644 index 000000000..bc5f8efc5 --- /dev/null +++ b/sound/soc/Kconfig | |||
@@ -0,0 +1,6 @@ | |||
1 | if SND_SOC | ||
2 | |||
3 | source "sound/soc/tegra-alt/Kconfig" | ||
4 | source "sound/soc/tegra-virt-alt/Kconfig" | ||
5 | |||
6 | endif | ||
diff --git a/sound/soc/Kconfig.nvidia b/sound/soc/Kconfig.nvidia deleted file mode 100644 index 58e46d04b..000000000 --- a/sound/soc/Kconfig.nvidia +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | trysource "../nvidia/sound/soc/tegra-alt/Kconfig.nvidia" | ||
2 | trysource "../nvidia/sound/soc/tegra-virt-alt/Kconfig.nvidia" | ||
diff --git a/sound/soc/Makefile.nvidia b/sound/soc/Makefile index 3170b8e84..3170b8e84 100644 --- a/sound/soc/Makefile.nvidia +++ b/sound/soc/Makefile | |||
diff --git a/sound/soc/tegra-alt/Kconfig.nvidia b/sound/soc/tegra-alt/Kconfig index 6000cd38c..92ce7ae14 100644 --- a/sound/soc/tegra-alt/Kconfig.nvidia +++ b/sound/soc/tegra-alt/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if SND_SOC | ||
2 | |||
1 | config SND_SOC_TEGRA_ALT_186 | 3 | config SND_SOC_TEGRA_ALT_186 |
2 | def_bool y | 4 | def_bool y |
3 | depends on SND_SOC_TEGRA_ALT | 5 | depends on SND_SOC_TEGRA_ALT |
@@ -302,3 +304,5 @@ config SND_SOC_TEGRA_T210REF_P2382_ALT | |||
302 | select SND_SOC_TEGRA_ASOC_MACHINE_ALT | 304 | select SND_SOC_TEGRA_ASOC_MACHINE_ALT |
303 | help | 305 | help |
304 | Say Y or M here | 306 | Say Y or M here |
307 | |||
308 | endif | ||
diff --git a/sound/soc/tegra-alt/Makefile.nvidia b/sound/soc/tegra-alt/Makefile index 3594cef93..3594cef93 100644 --- a/sound/soc/tegra-alt/Makefile.nvidia +++ b/sound/soc/tegra-alt/Makefile | |||
diff --git a/sound/soc/tegra-virt-alt/Kconfig.nvidia b/sound/soc/tegra-virt-alt/Kconfig index 6a9a348a6..70314480f 100644 --- a/sound/soc/tegra-virt-alt/Kconfig.nvidia +++ b/sound/soc/tegra-virt-alt/Kconfig | |||
@@ -1,3 +1,5 @@ | |||
1 | if SND_SOC | ||
2 | |||
1 | config SND_SOC_TEGRA_VIRT_IVC_COMM_DEFS | 3 | config SND_SOC_TEGRA_VIRT_IVC_COMM_DEFS |
2 | tristate "IVC client for Tegra virt audio" | 4 | tristate "IVC client for Tegra virt audio" |
3 | depends on TEGRA_HV_MANAGER | 5 | depends on TEGRA_HV_MANAGER |
@@ -25,3 +27,5 @@ config SND_SOC_TEGRA_VIRT_T210REF_PCM | |||
25 | The pcm driver exposes a number of playback and capture pcm interfaces. It uses | 27 | The pcm driver exposes a number of playback and capture pcm interfaces. It uses |
26 | the native pcm driver for dma interface and ivc communication module for ivc. | 28 | the native pcm driver for dma interface and ivc communication module for ivc. |
27 | The number of interfaces exposed is configurable via device tree. | 29 | The number of interfaces exposed is configurable via device tree. |
30 | |||
31 | endif | ||
diff --git a/sound/soc/tegra-virt-alt/Makefile.nvidia b/sound/soc/tegra-virt-alt/Makefile index 8379a5b28..8484e331a 100644 --- a/sound/soc/tegra-virt-alt/Makefile.nvidia +++ b/sound/soc/tegra-virt-alt/Makefile | |||
@@ -1,10 +1,10 @@ | |||
1 | GCOV_PROFILE := y | 1 | GCOV_PROFILE := y |
2 | 2 | ||
3 | subdir-ccflags-y := -Werror | 3 | subdir-ccflags-y := -Werror |
4 | ccflags-y += -I$(src)/../tegra-alt | 4 | ccflags-y += -I$(overlay)/$(src)/../tegra-alt |
5 | ccflags-y += -I$(src)/../tegra-alt/include/ | 5 | ccflags-y += -I$(overlay)/$(src)/../tegra-alt/include/ |
6 | ccflags-y += -I$(src)/../tegra-alt/machine_drivers/ | 6 | ccflags-y += -I$(overlay)/$(src)/../tegra-alt/machine_drivers/ |
7 | ccflags-y += -I$(src)/../codecs | 7 | ccflags-y += -I$(overlay)/$(src)/../codecs |
8 | 8 | ||
9 | # Tegra platform Support | 9 | # Tegra platform Support |
10 | snd-soc-tegra-virt-alt-ivc-objs := tegra_virt_alt_ivc.o | 10 | snd-soc-tegra-virt-alt-ivc-objs := tegra_virt_alt_ivc.o |