[PATCH 0/2] firmware: arm_scmi: Ensure automatic module loading
Bjorn Andersson
bjorn.andersson at oss.qualcomm.com
Tue Jun 16 11:09:14 PDT 2026
SCMI drivers such as the Arm SCMI CPUfreq driver are allowed to built as
modules, but they are then not automatically loaded. Rework the SCMI
device table alias support to make modpost consume the information from
MODULE_DEVICE_TABLE(scmi, ...) and allow drivers to be loaded based on
this information, if known. Also add a protocol-based alias to also
trigger driver loading when only the SCMI protocol id is known.
Signed-off-by: Bjorn Andersson <bjorn.andersson at oss.qualcomm.com>
---
Bjorn Andersson (2):
module: add SCMI device table alias support
firmware: arm_scmi: request modules for discovered protocols
drivers/firmware/arm_scmi/bus.c | 19 +++++++++----------
drivers/firmware/arm_scmi/driver.c | 2 ++
include/linux/mod_devicetable.h | 12 ++++++++++++
include/linux/scmi_protocol.h | 6 +-----
scripts/mod/devicetable-offsets.c | 4 ++++
scripts/mod/file2alias.c | 13 +++++++++++++
6 files changed, 41 insertions(+), 15 deletions(-)
---
base-commit: 8d6dbbbe3ba62de0a63e962ee004afb848c8e3ac
change-id: 20260616-scmi-modalias-0f32421bd452
Best regards,
--
Bjorn Andersson <bjorn.andersson at oss.qualcomm.com>
More information about the linux-arm-kernel
mailing list