Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
if CONFIG_ARCH_TEGRA

# 32-bit CONFIG_ARM SoCs
if CONFIG_ARM

config CONFIG_ARCH_TEGRA_2x_SOC
	bool "Enable support for Tegra20 family"
	select CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED if CONFIG_SMP
	select CONFIG_ARM_ERRATA_720789
	select CONFIG_ARM_ERRATA_754327 if CONFIG_SMP
	select CONFIG_ARM_ERRATA_764369 if CONFIG_SMP
	select CONFIG_PINCTRL_TEGRA20
	select CONFIG_PL310_ERRATA_727915 if CONFIG_CACHE_L2X0
	select CONFIG_PL310_ERRATA_769419 if CONFIG_CACHE_L2X0
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	select CONFIG_TEGRA_TIMER
	help
	  Support for NVIDIA Tegra AP20 and T20 processors, based on the
	  CONFIG_ARM CortexA9MP CPU and the CONFIG_ARM PL310 L2 cache controller

config CONFIG_ARCH_TEGRA_3x_SOC
	bool "Enable support for Tegra30 family"
	select CONFIG_ARM_ERRATA_754322
	select CONFIG_ARM_ERRATA_764369 if CONFIG_SMP
	select CONFIG_PINCTRL_TEGRA30
	select CONFIG_PL310_ERRATA_769419 if CONFIG_CACHE_L2X0
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	select CONFIG_TEGRA_TIMER
	help
	  Support for NVIDIA Tegra T30 processor family, based on the
	  CONFIG_ARM CortexA9MP CPU and the CONFIG_ARM PL310 L2 cache controller

config CONFIG_ARCH_TEGRA_114_SOC
	bool "Enable support for Tegra114 family"
	select CONFIG_ARM_ERRATA_798181 if CONFIG_SMP
	select CONFIG_HAVE_ARM_ARCH_TIMER
	select CONFIG_PINCTRL_TEGRA114
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	select CONFIG_TEGRA_TIMER
	help
	  Support for NVIDIA Tegra T114 processor family, based on the
	  CONFIG_ARM CortexA15MP CPU

config CONFIG_ARCH_TEGRA_124_SOC
	bool "Enable support for Tegra124 family"
	select CONFIG_HAVE_ARM_ARCH_TIMER
	select CONFIG_PINCTRL_TEGRA124
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	select CONFIG_TEGRA_TIMER
	help
	  Support for NVIDIA Tegra T124 processor family, based on the
	  CONFIG_ARM CortexA15MP CPU

endif

# 64-bit CONFIG_ARM SoCs
if CONFIG_ARM64

config CONFIG_ARCH_TEGRA_132_SOC
	bool "NVIDIA Tegra132 SoC"
	select CONFIG_PINCTRL_TEGRA124
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	help
	  Enable support for NVIDIA Tegra132 SoC, based on the Denver
	  ARMv8 CPU.  The Tegra132 SoC is similar to the Tegra124 SoC,
	  but contains an NVIDIA Denver CPU complex in place of
	  Tegra124's "4+1" Cortex-A15 CPU complex.

config CONFIG_ARCH_TEGRA_210_SOC
	bool "NVIDIA Tegra210 SoC"
	select CONFIG_PINCTRL_TEGRA210
	select CONFIG_SOC_TEGRA_FLOWCTRL
	select CONFIG_SOC_TEGRA_PMC
	select CONFIG_TEGRA_TIMER
	help
	  Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1,
	  the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53
	  cores in a switched configuration. It features a GPU of the Maxwell
	  architecture with support for DX11, SM4, OpenGL 4.5, OpenGL ES 3.1
	  and providing 256 CUDA cores. It supports hardware-accelerated en-
	  and decoding of various video standards including H.265, H.264 and
	  VP8 at 4K resolution and up to 60 fps.

	  Besides the multimedia features it also comes with a variety of I/O
	  controllers, such as GPIO, CONFIG_I2C, CONFIG_SPI, SDHCI, PCIe, SATA and XHCI, to
	  name only a few.

config CONFIG_ARCH_TEGRA_186_SOC
	bool "NVIDIA Tegra186 SoC"
	select CONFIG_MAILBOX
	select CONFIG_TEGRA_BPMP
	select CONFIG_TEGRA_HSP_MBOX
	select CONFIG_TEGRA_IVC
	select CONFIG_SOC_TEGRA_PMC
	help
	  Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a
	  combination of Denver and Cortex-A57 CPU cores and a GPU based on
	  the Pascal architecture. It contains an ADSP with a Cortex-A9 CPU
	  used for audio processing, hardware video encoders/decoders with
	  multi-format support, ISP for image capture processing and BPMP for
	  power management.

config CONFIG_ARCH_TEGRA_194_SOC
	bool "NVIDIA Tegra194 SoC"
	select CONFIG_MAILBOX
	select CONFIG_PINCTRL_TEGRA194
	select CONFIG_TEGRA_BPMP
	select CONFIG_TEGRA_HSP_MBOX
	select CONFIG_TEGRA_IVC
	select CONFIG_SOC_TEGRA_PMC
	help
	  Enable support for the NVIDIA Tegra194 SoC.

endif
endif

config CONFIG_SOC_TEGRA_FUSE
	def_bool y
	depends on CONFIG_ARCH_TEGRA
	select CONFIG_SOC_BUS

config CONFIG_SOC_TEGRA_FLOWCTRL
	bool

config CONFIG_SOC_TEGRA_PMC
	bool

config CONFIG_SOC_TEGRA_POWERGATE_BPMP
	def_bool y
	depends on CONFIG_PM_GENERIC_DOMAINS
	depends on CONFIG_TEGRA_BPMP