[RFC] New SPI based Serial Flash Controller driver

Lee Jones lee.jones at linaro.org
Mon Nov 11 08:48:58 EST 2013


Hi,

I'm in the process of porting a BSP SPI based Serial Flash Controller
to the latest kernel version with a view to pushing it upstream.

Historically, this driver was based on some basic functionality
pilfered from the m25p80 driver (mainly the device look-up-table and
thelike), but since then has forked into a fully functional driver in
its own right - due to lack of Dual and Quad Mode support in
Mainline. I am under the impression that support for these modes are
due to land shortly, or the patches are at least on the MLs.

The current theory is that we can start to utilise some of the m25p80
driver, which would alleviate a great deal of duplication by our own
driver. We would still be required to add a smallish driver to
intercept the messages to ensure they are written to the controller in
the correct manor.

Can you tell me if there are any other controllers which work in this
way? If there are can you point me to them please? If not, tell me I'm
spouting nonsense and feel free to advice me on the correct method
that these kinds of things should be handled.

Any help will be gratefully received.

Kind regards,
Lee

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog



More information about the linux-mtd mailing list