Re: [PATCH v3 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-25 Thread Grant Likely
On Fri, Jul 23, 2010 at 7:49 AM, Anatolij Gustschin wrote: > Adds IFM PDM360NG device tree, and platform code. > > Currently following is supported: >  - Spansion S29GL512P 256 MB NOR flash >  - ST Micro NAND 1 GiB flash >  - DIU, please use "fbcon=map:5 video=fslfb:800x480...@60" >   at the kerne

Re: [PATCH] of: Provide default of_node_to_nid() when CONFIG_NUMA is not set

2010-07-25 Thread Grant Likely
On Sat, Jul 24, 2010 at 9:07 PM, Stephen Rothwell wrote: > Hi Grant, > > On Sat, 24 Jul 2010 09:43:31 -0600 Grant Likely > wrote: >> >> of_node_to_nid() is only relevant for NUMA.  Don't force architectures to >> implement it if CONFIG_NUMA is not set. > > Why not just do: > > #ifndef of_node_to

Re: [PATCH] of: Provide default of_node_to_nid() when CONFIG_NUMA is not set

2010-07-25 Thread Grant Likely
[cc'ing Arnd] On Sun, Jul 25, 2010 at 02:37:38PM -0600, Grant Likely wrote: > On Sat, Jul 24, 2010 at 9:07 PM, Stephen Rothwell > wrote: > > Hi Grant, > > > > On Sat, 24 Jul 2010 09:43:31 -0600 Grant Likely > > wrote: > >> > >> of_node_to_nid() is only relevant for NUMA.  Don't force architect

Re: [PATCH 2/6] eSPI: add eSPI controller support

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:21AM +0800, Mingkai Hu wrote: > Add eSPI controller support based on the common code spi_mpc8xxx.c. > > The eSPI controller is newer controller 85xx/Pxxx devices supported. > There're some differences comparing to the SPI controller: > > 1. Has different register map

Re: [PATCH 3/6] of/spi: add support to parse the SPI flash's partitions

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:22AM +0800, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- > drivers/of/of_spi.c | 11 +++ > drivers/spi/spi_mpc8xxx.c |1 + > 2 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/drivers/of/of_spi.c b/drivers/of/of_spi.c > ind

Re: [PATCH 4/6] mtd: m25p80: change the read function to read page by page

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:23AM +0800, Mingkai Hu wrote: > For Freescale's eSPI controller, the max transaction length one time > is limitted by the SPCOM[TRANSLEN] field which is 0x1. When used > mkfs.ext2 command to create ext2 filesystem on the flash, the read > length will exceed the max

Re: [PATCH 5/6] powerpc/of: add eSPI controller dts bindings

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:24AM +0800, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- > Documentation/powerpc/dts-bindings/fsl/spi.txt | 20 > 1 files changed, 20 insertions(+), 0 deletions(-) > > diff --git a/Documentation/powerpc/dts-bindings/fsl/spi.txt > b/Doc

Re: [PATCH 6/6] DTS: add SPI flash(s25fl128p01) support on p4080ds and mpc8536ds board

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:25AM +0800, Mingkai Hu wrote: > Signed-off-by: Mingkai Hu > --- > arch/powerpc/boot/dts/mpc8536ds.dts | 52 > +++ > arch/powerpc/boot/dts/p4080ds.dts |9 ++ > 2 files changed, 55 insertions(+), 6 deletions(-) > > diff --g

Re: [PATCH 0/6] refactor spi_mpc8xxx.c and add eSPI controller support

2010-07-25 Thread Grant Likely
On Tue, Jul 20, 2010 at 10:08:19AM +0800, Mingkai Hu wrote: > This patchset refactor the file spi_mpc8xxx.c to abstract some common code > as a lib used by the SPI/eSPI controller driver, move the SPI controller > driver code to fsl_spi.c, and add the eSPI controller support with fsl_espi.c. > > T

Timestamp in PowerPC 440

2010-07-25 Thread kostas padarnitsas
Hello, I have ported Linux 2.6 to PowerPC 440. Could you tell me how it is possible to access the timebase register (TBU, TBL) from user space (in Linux) because I want to measure the time of an application that runs in Linux? Thank you in advance, Kostas __

RE: [PATCH 0/6] refactor spi_mpc8xxx.c and add eSPI controller support

2010-07-25 Thread Hu Mingkai-B21284
> -Original Message- > From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of > Grant Likely > Sent: Monday, July 26, 2010 8:36 AM > To: Hu Mingkai-B21284 > Cc: linuxppc-...@ozlabs.org; ga...@kernel.crashing.org; Zang > Roy-R61911 > Subject: Re: [PATCH 0/6] refactor spi_mpc8xxx.

RE: [PATCH 1/6] spi/mpc8xxx: refactor the common code for SPI/eSPI controller

2010-07-25 Thread Hu Mingkai-B21284
> -Original Message- > From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of > Grant Likely > Sent: Monday, July 26, 2010 8:14 AM > To: Hu Mingkai-B21284; "@angua.secretlab.ca"@angua.secretlab.ca > Cc: linuxppc-...@ozlabs.org; ga...@kernel.crashing.org; Zang > Roy-R61911 > Subj

Re: [PATCH 1/6] spi/mpc8xxx: refactor the common code for SPI/eSPI controller

2010-07-25 Thread Grant Likely
On Mon, Jul 26, 2010 at 12:18 AM, Hu Mingkai-B21284 wrote: > > >> -Original Message- >> From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of >> Grant Likely >> Sent: Monday, July 26, 2010 8:14 AM >> To: Hu Mingkai-B21284; "@angua.secretlab.ca"@angua.secretlab.ca >> Cc: linuxppc-..