| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
if ARCH_TEGRA |
| 3 |
|
| 4 |
# 32-bit ARM SoCs |
| 5 |
if ARM |
| 6 |
|
| 7 |
config ARCH_TEGRA_2x_SOC |
| 8 |
bool "Enable support for Tegra20 family" |
| 9 |
select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP |
| 10 |
select ARM_ERRATA_720789 |
| 11 |
select ARM_ERRATA_754327 if SMP |
| 12 |
select ARM_ERRATA_764369 if SMP |
| 13 |
select PINCTRL_TEGRA20 |
| 14 |
select PL310_ERRATA_727915 if CACHE_L2X0 |
| 15 |
select PL310_ERRATA_769419 if CACHE_L2X0 |
| 16 |
select SOC_TEGRA_FLOWCTRL |
| 17 |
select SOC_TEGRA_PMC |
| 18 |
select SOC_TEGRA20_VOLTAGE_COUPLER if REGULATOR |
| 19 |
select TEGRA_TIMER |
| 20 |
help |
| 21 |
Support for NVIDIA Tegra AP20 and T20 processors, based on the |
| 22 |
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller |
| 23 |
|
| 24 |
config ARCH_TEGRA_3x_SOC |
| 25 |
bool "Enable support for Tegra30 family" |
| 26 |
select ARM_ERRATA_754322 |
| 27 |
select ARM_ERRATA_764369 if SMP |
| 28 |
select PINCTRL_TEGRA30 |
| 29 |
select PL310_ERRATA_769419 if CACHE_L2X0 |
| 30 |
select SOC_TEGRA_FLOWCTRL |
| 31 |
select SOC_TEGRA_PMC |
| 32 |
select SOC_TEGRA30_VOLTAGE_COUPLER if REGULATOR |
| 33 |
select TEGRA_TIMER |
| 34 |
help |
| 35 |
Support for NVIDIA Tegra T30 processor family, based on the |
| 36 |
ARM CortexA9MP CPU and the ARM PL310 L2 cache controller |
| 37 |
|
| 38 |
config ARCH_TEGRA_114_SOC |
| 39 |
bool "Enable support for Tegra114 family" |
| 40 |
select ARM_ERRATA_798181 if SMP |
| 41 |
select HAVE_ARM_ARCH_TIMER |
| 42 |
select PINCTRL_TEGRA114 |
| 43 |
select SOC_TEGRA_FLOWCTRL |
| 44 |
select SOC_TEGRA_PMC |
| 45 |
select TEGRA_TIMER |
| 46 |
help |
| 47 |
Support for NVIDIA Tegra T114 processor family, based on the |
| 48 |
ARM CortexA15MP CPU |
| 49 |
|
| 50 |
config ARCH_TEGRA_124_SOC |
| 51 |
bool "Enable support for Tegra124 family" |
| 52 |
select HAVE_ARM_ARCH_TIMER |
| 53 |
select PINCTRL_TEGRA124 |
| 54 |
select SOC_TEGRA_FLOWCTRL |
| 55 |
select SOC_TEGRA_PMC |
| 56 |
select TEGRA_TIMER |
| 57 |
help |
| 58 |
Support for NVIDIA Tegra T124 processor family, based on the |
| 59 |
ARM CortexA15MP CPU |
| 60 |
|
| 61 |
endif |
| 62 |
|
| 63 |
# 64-bit ARM SoCs |
| 64 |
if ARM64 |
| 65 |
|
| 66 |
config ARCH_TEGRA_132_SOC |
| 67 |
bool "NVIDIA Tegra132 SoC" |
| 68 |
select PINCTRL_TEGRA124 |
| 69 |
select SOC_TEGRA_FLOWCTRL |
| 70 |
select SOC_TEGRA_PMC |
| 71 |
help |
| 72 |
Enable support for NVIDIA Tegra132 SoC, based on the Denver |
| 73 |
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC, |
| 74 |
but contains an NVIDIA Denver CPU complex in place of |
| 75 |
Tegra124's "4+1" Cortex-A15 CPU complex. |
| 76 |
|
| 77 |
config ARCH_TEGRA_210_SOC |
| 78 |
bool "NVIDIA Tegra210 SoC" |
| 79 |
select PINCTRL_TEGRA210 |
| 80 |
select SOC_TEGRA_FLOWCTRL |
| 81 |
select SOC_TEGRA_PMC |
| 82 |
select TEGRA_TIMER |
| 83 |
help |
| 84 |
Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1, |
| 85 |
the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53 |
| 86 |
cores in a switched configuration. It features a GPU of the Maxwell |
| 87 |
architecture with support for DX11, SM4, OpenGL 4.5, OpenGL ES 3.1 |
| 88 |
and providing 256 CUDA cores. It supports hardware-accelerated en- |
| 89 |
and decoding of various video standards including H.265, H.264 and |
| 90 |
VP8 at 4K resolution and up to 60 fps. |
| 91 |
|
| 92 |
Besides the multimedia features it also comes with a variety of I/O |
| 93 |
controllers, such as GPIO, I2C, SPI, SDHCI, PCIe, SATA and XHCI, to |
| 94 |
name only a few. |
| 95 |
|
| 96 |
config ARCH_TEGRA_186_SOC |
| 97 |
bool "NVIDIA Tegra186 SoC" |
| 98 |
depends on !CPU_BIG_ENDIAN |
| 99 |
select PINCTRL_TEGRA186 |
| 100 |
select MAILBOX |
| 101 |
select SOC_TEGRA_PMC |
| 102 |
help |
| 103 |
Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a |
| 104 |
combination of Denver and Cortex-A57 CPU cores and a GPU based on |
| 105 |
the Pascal architecture. It contains an ADSP with a Cortex-A9 CPU |
| 106 |
used for audio processing, hardware video encoders/decoders with |
| 107 |
multi-format support, ISP for image capture processing and BPMP for |
| 108 |
power management. |
| 109 |
|
| 110 |
config ARCH_TEGRA_194_SOC |
| 111 |
bool "NVIDIA Tegra194 SoC" |
| 112 |
depends on !CPU_BIG_ENDIAN |
| 113 |
select MAILBOX |
| 114 |
select PINCTRL_TEGRA194 |
| 115 |
select SOC_TEGRA_PMC |
| 116 |
help |
| 117 |
Enable support for the NVIDIA Tegra194 SoC. |
| 118 |
|
| 119 |
config ARCH_TEGRA_234_SOC |
| 120 |
bool "NVIDIA Tegra234 SoC" |
| 121 |
depends on !CPU_BIG_ENDIAN |
| 122 |
select MAILBOX |
| 123 |
select PINCTRL_TEGRA234 |
| 124 |
select SOC_TEGRA_PMC |
| 125 |
help |
| 126 |
Enable support for the NVIDIA Tegra234 SoC. |
| 127 |
|
| 128 |
config ARCH_TEGRA_241_SOC |
| 129 |
bool "NVIDIA Tegra241 SoC" |
| 130 |
help |
| 131 |
Enable support for the NVIDIA Tegra241 SoC. |
| 132 |
|
| 133 |
config ARCH_TEGRA_264_SOC |
| 134 |
bool "NVIDIA Tegra264 SoC" |
| 135 |
depends on !CPU_BIG_ENDIAN |
| 136 |
select MAILBOX |
| 137 |
select SOC_TEGRA_PMC |
| 138 |
help |
| 139 |
Enable support for the NVIDIA Tegra264 SoC. |
| 140 |
|
| 141 |
endif |
| 142 |
endif |
| 143 |
|
| 144 |
config SOC_TEGRA_FUSE |
| 145 |
def_bool y |
| 146 |
depends on ARCH_TEGRA |
| 147 |
select SOC_BUS |
| 148 |
|
| 149 |
config SOC_TEGRA_FLOWCTRL |
| 150 |
bool |
| 151 |
|
| 152 |
config SOC_TEGRA_PMC |
| 153 |
bool |
| 154 |
select GENERIC_PINCONF |
| 155 |
select IRQ_DOMAIN_HIERARCHY |
| 156 |
select PM_OPP |
| 157 |
select PM_GENERIC_DOMAINS |
| 158 |
select REGMAP |
| 159 |
|
| 160 |
config SOC_TEGRA20_VOLTAGE_COUPLER |
| 161 |
bool "Voltage scaling support for Tegra20 SoCs" |
| 162 |
depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST |
| 163 |
depends on REGULATOR |
| 164 |
|
| 165 |
config SOC_TEGRA30_VOLTAGE_COUPLER |
| 166 |
bool "Voltage scaling support for Tegra30 SoCs" |
| 167 |
depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST |
| 168 |
depends on REGULATOR |
| 169 |
|
| 170 |
config SOC_TEGRA_CBB |
| 171 |
tristate "Tegra driver to handle error from CBB" |
| 172 |
depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC |
| 173 |
default y |
| 174 |
help |
| 175 |
Support for handling error from Tegra Control Backbone(CBB). |
| 176 |
This driver handles the errors from CBB and prints debug |
| 177 |
information about the failed transactions. |