Re: [PATCH 1/1] drivers/misc: Add Intel System ID driver
From: Loh, Tien Hock
Date: Thu Feb 23 2017 - 01:02:29 EST
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.
On Rab, 2017-02-15 at 20:51 +0100, Arnd Bergmann wrote:
> On Wed, Feb 15, 2017 at 6:17 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> > On Wed, Feb 15, 2017 at 07:09:41PM +0800, thloh wrote:
> > >
> > > From: "Loh, Tien Hock" <tien.hock.loh@xxxxxxxxx>
> > >
> > > 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
> attributes as well as moving the driver into drivers/soc/?