Re: DT GPMC SRAM and NOR flash support ?

2013-03-01 Thread Ezequiel Garcia
Hi Jon, Yet more questions :-) See below... On Wed, Feb 13, 2013 at 7:07 PM, Jon Hunter jon-hun...@ti.com wrote: You don't need this extra entry if you add simple-bus to the gpmc node compatible string. + gpmc: gpmc@6800a000 { + compatible =

Re: DT GPMC SRAM and NOR flash support ?

2013-03-01 Thread Ezequiel Garcia
On Fri, Mar 1, 2013 at 6:08 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Jon, Yet more questions :-) See below... On Wed, Feb 13, 2013 at 7:07 PM, Jon Hunter jon-hun...@ti.com wrote: You don't need this extra entry if you add simple-bus to the gpmc node compatible string. +

Re: DT GPMC SRAM and NOR flash support ?

2013-03-01 Thread Jon Hunter
On 03/01/2013 03:42 PM, Ezequiel Garcia wrote: On Fri, Mar 1, 2013 at 6:08 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Hi Jon, Yet more questions :-) See below... On Wed, Feb 13, 2013 at 7:07 PM, Jon Hunter jon-hun...@ti.com wrote: You don't need this extra entry if you add

Re: DT GPMC SRAM and NOR flash support ?

2013-02-14 Thread Ezequiel Garcia
Hi Jon, I'm working on a similar memory controller for plat-orion. I have a few questions about your approach. On Wed, Feb 13, 2013 at 03:07:06PM -0600, Jon Hunter wrote: On 02/07/2013 03:51 AM, Mark Jackson wrote: Okay ... I have made some progress, but it's not ideal. Currently I've

Re: DT GPMC SRAM and NOR flash support ?

2013-02-14 Thread Jon Hunter
On 02/14/2013 04:18 AM, Ezequiel Garcia wrote: Hi Jon, I'm working on a similar memory controller for plat-orion. I have a few questions about your approach. On Wed, Feb 13, 2013 at 03:07:06PM -0600, Jon Hunter wrote: On 02/07/2013 03:51 AM, Mark Jackson wrote: Okay ... I have made

Re: DT GPMC SRAM and NOR flash support ?

2013-02-13 Thread Jon Hunter
On 02/07/2013 03:51 AM, Mark Jackson wrote: Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip selects and timings for NOR devices, e.g. gpmc: gpmc@5000 {

Re: DT GPMC SRAM and NOR flash support ?

2013-02-12 Thread Ezequiel Garcia
Hi Jon On Mon, Feb 11, 2013 at 7:21 PM, Jon Hunter jon-hun...@ti.com wrote: This is being call from the mach-omap2/board-generic.c file on boot. Where are you suggesting this is called from? I was suggesting this could be called in gpmc_probe_dt() in gpmc.c. Instead of using

Re: DT GPMC SRAM and NOR flash support ?

2013-02-11 Thread Jon Hunter
On 02/09/2013 07:27 AM, Ezequiel Garcia wrote: Hi Mark, On Thu, Feb 7, 2013 at 6:51 AM, Mark Jackson mpfj-l...@mimc.co.uk wrote: Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip

Re: DT GPMC SRAM and NOR flash support ?

2013-02-09 Thread Ezequiel Garcia
Hi Mark, On Thu, Feb 7, 2013 at 6:51 AM, Mark Jackson mpfj-l...@mimc.co.uk wrote: Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip selects and timings for NOR devices, e.g.

Re: DT GPMC SRAM and NOR flash support ?

2013-02-08 Thread Jon Hunter
On 02/07/2013 03:51 AM, Mark Jackson wrote: Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip selects and timings for NOR devices, e.g. gpmc: gpmc@5000 {

Re: DT GPMC SRAM and NOR flash support ?

2013-02-07 Thread Mark Jackson
Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip selects and timings for NOR devices, e.g. gpmc: gpmc@5000 { status = okay;

Re: DT GPMC SRAM and NOR flash support ?

2013-02-07 Thread Mark Jackson
On 07/02/13 09:51, Mark Jackson wrote: Okay ... I have made some progress, but it's not ideal. snip But the physmap driver (of_flash_probe()) is unable to use this information. It seems that although I can call of_flash_probe() from my NOR setup code, the platform_device being reference

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Mark Jackson
On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What board and device are you working that is using

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Jon Hunter
On 02/05/2013 10:16 AM, Mark Jackson wrote: On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Mark Jackson
On 05/02/13 16:35, Jon Hunter wrote: On 02/05/2013 10:16 AM, Mark Jackson wrote: On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Jon Hunter
On 02/05/2013 10:48 AM, Mark Jackson wrote: On 05/02/13 16:35, Jon Hunter wrote: On 02/05/2013 10:16 AM, Mark Jackson wrote: On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going

RE: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Mohammed, Afzal
Hi Jon, On Tue, Feb 05, 2013 at 22:05:20, Hunter, Jon wrote: On 02/05/2013 10:16 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? If you'd anything in the pipeline, I'm glad to help in any testing. I've

DT GPMC SRAM and NOR flash support ?

2013-02-01 Thread Mark Jackson
There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? And how about SRAM chips or other memory mapped devices ? Regards Mark J. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: DT GPMC SRAM and NOR flash support ?

2013-02-01 Thread Jon Hunter
Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What board and device are you working that is using NOR? I have a OMAP2420 H4 with NOR that I have been doing a bit of maintenance

Re: DT GPMC SRAM and NOR flash support ?

2013-02-01 Thread Mark Jackson
On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What board and device are you working that is using NOR? I have a OMAP2420 H4 with NOR that I