Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-08 Thread Ley Foon Tan
On Tue, 2013-03-05 at 21:59 +, Arnd Bergmann wrote: > On Tuesday 05 March 2013, Ley Foon Tan wrote: > > The sysid give the unique system ID and system generation timestamp of > > the system. > > > > CASE 1: > > SOCFPGA SoC + Sysid component in FPGA > > > > CASE 2 > > Nios II soft core CPU + S

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Ley Foon Tan wrote: > The sysid give the unique system ID and system generation timestamp of > the system. > > CASE 1: > SOCFPGA SoC + Sysid component in FPGA > > CASE 2 > Nios II soft core CPU + Sysid (All in FPGA and no SoC is involved) > > From example use cases abo

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-05 Thread Ley Foon Tan
On Mon, 2013-03-04 at 12:55 +, Arnd Bergmann wrote: > On Monday 04 March 2013, Ley Foon Tan wrote: > > This IP core is not in the SoC. This core is in the FPGA and can be > > accessed by the Nios II processor or accessed by SOCFPGA processor (ARM > > based) via its interface to FPGA. Due to thi

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Ley Foon Tan wrote: > This IP core is not in the SoC. This core is in the FPGA and can be > accessed by the Nios II processor or accessed by SOCFPGA processor (ARM > based) via its interface to FPGA. Due to this, I think it shouldn't use > infrastructure in drivers/base/soc

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-04 Thread Ley Foon Tan
On Mon, 2013-03-04 at 11:44 +0800, Greg Kroah-Hartman wrote: > On Mon, Mar 04, 2013 at 03:32:19AM +, Arnd Bergmann wrote: > > On Monday 04 March 2013, Ley Foon Tan wrote: > > > This patch is to add Altera System ID driver. > > > User can obtain the system ID and timestamp of the system by > > >

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-03 Thread Greg Kroah-Hartman
On Mon, Mar 04, 2013 at 03:32:19AM +, Arnd Bergmann wrote: > On Monday 04 March 2013, Ley Foon Tan wrote: > > 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/dev

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-03 Thread Arnd Bergmann
On Monday 04 March 2013, Ley Foon Tan wrote: > 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

[PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-03 Thread Ley Foon Tan
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 Signed-off-by: Ley Foon Tan --- .../devicetre