public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SCMI Vendor module autoload support
@ 2024-12-03 20:00 Cristian Marussi
  2024-12-03 20:00 ` [PATCH 1/2] firmware: arm_scmi: Support vendor protocol modules autoloading Cristian Marussi
  2024-12-03 20:00 ` [PATCH 2/2] firmware: arm_scmi: Add module aliases to i.MX vendor protocols Cristian Marussi
  0 siblings, 2 replies; 4+ messages in thread
From: Cristian Marussi @ 2024-12-03 20:00 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, arm-scmi
  Cc: sudeep.holla, james.quinlan, f.fainelli, vincent.guittot,
	etienne.carriere, peng.fan, michal.simek, quic_sibis,
	dan.carpenter, johan+linaro, Cristian Marussi

Hi,

a tiny series to add the capability to automatically load the proper
vendor protocol module when an SCMI driver tries to use it; while proper
vendor protocol selection is already provided by the SCMI core, automatic
loading of vendor protocols was not.

Lookup is now based on module aliases following the pattern:

	scmi-protocol-0x<PROTO_ID_NN>-<VENDOR_ID>

In [2/2] proper aliases are added to existing i.MX Vendor protocols...
...could not find a better way to build the alias string automagically...

...any advice is welcome in these regards...and any feedback too !

Thanks,
Cristian

Cristian Marussi (2):
  firmware: arm_scmi: Support vendor protocol modules autoloading
  firmware: arm_scmi: Add module aliases to i.MX vendor protocols

 drivers/firmware/arm_scmi/driver.c            | 56 +++++++++++++++----
 .../arm_scmi/vendors/imx/imx-sm-bbm.c         |  5 +-
 .../arm_scmi/vendors/imx/imx-sm-misc.c        |  5 +-
 include/linux/scmi_imx_protocol.h             |  9 +--
 4 files changed, 57 insertions(+), 18 deletions(-)

-- 
2.47.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-09  2:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-03 20:00 [PATCH 0/2] Add SCMI Vendor module autoload support Cristian Marussi
2024-12-03 20:00 ` [PATCH 1/2] firmware: arm_scmi: Support vendor protocol modules autoloading Cristian Marussi
2024-12-03 20:00 ` [PATCH 2/2] firmware: arm_scmi: Add module aliases to i.MX vendor protocols Cristian Marussi
2024-12-09  3:54   ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox