firmware: arm_scmi: Add common framework to handle firmware quirks
authorCristian Marussi <cristian.marussi@arm.com>
Tue, 29 Apr 2025 14:11:07 +0000 (15:11 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 6 May 2025 10:12:30 +0000 (11:12 +0100)
commit487c407d57d6d32ff4370f4e738227811732d4bd
tree082c0b68106b53b39781318d8f12a730718541b4
parent94a263f981a3fa3d93f65c31e0fed0756736be43
firmware: arm_scmi: Add common framework to handle firmware quirks

Add a common framework to describe SCMI quirks and associate them with a
specific platform or a specific set of SCMI firmware versions.

All the matching SCMI quirks will be enabled when the SCMI core stack
probes and after all the needed SCMI firmware versioning information was
retrieved using the base protocol.

Tested-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Message-Id: <20250429141108.406045-3-cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/Kconfig
drivers/firmware/arm_scmi/Makefile
drivers/firmware/arm_scmi/driver.c
drivers/firmware/arm_scmi/quirks.c [new file with mode: 0644]
drivers/firmware/arm_scmi/quirks.h [new file with mode: 0644]