mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 03:52:37 +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 <[email protected]> Signed-off-by: Cristian Marussi <[email protected]> Message-Id: <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
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
|