linux/drivers/firmware/smccc
Sudeep Holla 821b67fa46 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>
2020-07-06 09:48:06 +01:00
..
Kconfig firmware: smccc: Add ARCH_SOC_ID support 2020-07-06 09:48:06 +01:00
Makefile firmware: smccc: Add ARCH_SOC_ID support 2020-07-06 09:48:06 +01:00
smccc.c firmware: smccc: Add function to fetch SMCCC version 2020-05-20 19:10:37 +01:00
soc_id.c firmware: smccc: Add ARCH_SOC_ID support 2020-07-06 09:48:06 +01:00