mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 11:34:50 +08:00
0316f99c47
Add support for SCMI v3.1 powercap protocol, with the exception of powercap fast channels, exposing all the new related powercap protocol operations as usual in include/linux/scmi_protocol.h. Link: https://lore.kernel.org/r/20220704102241.2988447-3-cristian.marussi@arm.com Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
23 lines
1.1 KiB
Makefile
23 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
scmi-bus-y = bus.o
|
|
scmi-driver-y = driver.o notify.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += virtio.o
|
|
scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += optee.o
|
|
scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
|
|
scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
|
|
$(scmi-transport-y)
|
|
obj-$(CONFIG_ARM_SCMI_PROTOCOL) += scmi-module.o
|
|
obj-$(CONFIG_ARM_SCMI_POWER_DOMAIN) += scmi_pm_domain.o
|
|
obj-$(CONFIG_ARM_SCMI_POWER_CONTROL) += scmi_power_control.o
|
|
|
|
ifeq ($(CONFIG_THUMB2_KERNEL)$(CONFIG_CC_IS_CLANG),yy)
|
|
# The use of R7 in the SMCCC conflicts with the compiler's use of R7 as a frame
|
|
# pointer in Thumb2 mode, which is forcibly enabled by Clang when profiling
|
|
# hooks are inserted via the -pg switch.
|
|
CFLAGS_REMOVE_smc.o += $(CC_FLAGS_FTRACE)
|
|
endif
|