From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 1/5] dt-bindings: spi/spi-pxa2xx: add PXA2xx SSP SPI Controller Date: Sun, 16 Sep 2018 22:00:14 -0500 Message-ID: <5b9f3f71.1c69fb81.46bcf.b351@mx.google.com> References: <20180910115935.163121-1-lkundrak@v3.sk> <20180910115935.163121-2-lkundrak@v3.sk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20180910115935.163121-2-lkundrak@v3.sk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Lubomir Rintel Cc: Mark Rutland , devicetree@vger.kernel.org, Eric Miao , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Haojian Zhuang , linux-spi@vger.kernel.org, Mark Brown , Daniel Mack , Bjorn Helgaas , Robert Jarzmik , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org On Mon, Sep 10, 2018 at 01:59:31PM +0200, Lubomir Rintel wrote: > This is the SPI controller found on Marvel MMP2 and perhaps more > platforms. > > Signed-off-by: Lubomir Rintel > --- > .../devicetree/bindings/spi/spi-pxa2xx.txt | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-pxa2xx.txt > > diff --git a/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt > new file mode 100644 > index 000000000000..75be87cf9909 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-pxa2xx.txt > @@ -0,0 +1,24 @@ > +PXA2xx SSP SPI Controller > + > +Required properties: > +- compatible: Must be "marvell,mmp2-ssp". > +- reg: Offset and length of the device's register set. > +- interrupts: Should be the interrupt number. > +- clocks: Should contain a single entry describing the clock input. > +- #address-cells: Number of cells required to define a chip select address. > +- #size-cells: Should be zero. > + > +Optional properties: > +- cs-gpios: list of GPIO chip selects. See the SPI bus bindings, > + Documentation/devicetree/bindings/spi/spi-bus.txt > + > +Child nodes represent devices on the SPI bus > + See ../spi/spi-bus.txt > + > +Example: > + ssp1: ssp@d4035000 { spi@... Otherwise, Reviewed-by: Rob Herring > + compatible = "marvell,mmp2-ssp"; > + reg = <0xd4035000 0x1000>; > + clocks = <&soc_clocks MMP2_CLK_SSP0>; > + interrupts = <0>; > + }; > -- > 2.17.1 >