Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759505AbcJYUtn (ORCPT ); Tue, 25 Oct 2016 16:49:43 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:61210 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753682AbcJYUtj (ORCPT ); Tue, 25 Oct 2016 16:49:39 -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: Tue, 25 Oct 2016 22:49:07 +0200 Message-ID: <3567809.JctLPjIDdk@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <550ace3c-f2d3-6f3a-9566-cc1f83432484@codeaurora.org> References: <1476972386-28655-1-git-send-email-kimran@codeaurora.org> <2349770.MVMXr64OoI@wuerfel> <550ace3c-f2d3-6f3a-9566-cc1f83432484@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:T+Wt5JTYRaxdi8gDmAeptZgeziKzE/ztWhRjB3PQY6SZul56CjK 85MwGnEnOfXV6a1fBdAtOJc3nHVEXhFbmLFrHaS8yIxoNXpfJPAfFkZDVxjwlNrQgXRFi1A k88/y46iN9AGrG/ZTCdaXPxRNXeBquxdJF8AiXaDqx2bilM0xsJAARie4GZEn7RzZJJJwhg DqLiBBDsCsDZrvNz/+spQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:qESEpk/FySs=:/r+9OKFbM5vBkIwHKUJWis TkUULn0DVBuTQo/q9/hEVFADcmIBsl/13anFXDkJ4dmtqrkNVBx6QjDeLbrfkL1Ob/Uq/1ud6 /DewBbyVT1QlrG/hwY5lUiS6wfdBly8XNq5U+nUCmpWIWG/SJHhpWbkimY4Euw8uCOVdtHmMP VhkXab5ocjwLld8uTQzPbMLqYMj9KNp964FBkSMa+lNeLZS69+8aOUZOtT4mbY43/HYjuemJW GzUoz3xBaF3P9JqCtTSGOB4po687CMnnP2F/WFNhJetgpKLcaxvqxfsZMuL2O+jHPs6vn3wLK oJbet7uq9d6L8g/HTz0DrjezugtuCVEbLzn6Sc62STh1132Tb5H0oIKPEGMgX7yd/3OuzkIGT fc+2d8Zblcrv/Cuzc4Z/iCgENQytIngU7f7XEppktjlhkyu68TrrR/LL4mFyo17Y5pE9Pg64Q /rdhanNGAEATL0u67NBcBDuDKGMtDVcWrSco7TqrUC5aoyqwdCArQr4vj/giGT/DWh2VMLKG1 xEmv24kdxvlj9BKIQskT/hXRLVFFINwoXWlz9p7nfyupbVlzstO1Z4PbzYLxF8zLdrcYqp4+L AId3el/EukCve3ZBKzX/WoNX5UEK5wpOcHT3GB8u/La0inT7uirh3a1cX4szqyHhIyMJLwtEM 1/1HqCmlLbuKe9TZb4JnywP44lvs4hbgRbYGP0oZy75Qx4ZMEt0lLjDRTX+eUn+fkONKQji3S KU5jdEn3omSKgc9X Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 917 Lines: 25 On Tuesday, October 25, 2016 3:23:34 PM CEST Imran Khan wrote: > On 10/21/2016 4:03 PM, Arnd Bergmann wrote: > >> +/* socinfo: sysfs functions */ > > > > This seems overly verbose, having both raw and human-readable > > IDs is generally not necessary, pick one of the two. If you > > need any fields that we don't already support in soc_device, > > let's talk about adding them to the generic structure. > > > > > > Okay. I will go for human readable IDs. Can we add 2 more fields > in the generic structure. > These 2 fields would be: > > vendor: A string for vendor name > serial_number: A string containing serial number for the platform serial_number seems straightforward, adding this seems like a good idea. I don't understand yet what would go into the vendor field though. For this particular driver, is it always "Qualcomm", or would it be a third-party that makes a device based on that chip? Arnd