[PATCH 1/2] bindings: ipmi: Add alert GPIO enhancement for SSIF BMC driver

From: Potin Lai
Date: Sat Oct 19 2024 - 11:41:12 EST


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@xxxxxxxxx>
---
Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml
index 02b662d780bb..104283fa851a 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
@@ -34,5 +40,6 @@ examples:
ssif-bmc@10 {
compatible = "ssif-bmc";
reg = <0x10>;
+ alert-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
};
};

--
2.31.1