mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-20 07:50:09 +00:00

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>
21 lines
805 B
Makefile
21 lines
805 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
scmi-bus-y = bus.o
|
|
scmi-core-objs := $(scmi-bus-y)
|
|
|
|
scmi-driver-y = driver.o notify.o
|
|
scmi-driver-$(CONFIG_ARM_SCMI_QUIRKS) += quirks.o
|
|
scmi-driver-$(CONFIG_ARM_SCMI_RAW_MODE_SUPPORT) += raw_mode.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
|
|
scmi-protocols-y := base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
|
|
scmi-protocols-y += pinctrl.o
|
|
scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
|
|
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += transports/
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += vendors/imx/
|
|
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-core.o
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
|
|
|
|
obj-$(CONFIG_ARM_SCMI_POWER_CONTROL) += scmi_power_control.o
|