mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
2145af01b9
Add basic implementation of the SCMI v3.2 pincontrol protocol. Co-developed-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com> Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com> Co-developed-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20240418-pinctrl-scmi-v11-3-499dca9864a7@nxp.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
28 lines
1.2 KiB
Makefile
28 lines
1.2 KiB
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_RAW_MODE_SUPPORT) += raw_mode.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-protocols-y += pinctrl.o
|
|
scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
|
|
|
|
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
|
|
|
|
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
|