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

Marek Vasut marex at denx.de
Tue Jun 26 07:47:01 EDT 2012


Dear Shawn Guo,

> On Mon, Jun 25, 2012 at 06:50:10PM +0200, Marek Vasut wrote:
> > 116                         ssp2: ssp at 80014000 {
> > 117                                 #address-cells = <1>;
> > 118                                 #size-cells = <0>;
> > 119                                 compatible = "fsl,imx28-spi";
> > 120                                 pinctrl-names = "default";
> > 121                                 pinctrl-0 = <&spi2_pins_a>;
> > 122                                 status = "okay";
> > 123
> > 124                                 flash: m25p80 at 0 {
> > 125                                         #address-cells = <1>;
> > 126                                         #size-cells = <1>;
> > 127                                         compatible = "m25p80";
> > 128                                         spi-max-frequency =
> > <25000000>; 129                                         reg = <0>;
> > 130                                 };
> > 131                         };
> > 
> > I use this + my SPI patches I submitted recently.
> 
> I do not have the flash on my imx28-evk board, but I just tested on
> imx6q-sabrelite, and yes, it can be probed without the patch.  I'm
> fine then.

Good, let's discard this patch and close this issue :-)

Best regards,
Marek Vasut



More information about the linux-mtd mailing list