On Wed, May 20, 2015 at 01:21:53PM +0200, Javier Martinez Canillas wrote: > The ChromeOS user-space just uses flashrom to send a raw stream of bytes > via spidev to the SPI NOR flash chip. There is drivers/mtd/spi-nor/spi-nor.c > but AFAIU there are some limitations when interfacing the flash through > the MTD layer, for example there isn't a way to set the SPI flash write > protection through MTD. But I'll do some investigation before re-spinning > the patches.
OK, that's a bit concerning - perhaps what's needed here is to extend
MTD and so on (if only to find some way for it to coexist with spidev
for the time being)?
> BTW, the other "rohm,dh2228fv" compatible string in spidev added by commit
> 8fad805bdc52 ("spi: spidev: Add Rohm DH2228FV DAC compatible string"), also
> does not have a documented DT binding so that should be fixed as well.
wv :)
signature.asc
Description: Digital signature

