aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/smccc/Makefile
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2020-06-25 10:59:39 +0100
committerSudeep Holla <sudeep.holla@arm.com>2020-07-06 09:48:06 +0100
commit821b67fa46390baea0ac5139a60eaa48805261b2 (patch)
tree8dea538654ee3de9ff7256834e273c6b9fbaae6a /drivers/firmware/smccc/Makefile
parentARM: OMAP2: Use custom soc attribute group instead of device_create_file (diff)
downloadlinux-dev-821b67fa46390baea0ac5139a60eaa48805261b2.tar.xz
linux-dev-821b67fa46390baea0ac5139a60eaa48805261b2.zip
firmware: smccc: Add ARCH_SOC_ID support
SMCCC v1.2 adds a new optional function SMCCC_ARCH_SOC_ID to obtain a SiP defined SoC identification value. Add support for the same. Also using the SoC bus infrastructure, let us expose the platform specific SoC atrributes under sysfs. There are various ways in which it can be represented in shortened form for efficiency and ease of parsing for userspace. The chosen form is described in the ABI document. Link: https://lore.kernel.org/r/20200625095939.50861-1-sudeep.holla@arm.com Cc: Etienne Carriere <etienne.carriere@st.com> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/smccc/Makefile')
-rw-r--r--drivers/firmware/smccc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/smccc/Makefile b/drivers/firmware/smccc/Makefile
index 6f369fe3f0b9..72ab84042832 100644
--- a/drivers/firmware/smccc/Makefile
+++ b/drivers/firmware/smccc/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
#
obj-$(CONFIG_HAVE_ARM_SMCCC_DISCOVERY) += smccc.o
+obj-$(CONFIG_ARM_SMCCC_SOC_ID) += soc_id.o