* [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver @ 2014-09-20 7:05 Alexander Shiyan [not found] ` <1411196736-5019-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Alexander Shiyan @ 2014-09-20 7:05 UTC (permalink / raw) To: linux-spi-u79uwXL29TY76Z2rM5mHXA Cc: Mark Brown, devicetree-u79uwXL29TY76Z2rM5mHXA, Alexander Shiyan This patch adds the devicetree documentation for the Cirrus Logic CLPS711X SPI driver. Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org> --- .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txt diff --git a/Documentation/devicetree/bindings/spi/spi-clps711x.txt b/Documentation/devicetree/bindings/spi/spi-clps711x.txt new file mode 100644 index 0000000..43712c0 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt @@ -0,0 +1,20 @@ +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) + +Required properties: +- compatible: Shall contain "cirrus,clps711x-spi". +- reg: Offset and length of the register set for the device. +- interrupts: Should contain SPI interrupt. +- clocks: phandle to SPI reference clock. +- cs-gpios: Specifies the GPIO pins to be used for chipselects. + +Example: + spi: spi@80000500 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cirrus,ep7312-spi", "cirrus,clps711x-spi"; + reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks CLPS711X_CLK_SPIREF>; + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, + <&portb 5 GPIO_ACTIVE_LOW>; + }; -- 1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1411196736-5019-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org>]
* Re: [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver [not found] ` <1411196736-5019-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org> @ 2014-09-22 18:08 ` Mark Rutland 2014-09-23 16:49 ` Alexander Shiyan 0 siblings, 1 reply; 3+ messages in thread From: Mark Rutland @ 2014-09-22 18:08 UTC (permalink / raw) To: Alexander Shiyan Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown, devicetree-u79uwXL29TY76Z2rM5mHXA On Sat, Sep 20, 2014 at 08:05:36AM +0100, Alexander Shiyan wrote: > This patch adds the devicetree documentation for the > Cirrus Logic CLPS711X SPI driver. > > Signed-off-by: Alexander Shiyan <shc_work-JGs/UdohzUI@public.gmane.org> > --- > .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txt > > diff --git a/Documentation/devicetree/bindings/spi/spi-clps711x.txt b/Documentation/devicetree/bindings/spi/spi-clps711x.txt > new file mode 100644 > index 0000000..43712c0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt > @@ -0,0 +1,20 @@ > +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) > + > +Required properties: > +- compatible: Shall contain "cirrus,clps711x-spi". Is there a specific "clps11x" device, or is that 'x' a wildcard? Please don't use wildcards in bindings. Choose a particular device as the fallback string to use. > +- reg: Offset and length of the register set for the device. > +- interrupts: Should contain SPI interrupt. > +- clocks: phandle to SPI reference clock. > +- cs-gpios: Specifies the GPIO pins to be used for chipselects. > + > +Example: > + spi: spi@80000500 { > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "cirrus,ep7312-spi", "cirrus,clps711x-spi"; Which other strings are compatible? Thanks, Mark. > + reg = <0x80000500 0x4>; > + interrupts = <15>; > + clocks = <&clks CLPS711X_CLK_SPIREF>; > + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, > + <&portb 5 GPIO_ACTIVE_LOW>; > + }; > -- > 1.8.5.5 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver 2014-09-22 18:08 ` Mark Rutland @ 2014-09-23 16:49 ` Alexander Shiyan 0 siblings, 0 replies; 3+ messages in thread From: Alexander Shiyan @ 2014-09-23 16:49 UTC (permalink / raw) To: Mark Rutland Cc: linux-spi@vger.kernel.org, Mark Brown, devicetree@vger.kernel.org, Arnd Bergmann +CC: Arnd Bergmann Mon, 22 Sep 2014 19:08:52 +0100 от Mark Rutland <mark.rutland@arm.com>: > On Sat, Sep 20, 2014 at 08:05:36AM +0100, Alexander Shiyan wrote: > > This patch adds the devicetree documentation for the > > Cirrus Logic CLPS711X SPI driver. > > > > Signed-off-by: Alexander Shiyan <shc_work@mail.ru> > > --- > > .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ > > 1 file changed, 20 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txt > > > > diff --git a/Documentation/devicetree/bindings/spi/spi-clps711x.txt b/Documentation/devicetree/bindings/spi/spi-clps711x.txt > > new file mode 100644 > > index 0000000..43712c0 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt > > @@ -0,0 +1,20 @@ > > +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) > > + > > +Required properties: > > +- compatible: Shall contain "cirrus,clps711x-spi". > > Is there a specific "clps11x" device, or is that 'x' a wildcard? > > Please don't use wildcards in bindings. Choose a particular device as > the fallback string to use. We have agreed to use such compatible string format for this platform. http://www.spinics.net/lists/linux-pwm/msg00958.html All CLPS711X-drivers use this format. --- ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-23 16:49 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-09-20 7:05 [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver Alexander Shiyan [not found] ` <1411196736-5019-1-git-send-email-shc_work-JGs/UdohzUI@public.gmane.org> 2014-09-22 18:08 ` Mark Rutland 2014-09-23 16:49 ` Alexander Shiyan
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.