On Fri, Jan 15, 2016 at 05:13:55PM +0800, Jiancheng Xue wrote: > add hisilicon spi-nor flash controller driver > > Signed-off-by: Binquan Peng <pengbinquan@xxxxxxxxxx> > Signed-off-by: Jiancheng Xue <xuejiancheng@xxxxxxxxxx> > --- > change log > v3: > Added a compatible string "hisilicon,hi3519-sfc". > v2: > Fixed some compiling warings. > > .../devicetree/bindings/spi/spi-hisi-sfc.txt | 26 ++ > drivers/mtd/spi-nor/Kconfig | 6 + > drivers/mtd/spi-nor/Makefile | 1 + > drivers/mtd/spi-nor/hisi-sfc.c | 499 +++++++++++++++++++++ > 4 files changed, 532 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt > create mode 100644 drivers/mtd/spi-nor/hisi-sfc.c > > diff --git a/Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt b/Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt > new file mode 100644 > index 0000000..f7d6e22 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-hisi-sfc.txt > @@ -0,0 +1,26 @@ > +HiSilicon SPI-NOR Flash Controller > + > +Required properties: > +- compatible : Should be one of > + "hisilicon,hisi-sfc" > + "hisilicon,hi3519-sfc" This should be both. One is generic and one is specific to an SOC. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html