Hi, While attempting to add custom sysfs attributes for SMCCC ARCH_SOC_ID Arnd suggested to make it generic. Here is my first attempt.
The original thread/discussion can be found here[1] Regards, Sudeep [1] https://lore.kernel.org/r/cak8p3a3dv0b26xe3ofqgtff8ewv0aholudntpssb_t+pcfk...@mail.gmail.com/ Sudeep Holla (2): base: soc: Add JEDEC JEP106 manufacturer's identification code attribute firmware: smccc: Add ARCH_SOC_ID support Documentation/ABI/testing/sysfs-devices-soc | 31 ++++++ drivers/base/soc.c | 12 +++ drivers/firmware/smccc/Kconfig | 9 ++ drivers/firmware/smccc/Makefile | 1 + drivers/firmware/smccc/soc_id.c | 113 ++++++++++++++++++++ include/linux/arm-smccc.h | 5 + include/linux/sys_soc.h | 1 + 7 files changed, 172 insertions(+) create mode 100644 drivers/firmware/smccc/soc_id.c -- 2.17.1