diff --git a/Documentation/devicetree/bindings/mfd/nvidia-vrs-pseq.yaml b/Documentation/devicetree/bindings/mfd/nvidia-vrs-pseq.yaml new file mode 100644 index 00000000..d1bda112 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nvidia-vrs-pseq.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/nvidia-vrs-seq.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA VRS sequencer driver + +maintainers: + - Shubhi Garg + - Laxman Dewangan + +description: | + NVIDIA VRS sequencer device for controlling the voltage rails. + +properties: + compatible: + const: "nvidia,vrs-pseq" + + reg: + description: + I2C device address. + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell is the trigger type. + + rtc: + $ref: ../rtc/nvidia-vrs-rtc.yaml + + + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + bpmp { + i2c { + vrs@3c { + compatible = "nvidia,vrs-pseq"; + reg = <0x3c>; + interrupt-parent = <&intc>; + /* IRQ is active-low but pmc inverts the signal */ + interrupts = ; + interrupt-controller; + #interrupt-cells = <3>; + + vrs_rtc: rtc { + status = "okay"; + }; + }; + }; + };