Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753338AbdHJUfI (ORCPT ); Thu, 10 Aug 2017 16:35:08 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:32862 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752889AbdHJUfG (ORCPT ); Thu, 10 Aug 2017 16:35:06 -0400 Date: Thu, 10 Aug 2017 15:35:02 -0500 From: Rob Herring To: matthew.gerlach@linux.intel.com Cc: vndao@altera.com, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, mark.rutland@arm.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, davem@davemloft.net, mchehab@kernel.org, linux-fpga@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: mtd: Altera ASMI Parallel II IP Core Message-ID: <20170810203502.5s2evtamkbolluae@rob-hp-laptop> References: <1502043844-3626-1-git-send-email-matthew.gerlach@linux.intel.com> <1502043844-3626-2-git-send-email-matthew.gerlach@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1502043844-3626-2-git-send-email-matthew.gerlach@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1424 Lines: 54 On Sun, Aug 06, 2017 at 11:24:02AM -0700, matthew.gerlach@linux.intel.com wrote: > From: Matthew Gerlach > > Device Tree bindinds for Altera ASMI Parallel II IP Core. s/bindinds/bindings/ > > Signed-off-by: Matthew Gerlach > --- > .../devicetree/bindings/mtd/altera-asmip2.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/altera-asmip2.txt > > diff --git a/Documentation/devicetree/bindings/mtd/altera-asmip2.txt b/Documentation/devicetree/bindings/mtd/altera-asmip2.txt > new file mode 100644 > index 0000000..3380366 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/altera-asmip2.txt > @@ -0,0 +1,22 @@ > +* Altera ASMI Parallel II IP Core > + > +Required properties: > +- compatible : Should be "altr,asmi_parallel2". s/_/-/ > +- reg : A tuple consisting of a physical address and length. > + > +Optional subnodes: > +Subnodes of the Altera ASMI Paralllel II IP Core are spi slave nodes. But this is not a general purpose SPI controller? > +- reg : chip select value > +- label : optional user friendly label > + > +Example: > + > +qspi: spi@a0001000 { > + compatible = "altr,asmi_parallel2"; > + reg = <0xa0001000 0x10>; > + > + flash@0 { This should have a compatible. > + reg = <0>; > + label = "FPGA Image"; > + }; > +}; > -- > 2.7.4 >