From mboxrd@z Thu Jan 1 00:00:00 1970 From: s.hauer@pengutronix.de (Sascha Hauer) Date: Wed, 9 Sep 2015 07:47:34 +0200 Subject: [PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller In-Reply-To: <1441705796-11365-2-git-send-email-bayi.cheng@mediatek.com> References: <1441705796-11365-1-git-send-email-bayi.cheng@mediatek.com> <1441705796-11365-2-git-send-email-bayi.cheng@mediatek.com> Message-ID: <20150909054734.GC18700@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Sep 08, 2015 at 05:49:54PM +0800, Bayi Cheng wrote: > Add device tree binding documentation for serial flash with > Mediatek serial flash controller > > Signed-off-by: Bayi Cheng > --- > Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 +++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/mtk_nor.txt > > diff --git a/Documentation/devicetree/bindings/mtd/mtk_nor.txt b/Documentation/devicetree/bindings/mtd/mtk_nor.txt > new file mode 100644 > index 0000000..0eca0cd > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/mtk_nor.txt > @@ -0,0 +1,25 @@ > +* MTD SPI nor driver for MTK MT81xx (and similar) serial flash controller > + > +MTK MT81xx serial flash controller is designed for serial Flash device. > +It supports one Flash device with signal mode, dual mode and quad mode. > + > +Required properties: > +- compatible: should be "mediatek,mt8173-nor"; > +- reg: physical base address and length of the controller's register > +- clocks: spi nor source clock > +- clock-names: "spi_clk", "axi_clk", "mux_clk", "sf_clk" Drop the _clk suffix. It's the clock-names property which already makes it clear that these are clock names. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |