Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: Document NVIDIA VRS RTC

Add device tree bindings for NVIDIA VRS (Voltage Regulator Specification)
RTC device. 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: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20251007135738.487694-2-shgarg@nvidia.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Shubhi Garg and committed by
Alexandre Belloni
4c03653f 7adca706

+59
+59
Documentation/devicetree/bindings/rtc/nvidia,vrs-10.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rtc/nvidia,vrs-10.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NVIDIA Voltage Regulator Specification Real Time Clock 8 + 9 + maintainers: 10 + - Shubhi Garg <shgarg@nvidia.com> 11 + 12 + description: 13 + NVIDIA VRS-10 (Voltage Regulator Specification) is a Power Management IC 14 + (PMIC) that implements a power sequencing solution with I2C interface. 15 + The device includes a real-time clock (RTC) with 32kHz clock output and 16 + backup battery support, alarm functionality for system wake-up from 17 + suspend and shutdown states, OTP memory for power sequencing configuration, 18 + and an interrupt controller for managing VRS events. 19 + 20 + properties: 21 + compatible: 22 + const: nvidia,vrs-10 23 + 24 + reg: 25 + maxItems: 1 26 + 27 + interrupts: 28 + maxItems: 1 29 + 30 + interrupt-controller: true 31 + 32 + '#interrupt-cells': 33 + const: 2 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - interrupts 39 + - interrupt-controller 40 + - '#interrupt-cells' 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + #include <dt-bindings/interrupt-controller/irq.h> 47 + i2c { 48 + #address-cells = <1>; 49 + #size-cells = <0>; 50 + 51 + pmic@3c { 52 + compatible = "nvidia,vrs-10"; 53 + reg = <0x3c>; 54 + interrupt-parent = <&pmc>; 55 + interrupts = <24 IRQ_TYPE_LEVEL_LOW>; 56 + interrupt-controller; 57 + #interrupt-cells = <2>; 58 + }; 59 + };