]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtc: nvvrs: Add ARCH_TEGRA to the NV VRS RTC driver
authorPeter Robinson <pbrobinson@gmail.com>
Mon, 22 Dec 2025 03:56:48 +0000 (03:56 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Jan 2026 23:12:07 +0000 (00:12 +0100)
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 <shgarg@nvidia.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20251222035651.433603-1-pbrobinson@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index 50dc779f7f983074df7882200c90f0df21d142f2..50ba48609d74edcf5f9e05f7e00f3a8717d3486a 100644 (file)
@@ -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