[PATCH 1/2] bindings: ipmi: ssif-bmc: Add property to adjust response timeout

From: Potin Lai
Date: Mon Feb 03 2025 - 08:12:19 EST


The SSIF response is handled by a userspace application, which may exceed
the default 500 ms timeout when the BMC or application is under heavy load.

Add a new device tree property, `timeout-ms`, allowing platforms to adjust
the response timeout based on their specific requirements. This helps
prevent timeouts in scenarios where longer processing times are expected.

Signed-off-by: Potin Lai <potin.lai.pt@xxxxxxxxx>
---
Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml
index 02b662d780bb..c8a863d44f97 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

+ timeout-ms:
+ minimum: 0
+ maximum: 4294967295
+ default: 500
+ description: Response timeout in millisecond.
+
required:
- compatible
- reg

--
2.31.1