Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933485AbcKHMsq (ORCPT ); Tue, 8 Nov 2016 07:48:46 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:51106 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933335AbcKHMsp (ORCPT ); Tue, 8 Nov 2016 07:48:45 -0500 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 From: Imran Khan To: lee.jones@linaro.org Cc: arnd@arndb.de, bjorn.andersson@linaro.org, Imran Khan , linux-kernel@vger.kernel.org (open list) Subject: [RFC] base: soc: Add few more soc details in soc attribute Date: Tue, 8 Nov 2016 18:17:25 +0530 Message-Id: <1478609264-4131-1-git-send-email-kimran@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 33 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 --- 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