Skip to contentSkip to conversation

base: soc: Add few more soc details in soc attribute

RFC New Imran Khan 1 participant 1 message Nov 8, 2016 Driver core

lore
Share & tools
lore

Imran Khan

author
#0 lore raw

RFC 1/1 base: soc: Add few more soc details in soc attribute

The commit adds three more fields in the generic soc attribute structure. The vendor field provides information about SoC vendor, it may be argued that vendor is more or less conveying the same information as family but nonetheless there is nothing preventing two vendors from having similar family names for their socs. Also family and vendor fields combined together provide a more thorough information.
The serial_num field would contain serial number of the soc. Lastly as the same soc can come from multiple foundries, involving different processes, having a foundry_id field to convey this information can be useful.

---
 include/linux/sys_soc.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/sys_soc.h +3 -0
index 2739ccb..e2eadd8 100644
@@ -13,6 +13,9 @@ struct soc_device_attribute {
 	const char *family;
 	const char *revision;
 	const char *soc_id;
+	const char *vendor;
+	const char *serial_num;
+	const char *foundry_id;
 };
 
 /**
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project