Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1517141
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Imran Khan <kimran@codeaurora.org> |
| Newsgroups | linux.kernel |
| Subject | [RFC] base: soc: Add few more soc details in soc attribute |
| Date | Tue, 08 Nov 2016 13:50:02 +0100 |
| Message-ID | <sBe0G-Zj-19@gated-at.bofh.it> (permalink) |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1478609281; bh=t6nLlpE2svRJgra1JCqTZ7tRcCrHU0cJjS2EyXzUTII=; h=From:To:Cc:Subject:Date:From; b=ameA71ElQjg42ypat0ASticJOpeHOwJq7tXodPVeqSLb3NwWRGoj5HInW7MnFK6w7 +1l99j1PTKwTc3PH9exHNXD61l82TvJFum+DshW+fwd9C+yEb7EH4QbTSmt0A8I3oF ZgmajTGGo+5bCrXN/WIx73knm8QMjiPuWoYSMQwM= |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1478609280; bh=t6nLlpE2svRJgra1JCqTZ7tRcCrHU0cJjS2EyXzUTII=; h=From:To:Cc:Subject:Date:From; b=RKIRRYVwrPXQ3Od3otLNimpJLRJzhCxgRUEr/4j7mN8C6rJhPHeQ6fd6QV0B9UV1c ODQod6y1tCCuTXUqBTJxMoBSPb+HUmYirqnCQFl76gmLylFjVVYP6O5JTIWsEUgNaL gnFXmBt0M0UBjHuQ4emyLcnruvscpdLvIJSZJMsk= |
| Dmarc-Filter | OpenDMARC Filter v1.3.1 smtp.codeaurora.org 95065614DF |
| Authentication-Results | pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org |
| Authentication-Results | pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=kimran@codeaurora.org |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | arnd@arndb.de, bjorn.andersson@linaro.org, Imran Khan <kimran@codeaurora.org>, linux-kernel@vger.kernel.org (open list) |
| X-Original-Date | Tue, 8 Nov 2016 18:17:25 +0530 |
| X-Original-Message-ID | <1478609264-4131-1-git-send-email-kimran@codeaurora.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1517141 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[RFC] base: soc: Add few more soc details in soc attribute Imran Khan <kimran@codeaurora.org> - 2016-11-08 13:50 +0100
csiph-web