]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Support only one single system power device
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 4 Jul 2022 10:19:30 +0000 (11:19 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Jul 2022 13:28:42 +0000 (14:28 +0100)
commitdc0c24e37a9d50c73ac71bc5a6d35734106f5e5b
tree99fa50066bd99590712e8e2236f48317ec352cbc
parent7ceff89dfa9285c02873008cffcbf96cbf4cde49
firmware: arm_scmi: Support only one single system power device

In order to minimize SCMI platform fw-side complexity, only one single SCMI
platform should be in charge of SCMI SystemPower protocol communications
with the OSPM. Enforce the existence of one single unique device associated
with SystemPower protocol across any possible number of SCMI platforms, and
warn if a system tries to register different SystemPower devices from
multiple platforms.

Link: https://lore.kernel.org/r/20220704101933.2981635-2-cristian.marussi@arm.com
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c