System Manager Firmware supports getting board information, add
documentation for this API
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/firmware/arm_scmi/vendors/imx/imx95.rst | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/drivers/firmware/arm_scmi/vendors/imx/imx95.rst b/drivers/firmware/arm_scmi/vendors/imx/imx95.rst
index 4e246a78a042a79eb81be35632079c7626bbbe57..0a4d157b3ea12c7735aa19d8d6c64ae8504d0c71 100644
--- a/drivers/firmware/arm_scmi/vendors/imx/imx95.rst
+++ b/drivers/firmware/arm_scmi/vendors/imx/imx95.rst
@@ -1670,6 +1670,28 @@ protocol_id: 0x84
|uint32 syslog[N] |Log data array, N is defined in bits[11:0] of numLogflags|
+--------------------+---------------------------------------------------------+
+MISC_BOARD_INFO
+~~~~~~~~~~~~~~~
+
+message_id: 0xE
+protocol_id: 0x84
+
++--------------------+---------------------------------------------------------+
+|Return values |
++--------------------+---------------------------------------------------------+
+|Name |Description |
++--------------------+---------------------------------------------------------+
+|int32 status |SUCCESS: config name return |
+| |NOT_SUPPORTED: name not available |
++--------------------+---------------------------------------------------------+
+|uint32 attributes |Board specific attributes reserved for future expansion |
+| |without breaking backwards compatibility |
++--------------------+---------------------------------------------------------+
+|uint8 boardname[16] |Board name. Null terminated ASCII string of up |
+| |to 16 bytes in length.(This is SM exported boardname |
+| |which may not align with the boardname in device tree) |
++--------------------+---------------------------------------------------------+
+
NEGOTIATE_PROTOCOL_VERSION
~~~~~~~~~~~~~~~~~~~~~~~~~~
--
2.37.1
On Wed, Aug 27, 2025 at 12:59:13PM +0800, Peng Fan wrote: > System Manager Firmware supports getting board information, add > documentation for this API s/API/MISC_BOARD_INFO command/ > > Reviewed-by: Cristian Marussi <cristian.marussi@arm.com> > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > drivers/firmware/arm_scmi/vendors/imx/imx95.rst | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/drivers/firmware/arm_scmi/vendors/imx/imx95.rst b/drivers/firmware/arm_scmi/vendors/imx/imx95.rst > index 4e246a78a042a79eb81be35632079c7626bbbe57..0a4d157b3ea12c7735aa19d8d6c64ae8504d0c71 100644 > --- a/drivers/firmware/arm_scmi/vendors/imx/imx95.rst > +++ b/drivers/firmware/arm_scmi/vendors/imx/imx95.rst > @@ -1670,6 +1670,28 @@ protocol_id: 0x84 > |uint32 syslog[N] |Log data array, N is defined in bits[11:0] of numLogflags| > +--------------------+---------------------------------------------------------+ > > +MISC_BOARD_INFO > +~~~~~~~~~~~~~~~ > + > +message_id: 0xE > +protocol_id: 0x84 > + > ++--------------------+---------------------------------------------------------+ > +|Return values | > ++--------------------+---------------------------------------------------------+ > +|Name |Description | > ++--------------------+---------------------------------------------------------+ > +|int32 status |SUCCESS: config name return | > +| |NOT_SUPPORTED: name not available | > ++--------------------+---------------------------------------------------------+ > +|uint32 attributes |Board specific attributes reserved for future expansion | > +| |without breaking backwards compatibility | Is 0 the expected value in this version of the spec as it is just reserved ? Please state the same explicitly here. -- Regards, Sudeep
On Fri, Aug 29, 2025 at 11:43:41AM +0100, Sudeep Holla wrote: >On Wed, Aug 27, 2025 at 12:59:13PM +0800, Peng Fan wrote: >> System Manager Firmware supports getting board information, add >> documentation for this API > >s/API/MISC_BOARD_INFO command/ > Fix in V4. >> >> +protocol_id: 0x84 >> + >> ++--------------------+---------------------------------------------------------+ >> +|Return values | >> ++--------------------+---------------------------------------------------------+ >> +|Name |Description | >> ++--------------------+---------------------------------------------------------+ >> +|int32 status |SUCCESS: config name return | >> +| |NOT_SUPPORTED: name not available | >> ++--------------------+---------------------------------------------------------+ >> +|uint32 attributes |Board specific attributes reserved for future expansion | >> +| |without breaking backwards compatibility | > >Is 0 the expected value in this version of the spec as it is just reserved ? >Please state the same explicitly here. Yes. The SM firmware set it 0 by default. I will add "The firmware set the value to 0 for now". Thanks, Peng > >-- >Regards, >Sudeep
© 2016 - 2025 Red Hat, Inc.