Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-29 Thread Lee Jones
> thanks for your explanations. > >Most controllers just take an OPCODE and pass it on to the controller > >and have done with it. The issue that you're attempting to rectify is > >that the m25p80 expects every controller to be an SPI controller > >registered to the SPI framework, but as we both

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-29 Thread Huang Shijie
Hi Jones & Augus: thanks for your explanations. Most controllers just take an OPCODE and pass it on to the controller and have done with it. The issue that you're attempting to rectify is that the m25p80 expects every controller to be an SPI controller registered to the SPI framework, but as we

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-29 Thread Huang Shijie
Hi Jones Augus: thanks for your explanations. Most controllers just take an OPCODE and pass it on to the controller and have done with it. The issue that you're attempting to rectify is that the m25p80 expects every controller to be an SPI controller registered to the SPI framework, but as we

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-29 Thread Lee Jones
thanks for your explanations. Most controllers just take an OPCODE and pass it on to the controller and have done with it. The issue that you're attempting to rectify is that the m25p80 expects every controller to be an SPI controller registered to the SPI framework, but as we both know

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-28 Thread Angus Clark
Hi Huang Shijie, On 11/28/2013 03:34 AM, Huang Shijie wrote: > 于 2013年11月27日 19:52, Lee Jones 写道: >> However, as we send entire 'message sequences' to the FSM Controller >> as opposed to merely OPCODEs we would have to extract the OPCODE from >> flash->command[0] and call our own functions to

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-28 Thread Lee Jones
> >However, as we send entire 'message sequences' to the FSM Controller > >as opposed to merely OPCODEs we would have to extract the OPCODE from > >flash->command[0] and call our own functions to craft the correct > >'message sequence' for the task. For this reason we rejected the idea > >and went

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-28 Thread Lee Jones
However, as we send entire 'message sequences' to the FSM Controller as opposed to merely OPCODEs we would have to extract the OPCODE from flash-command[0] and call our own functions to craft the correct 'message sequence' for the task. For this reason we rejected the idea and went with a

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-28 Thread Angus Clark
Hi Huang Shijie, On 11/28/2013 03:34 AM, Huang Shijie wrote: 于 2013年11月27日 19:52, Lee Jones 写道: However, as we send entire 'message sequences' to the FSM Controller as opposed to merely OPCODEs we would have to extract the OPCODE from flash-command[0] and call our own functions to craft the

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Huang Shijie
于 2013年11月27日 19:52, Lee Jones 写道: However, as we send entire 'message sequences' to the FSM Controller as opposed to merely OPCODEs we would have to extract the OPCODE from flash->command[0] and call our own functions to craft the correct 'message sequence' for the task. For this reason we

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Lee Jones
> There seem to be multiple efforts going on that are vaguely related. I'd > like to see more of the same people appearing on the CC list, to keep > better coordinated. > > On that topic, is the SPI dev list relevant, or would anybody working on > the intersection of SPI and MTD be on the MTD

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Lee Jones
There seem to be multiple efforts going on that are vaguely related. I'd like to see more of the same people appearing on the CC list, to keep better coordinated. On that topic, is the SPI dev list relevant, or would anybody working on the intersection of SPI and MTD be on the MTD list? I

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Huang Shijie
于 2013年11月27日 19:52, Lee Jones 写道: However, as we send entire 'message sequences' to the FSM Controller as opposed to merely OPCODEs we would have to extract the OPCODE from flash-command[0] and call our own functions to craft the correct 'message sequence' for the task. For this reason we

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-26 Thread Brian Norris
+ Huang, Mark, SPI list There seem to be multiple efforts going on that are vaguely related. I'd like to see more of the same people appearing on the CC list, to keep better coordinated. On that topic, is the SPI dev list relevant, or would anybody working on the intersection of SPI and MTD be

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-26 Thread Brian Norris
+ Huang, Mark, SPI list There seem to be multiple efforts going on that are vaguely related. I'd like to see more of the same people appearing on the CC list, to keep better coordinated. On that topic, is the SPI dev list relevant, or would anybody working on the intersection of SPI and MTD be

[PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-22 Thread Lee Jones
The first bunch of these patches have been on the MLs before, but didn't receive a great deal of attention for the most part. We are a little more featureful this time however. We can now successfully setup and configure the N25Q256. We still can't read/write/erase it though. I'll start work on

[PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-22 Thread Lee Jones
The first bunch of these patches have been on the MLs before, but didn't receive a great deal of attention for the most part. We are a little more featureful this time however. We can now successfully setup and configure the N25Q256. We still can't read/write/erase it though. I'll start work on