xref: /linux/drivers/soc/tegra/Kconfig (revision 07f0148aafe8c95a3a76cd59e9e75b4d78d1d31d)
1# SPDX-License-Identifier: GPL-2.0-only
2if ARCH_TEGRA
3
4# 32-bit ARM SoCs
5if ARM
6
7config 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
24config 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
38config 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
50config 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
61endif
62
63# 64-bit ARM SoCs
64if ARM64
65
66config 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
77config 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
96config ARCH_TEGRA_186_SOC
97	bool "NVIDIA Tegra186 SoC"
98	depends on !CPU_BIG_ENDIAN
99	select MAILBOX
100	select TEGRA_BPMP
101	select TEGRA_HSP_MBOX
102	select TEGRA_IVC
103	select SOC_TEGRA_PMC
104	help
105	  Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a
106	  combination of Denver and Cortex-A57 CPU cores and a GPU based on
107	  the Pascal architecture. It contains an ADSP with a Cortex-A9 CPU
108	  used for audio processing, hardware video encoders/decoders with
109	  multi-format support, ISP for image capture processing and BPMP for
110	  power management.
111
112config ARCH_TEGRA_194_SOC
113	bool "NVIDIA Tegra194 SoC"
114	depends on !CPU_BIG_ENDIAN
115	select MAILBOX
116	select PINCTRL_TEGRA194
117	select TEGRA_BPMP
118	select TEGRA_HSP_MBOX
119	select TEGRA_IVC
120	select SOC_TEGRA_PMC
121	help
122	  Enable support for the NVIDIA Tegra194 SoC.
123
124config ARCH_TEGRA_234_SOC
125	bool "NVIDIA Tegra234 SoC"
126	depends on !CPU_BIG_ENDIAN
127	select MAILBOX
128	select TEGRA_BPMP
129	select TEGRA_HSP_MBOX
130	select TEGRA_IVC
131	select SOC_TEGRA_PMC
132	help
133	  Enable support for the NVIDIA Tegra234 SoC.
134
135endif
136endif
137
138config SOC_TEGRA_FUSE
139	def_bool y
140	depends on ARCH_TEGRA
141	select SOC_BUS
142
143config SOC_TEGRA_FLOWCTRL
144	bool
145
146config SOC_TEGRA_PMC
147	bool
148	select GENERIC_PINCONF
149	select IRQ_DOMAIN_HIERARCHY
150	select PM_OPP
151	select PM_GENERIC_DOMAINS
152	select REGMAP
153
154config SOC_TEGRA_POWERGATE_BPMP
155	def_bool y
156	depends on PM_GENERIC_DOMAINS
157	depends on TEGRA_BPMP
158
159config SOC_TEGRA20_VOLTAGE_COUPLER
160	bool "Voltage scaling support for Tegra20 SoCs"
161	depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
162	depends on REGULATOR
163
164config SOC_TEGRA30_VOLTAGE_COUPLER
165	bool "Voltage scaling support for Tegra30 SoCs"
166	depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST
167	depends on REGULATOR
168
169config SOC_TEGRA_CBB
170	tristate "Tegra driver to handle error from CBB"
171	depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
172	default y
173	help
174	  Support for handling error from Tegra Control Backbone(CBB).
175	  This driver handles the errors from CBB and prints debug
176	  information about the failed transactions.
177