summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings/switchcap/switchcap-gpio.yaml')
-rw-r--r--zephyr/dts/bindings/switchcap/switchcap-gpio.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml b/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml
new file mode 100644
index 0000000000..0016401835
--- /dev/null
+++ b/zephyr/dts/bindings/switchcap/switchcap-gpio.yaml
@@ -0,0 +1,22 @@
+description: SwitchCap controlled by gpios
+
+compatible: "switchcap-gpio"
+
+properties:
+ enable-pin:
+ type: phandle
+ required: true
+ description: |
+ GPIO used to enable the switch cap
+
+ power-good-pin:
+ type: phandle
+ required: false
+ description: |
+ GPIO used to read if power is good
+
+ poff-delay-ms:
+ type: int
+ required: false
+ description: |
+ Additional power off delay required for some systems