[PATCH] mtd/m25p80: add device tree probe support

Marek Vasut marex at denx.de
Fri Jun 22 22:15:18 EDT 2012


Dear Grant Likely,

> On Thu, Jul 28, 2011 at 09:22:59PM +0200, manu wrote:
> > Dear Grant, Shawn,
> > I don't this patch is required as m25p** serial flashes are
> > supported already with generic OF/SPI and OF/MTD schemes.
> > I have successfully used it myself on an unmodified 2.6.36.3 vanilla
> > kernel on a xilinx/powerpc platform with a m25p32 part from STM.
> > You will find attached the corresponding working defconfig + dts
> > files (appart from partitions which I didn't managed to configure
> > properly...).
> > Best Regards,
> > 
> > Manuel
> 
> There is a heuristic which allows spi and i2c devices to get bound
> without a match table, which is why it works for you, but there is no
> guarantee that the heuristic will continue to exist in the long term.
> This is still probably the right thing to do.
> 
> g.

So is there any particular reason why this wasn't applied?

Best regards,
Marek Vasut



More information about the linux-arm-kernel mailing list