Hello Team,
I learned that the FSS supports 2 APIs which can be used to set the system power mode.
A1, Scmi_SystemPowerRequestProtocolMessageAttributesSynch
A2, Scmi_PowerRequestSystemModeSynch
And A1 can be used to set the cohort mode and state as well. However, there are dedicated cohort APIs to set cohort state, for example: Scmi_BtmWarmResetCohortSynch, Scmi_BtmSuspendCohortSynch.
It seems that the functionality of A1 API overlaps with the other 2 types of APIs.
My question is: What is the A1 API used for? Or what kind of scenario is the A1 API used under?
Best regards,
Tangsheng.
Thanks Marius, explain the confusion very clearly.
Hi @Tangsheng_Zhou ,
The Power Domain protocol and the Boot protocol were the original protocols added for Tunis; for various reasons, this was well adapted to the Tunis usecases but not fully compatible with the SCMI spec; as a result, alongside adding support for Luxor platform we added also the System Power protocol, which is the ARM SCMI compliant one -> hence the overlap.
In terms of implementation and future support:
- APIs like Scmi_SystemPowerStateSetSynch(
APIs from PowerDomain protocols like Scmi_PowerRequestSystemModeSynch are going to be deprecated and anyway everyone is recommended to use the new, SCMI compatible API of SystemPower.
Internally we have ticket for tracking the UserManual updates and clarifications. FSF-29425
Thanks,
Marius