linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] base: soc: Add few more soc details in soc attribute
@ 2016-11-08 12:47 Imran Khan
  0 siblings, 0 replies; only message in thread
From: Imran Khan @ 2016-11-08 12:47 UTC (permalink / raw)
  To: lee.jones; +Cc: arnd, bjorn.andersson, Imran Khan, open list

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.

Signed-off-by: Imran Khan <kimran@codeaurora.org>
---
 include/linux/sys_soc.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/sys_soc.h b/include/linux/sys_soc.h
index 2739ccb..e2eadd8 100644
--- a/include/linux/sys_soc.h
+++ b/include/linux/sys_soc.h
@@ -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;
 };
 
 /**
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-08 12:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-08 12:47 [RFC] base: soc: Add few more soc details in soc attribute Imran Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).