hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/soc/tegra/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 if ARCH_TEGRA
23
34 # 32-bit ARM SoCs
....@@ -14,6 +15,7 @@
1415 select PL310_ERRATA_769419 if CACHE_L2X0
1516 select SOC_TEGRA_FLOWCTRL
1617 select SOC_TEGRA_PMC
18
+ select SOC_TEGRA20_VOLTAGE_COUPLER
1719 select TEGRA_TIMER
1820 help
1921 Support for NVIDIA Tegra AP20 and T20 processors, based on the
....@@ -27,6 +29,7 @@
2729 select PL310_ERRATA_769419 if CACHE_L2X0
2830 select SOC_TEGRA_FLOWCTRL
2931 select SOC_TEGRA_PMC
32
+ select SOC_TEGRA30_VOLTAGE_COUPLER
3033 select TEGRA_TIMER
3134 help
3235 Support for NVIDIA Tegra T30 processor family, based on the
....@@ -76,7 +79,7 @@
7679 select PINCTRL_TEGRA210
7780 select SOC_TEGRA_FLOWCTRL
7881 select SOC_TEGRA_PMC
79
- depends on !LTO_CLANG
82
+ select TEGRA_TIMER
8083 help
8184 Enable support for the NVIDIA Tegra210 SoC. Also known as Tegra X1,
8285 the Tegra210 has four Cortex-A57 cores paired with four Cortex-A53
....@@ -108,12 +111,23 @@
108111 config ARCH_TEGRA_194_SOC
109112 bool "NVIDIA Tegra194 SoC"
110113 select MAILBOX
114
+ select PINCTRL_TEGRA194
111115 select TEGRA_BPMP
112116 select TEGRA_HSP_MBOX
113117 select TEGRA_IVC
114118 select SOC_TEGRA_PMC
115119 help
116120 Enable support for the NVIDIA Tegra194 SoC.
121
+
122
+config ARCH_TEGRA_234_SOC
123
+ bool "NVIDIA Tegra234 SoC"
124
+ select MAILBOX
125
+ select TEGRA_BPMP
126
+ select TEGRA_HSP_MBOX
127
+ select TEGRA_IVC
128
+ select SOC_TEGRA_PMC
129
+ help
130
+ Enable support for the NVIDIA Tegra234 SoC.
117131
118132 endif
119133 endif
....@@ -128,8 +142,17 @@
128142
129143 config SOC_TEGRA_PMC
130144 bool
145
+ select GENERIC_PINCONF
131146
132147 config SOC_TEGRA_POWERGATE_BPMP
133148 def_bool y
134149 depends on PM_GENERIC_DOMAINS
135150 depends on TEGRA_BPMP
151
+
152
+config SOC_TEGRA20_VOLTAGE_COUPLER
153
+ bool "Voltage scaling support for Tegra20 SoCs"
154
+ depends on ARCH_TEGRA_2x_SOC || COMPILE_TEST
155
+
156
+config SOC_TEGRA30_VOLTAGE_COUPLER
157
+ bool "Voltage scaling support for Tegra30 SoCs"
158
+ depends on ARCH_TEGRA_3x_SOC || COMPILE_TEST