Skip to content

Commit 9d6d6b0

Browse files
shgarg26alexandrebelloni
authored andcommitted
rtc: nvvrs: add NVIDIA VRS RTC device driver
Add support for NVIDIA VRS (Voltage Regulator Specification) RTC device driver. NVIDIA VRS is a Power Management IC (PMIC) that implements a power sequencing solution with I2C interface. The device includes RTC which provides functionality to get/set system time, retain system time across boot, wake system from suspend and shutdown state. Supported platforms: - NVIDIA Jetson AGX Orin Developer Kit - NVIDIA IGX Orin Development Kit - NVIDIA Jetson Orin NX Developer Kit - NVIDIA Jetson Orin Nano Developer Kit Signed-off-by: Shubhi Garg <shgarg@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20251007135738.487694-4-shgarg@nvidia.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 4c03653 commit 9d6d6b0

4 files changed

Lines changed: 560 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18428,6 +18428,14 @@ S: Maintained
1842818428
F: drivers/video/fbdev/nvidia/
1842918429
F: drivers/video/fbdev/riva/
1843018430

18431+
NVIDIA VRS RTC DRIVER
18432+
M: Shubhi Garg <shgarg@nvidia.com>
18433+
L: linux-tegra@vger.kernel.org
18434+
S: Maintained
18435+
F: Documentation/devicetree/bindings/rtc/nvidia,vrs-10.yaml
18436+
F: drivers/rtc/rtc-nvidia-vrs10.c
18437+
F: include/linux/rtc/rtc-nvidia-vrs10.h
18438+
1843118439
NVIDIA WMI EC BACKLIGHT DRIVER
1843218440
M: Daniel Dadap <ddadap@nvidia.com>
1843318441
L: platform-driver-x86@vger.kernel.org

drivers/rtc/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,15 @@ config RTC_DRV_SPACEMIT_P1
416416
This driver can also be built as a module, which will be called
417417
"spacemit-p1-rtc".
418418

419+
config RTC_DRV_NVIDIA_VRS10
420+
tristate "NVIDIA VRS10 RTC device"
421+
help
422+
If you say yes here you will get support for the battery backed RTC device
423+
of NVIDIA VRS (Voltage Regulator Specification). The RTC is connected via
424+
I2C interface and supports alarm functionality.
425+
This driver can also be built as a module. If so, the module will be called
426+
rtc-nvidia-vrs10.
427+
419428
config RTC_DRV_NCT3018Y
420429
tristate "Nuvoton NCT3018Y"
421430
depends on OF

drivers/rtc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ obj-$(CONFIG_RTC_DRV_GAMECUBE) += rtc-gamecube.o
122122
obj-$(CONFIG_RTC_DRV_NCT3018Y) += rtc-nct3018y.o
123123
obj-$(CONFIG_RTC_DRV_NCT6694) += rtc-nct6694.o
124124
obj-$(CONFIG_RTC_DRV_NTXEC) += rtc-ntxec.o
125+
obj-$(CONFIG_RTC_DRV_NVIDIA_VRS10)+= rtc-nvidia-vrs10.o
125126
obj-$(CONFIG_RTC_DRV_OMAP) += rtc-omap.o
126127
obj-$(CONFIG_RTC_DRV_OPAL) += rtc-opal.o
127128
obj-$(CONFIG_RTC_DRV_OPTEE) += rtc-optee.o

0 commit comments

Comments
 (0)