mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
documentation: Add DT binding document for nvidia-vrs-pseq
Add Device Tree binding document for the NVIDIA VRS power sequencer device. Bug 3583627 Change-Id: I708ec9377543228d60a91defe57a8c88b2fc7b0a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702276 GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
95b8f25957
commit
a2bb0f6898
67
Documentation/devicetree/bindings/mfd/nvidia-vrs-pseq.yaml
Normal file
67
Documentation/devicetree/bindings/mfd/nvidia-vrs-pseq.yaml
Normal file
@@ -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 <shgarg@nvidia.com>
|
||||
- Laxman Dewangan <ldewangan@nvidia.com>
|
||||
|
||||
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 = <GIC_SPI TEGRA234_IRQ_PMIC_EXT_INTR IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <3>;
|
||||
|
||||
vrs_rtc: rtc {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user