Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933006AbcJZOq5 (ORCPT ); Wed, 26 Oct 2016 10:46:57 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:60444 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932659AbcJZOqw (ORCPT ); Wed, 26 Oct 2016 10:46:52 -0400 From: Arnd Bergmann To: Imran Khan Cc: andy.gross@linaro.org, David Brown , Rob Herring , Mark Rutland , "open list:ARM/QUALCOMM SUPPORT" , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH] soc: qcom: Add SoC info driver Date: Wed, 26 Oct 2016 16:46:12 +0200 Message-ID: <4173870.AkctyO62lp@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <2ae082c4-27c1-fbdd-cb7a-986716e15d18@codeaurora.org> References: <1476972386-28655-1-git-send-email-kimran@codeaurora.org> <3809309.oOnjdjqnN9@wuerfel> <2ae082c4-27c1-fbdd-cb7a-986716e15d18@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:GGZV93ik6lO0wbyTCF5RrU+eXgjUqscc/cm6nKGxrD7fnDeJqdm IwiX6VPIQJ9YC77zs4aaLB80eij8Nz+8VBtR48whKI7o9QuwrtKasQi/7qOGxtzfCbFsVHJ UjNLxRs7WXxokcxN0z9UxWcBbVoM1egF3HPFEA/aSoF/cp4bnnY1ouwGjZ9dqaYuNJSaT8f d39Guj9EW/baioiyxfeSQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:RsYAMgOA3xQ=:2yttAhG9P1AsbJNhynymy3 uotkrQ76TqrmW5eqY+RWshmTJYrBO2hNrT/M4AmhEZbcu/JeysH00gNfNKtirohs8bvEfW1tV dzAU87DuIM6p6PBxDTjrjG2yW46NCVKkwQDZSnFeamoKAGMIYEcBj+QY8N8sm6yF225tBpL0X oRqjCKPacdlTtPQE2Fa+Pu9d818H2r+6X4NPLJ4TCGWIEx18eOcfTF8L+9vJEep7L/qdj9F0L 4W1khjuClte/nDoKbS6uhEwJ0Ag3ukEdfd351A0n6SyNEQmc9i9RPRtYuSxjWdonV7g4YxqIF KAEPW6R5SA/IsU1Y++4B8WQ4HInZ99tH3g5IsMfW2gmNAj0PJJr1iIq4xgOQPLsi+8c1vaQzq zY9Y4P32vohb+bf4bPz6O4I4vapiK8tVmDCKGJUIobYa9Xk1rT4OQHyFNnPMG5a/Dwjmrxe4X M+oziOQ85LvzP5G+Wh0/eZTFasXhRNHh/qXVdEQ1b/dVm+7TKw8LnjsEghOTS/rtzA9JDLSsJ UHw6xMWo7C8NKCCVd13C44vo5rzloiSrlK4n36BV/IAekuYdWIjLRd8YFGrKg1UlGFzMV0v05 QsisYJi84ofbNDMJPn4mcHvSm1NgPpkxHbzwly9TM2jgRE5JHa47wEmAxI1XweL1eENQXWBli D+ZL2aEv0hDkgpmtc/1Gx/45/oIX+T9suSb92ZKDPr3iU2ORfxLUsbP5iEVCpSI3LxsM94A6n q4A3v3EyRu+jH7I1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 25 On Wednesday, October 26, 2016 7:42:08 PM CEST Imran Khan wrote: > On 10/26/2016 7:35 PM, Arnd Bergmann wrote: > >> > As we are talking about generic soc_device_attribute fields, I was hoping that > >> > having a vendor field would be helpful as along with family it would provide > >> > a more thorough information. Also as more than one foundries may be used for > >> > a soc, can we have a field say foundry_id to provide this information. > > My first feeling is that this 'vendor' information can should be > > derived from the family. It's also not clear what would happen > > to this when a company gets bought. E.g. the Oxnas product family > > was subsequently owned by Oxford, PLX, Avago and Broadcom, and the > > mxs family was Sigmatel, Freescale, now NXP and might soon be > > Qualcomm. What would you put in there in this case? > > Okay, not having vendor field is fine for me. Could you also suggest > something about the foundry_id field. This one seems more well-defined, so it's probably ok to add. What would be the use case of reading this? Would you want to read it just from user space or also from the kernel? Maybe this can be combined with a manufacturing process, which probably falls into a similar category, so we could have something like "TSMC 28ULP" as a string in there. Arnd