From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718AbdBWGCF (ORCPT ); Thu, 23 Feb 2017 01:02:05 -0500 Received: from mga09.intel.com ([134.134.136.24]:8344 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751169AbdBWGCD (ORCPT ); Thu, 23 Feb 2017 01:02:03 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,197,1484035200"; d="scan'208";a="1133710432" From: "Loh, Tien Hock" To: "gregkh@linuxfoundation.org" , "arnd@arndb.de" CC: "linux-kernel@vger.kernel.org" , "Nguyen, Dinh" , "thloh85@gmail.com" , "Gerlach, Matthew" Subject: Re: [PATCH 1/1] drivers/misc: Add Intel System ID driver Thread-Topic: [PATCH 1/1] drivers/misc: Add Intel System ID driver Thread-Index: AQHSh3xEV1UiWY2US02NwdEQuVXhNaFpybMAgAArIICAC6nLgA== Date: Thu, 23 Feb 2017 05:58:29 +0000 Message-ID: <1487829507.2961.5.camel@intel.com> References: <1487156981-4550-1-git-send-email-user@thloh-VirtualBox> <20170215171732.GA4548@kroah.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.226.241.119] Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id v1N629jO015178 Sorry for the late reply.  This driver can currently be used by ARM and Nios II, so moving it into drivers/soc might not be the best idea. Thanks Tien Hock On Rab, 2017-02-15 at 20:51 +0100, Arnd Bergmann wrote: > On Wed, Feb 15, 2017 at 6:17 PM, Greg KH > wrote: > > > > On Wed, Feb 15, 2017 at 07:09:41PM +0800, thloh wrote: > > > > > > From: "Loh, Tien Hock" > > > > > > This patch is to add Altera System ID driver. > > > User can obtain the system ID and timestamp of the system by > > > reading the sysfs entry. > > > > > > Usage: > > > cat /sys/bus/platform/devices/[addr].sysid/sysid/id > > > cat /sys/bus/platform/devices/[addr].sysid/sysid/timestamp > > If you add new sysfs attributes, you need to also add a > > Documentation/ABI/ description as well. > Maybe we could pretend that this is for a SoC and use the standard > soc_device > attributes as well as moving the driver into drivers/soc/? > >      Arnd