Skip to contentSkip to conversation

rtc: nvvrs: Add ARCH_TEGRA to the NV VRS RTC driver

PATCH Applied Peter Robinson 3 participants 3 messages Dec 22, 2025 – Jan 19

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: nvvrs: Add ARCH_TEGRA to the NV VRS RTC driver

The NV VRS RTC driver currently is only supported on the Tegra platform so add a dep for ARCH_TEGRA and compile test so it doesn't show up universally across all arches/platforms.

Fixes 9d6d6b06933c8 ("rtc: nvvrs: add NVIDIA VRS RTC device driver")
Cc Shubhi Garg <[email protected]>
Cc Jon Hunter <[email protected]>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/rtc/Kconfig +1 -0
index 50dc779f7f983..50ba48609d74e 100644
@@ -418,6 +418,7 @@ config RTC_DRV_SPACEMIT_P1
 
 config RTC_DRV_NVIDIA_VRS10
 	tristate "NVIDIA VRS10 RTC device"
+	depends on ARCH_TEGRA || COMPILE_TEST
 	help
 	  If you say yes here you will get support for the battery backed RTC device
 	  of NVIDIA VRS (Voltage Regulator Specification). The RTC is connected via
Signature · 1 line
2.52.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 17 lines · Peter Robinson

The NV VRS RTC driver currently is only supported on the Tegra platform so add a dep for ARCH_TEGRA and compile test so it doesn't show up universally across all arches/platforms.

Fixes 9d6d6b06933c8 ("rtc: nvvrs: add NVIDIA VRS RTC device driver")
Cc Shubhi Garg <[email protected]>
Cc Jon Hunter <[email protected]>
---
  drivers/rtc/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/rtc/Kconfig +0 -0
index 50dc779f7f983..50ba48609d74e 100644

drivers/rtc/Kconfig config RTC_DRV_SPACEMIT_P1 · line 424

Quoted 7 lines
drivers/rtc/Kconfig +1 -0
@@ -418,6 +418,7 @@ config RTC_DRV_SPACEMIT_P1
 
  config RTC_DRV_NVIDIA_VRS10
  	tristate "NVIDIA VRS10 RTC device"
+	depends on ARCH_TEGRA || COMPILE_TEST
  	help
  	  If you say yes here you will get support for the battery backed RTC device
  	  of NVIDIA VRS (Voltage Regulator Specification). The RTC is connected via

Looks good to me.

Thanks!

Jon

Signature · 1 line
nvpublic
maintainer Applied
#2 lore raw
In reply to Peter Robinson
Quoted 5 lines · Peter Robinson

The NV VRS RTC driver currently is only supported on the Tegra platform so add a dep for ARCH_TEGRA and compile test so it doesn't show up universally across all arches/platforms.

Applied, thanks!

[1/1] rtc: nvvrs: Add ARCH_TEGRA to the NV VRS RTC driver
https://git.kernel.org/abelloni/c/f9ecfd9bfedb

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com