mbox series

[0/2] firmware: arm_scmi: introduce max-rx-timeout-ms property

Message ID 20240621-scmi-mailbox-v1-v1-0-8ed450735f46@nxp.com (mailing list archive)
Headers show
Series firmware: arm_scmi: introduce max-rx-timeout-ms property | expand

Message

Peng Fan (OSS) June 21, 2024, 12:46 p.m. UTC
The current mailbox scmi_desc set the timeout value to 30ms, but
each platform might have its own maximum receive channel timeout value
based on the System Control Management Interface(SCMI) firmware design
and hardware attributes, so introduce a property for that and use it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (2):
      dt-bindings: firmware: arm,scmi: introduce property mbox-rx-timeout-ms
      firmware: arm_scmi: set mailbox timeout value from device tree

 .../devicetree/bindings/firmware/arm,scmi.yaml        |  6 ++++++
 drivers/firmware/arm_scmi/driver.c                    | 19 ++++++++++++++-----
 drivers/firmware/arm_scmi/raw_mode.c                  | 11 +++++++----
 drivers/firmware/arm_scmi/raw_mode.h                  |  3 ++-
 4 files changed, 29 insertions(+), 10 deletions(-)
---
base-commit: 76db4c64526c5e8ba0f56ad3d890dce8f9b00bbc
change-id: 20240618-scmi-mailbox-v1-9b2c19663986

Best regards,