Debian Codegraph @

Documentation/devicetree/bindings/rtc/nvidia,vrs-10.yaml

raw
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 <[email protected]>
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 };