Introduce the `alert-gpios` property to define an alert pin, enabling
the BMC to notify the host when a response is available.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml
index 02b662d780bb..7142151a3787 100644
--- a/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml
+++ b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml
@@ -19,6 +19,12 @@ properties:
reg:
maxItems: 1
+ alert-gpios:
+ description:
+ GPIO pin designated for SSIF alert, used by the BMC to notify the
+ host when a response is available.
+ maxItems: 1
+
required:
- compatible
- reg
@@ -27,6 +33,7 @@ additionalProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
@@ -34,5 +41,6 @@ examples:
ssif-bmc@10 {
compatible = "ssif-bmc";
reg = <0x10>;
+ alert-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};
--
2.31.1