[PATCH] Documentation: dt: mtd: replace "nor-jedec" binding with "jedec, spi-nor"

Rafał Miłecki zajec5 at gmail.com
Tue May 19 00:27:50 PDT 2015


On 19 May 2015 at 03:34, Brian Norris <computersforpeace at gmail.com> wrote:
> So how about the following patch? It seems like we'll need to be able to
> ignore useless 'modalias' values in cases like this:
>
>         // modalias = "shinynewdevice"
>         compatible = "myvendor,shinynewdevice", "jedec,spi-nor";
>
> and also if somebody leaves off the entire shinynewdevice string:
>
>         // modalias = "spi-nor"
>         compatible = "jedec,spi-nor";
>
> So we rework the spi-nor library to not reject "bad" names, and just
> fall back to autodetection, and we add the .of_match_table to properly
> catch all "jedec,spi-nor".

That's nice but what about platforms using platform data instead of
DT? I would like to use some kind of "spi-nor" (with some prefix
*maybe*) for them too.



More information about the linux-mtd mailing list