Skip to contentSkip to conversation

soc/tegra: Enable Tegra186 timer support

PATCH In review Jon Hunter 2 participants 2 messages Oct 25, 2022 – Oct 28, 2022 Tegra architecture support

lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 soc/tegra: Enable Tegra186 timer support

Enable Tegra186 timer support for Tegra186, Tegra194 and Tegra234 devices.

---
 drivers/soc/tegra/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
drivers/soc/tegra/Kconfig +3 -0
index 5f5324294636..e49409b85a39 100644
@@ -99,6 +99,7 @@ config ARCH_TEGRA_186_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a
@@ -115,6 +116,7 @@ config ARCH_TEGRA_194_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegra194 SoC.
@@ -125,6 +127,7 @@ config ARCH_TEGRA_234_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegra234 SoC.
Signature · 1 line
2.25.1
#1 lore raw
Quoted 7 lines · Jon Hunter

Enable Tegra186 timer support for Tegra186, Tegra194 and Tegra234 devices.

---
 drivers/soc/tegra/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

I realize that we have the same construct on older SoC generations, but we really shouldn't be selecting user-visible symbols because that can lead to conflicting configurations. The correct way to do this is to enable via defconfig, even if that strictly allows people to disable this driver again.

Thierry

Quoted 32 lines
drivers/soc/tegra/Kconfig +3 -0
index 5f5324294636..e49409b85a39 100644
@@ -99,6 +99,7 @@ config ARCH_TEGRA_186_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegar186 SoC. The Tegra186 features a
@@ -115,6 +116,7 @@ config ARCH_TEGRA_194_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegra194 SoC.
@@ -125,6 +127,7 @@ config ARCH_TEGRA_234_SOC
 	select TEGRA_BPMP
 	select TEGRA_HSP_MBOX
 	select TEGRA_IVC
+	select TEGRA186_TIMER
 	select SOC_TEGRA_PMC
 	help
 	  Enable support for the NVIDIA Tegra234 SoC.
Signature · 1 line
2.25.1