From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 1/4] devicetree: add binding documentation for the AR7100 SPI controller Date: Fri, 24 Apr 2015 20:37:38 +0300 Message-ID: <553A7F62.80108@cogentembedded.com> References: <1429885164-28501-1-git-send-email-albeu@free.fr> <1429885164-28501-2-git-send-email-albeu@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Ralf Baechle , Mark Brown , Gabor Juhos , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org To: Alban Bedel , linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: In-Reply-To: <1429885164-28501-2-git-send-email-albeu-GANU6spQydw@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hello. On 04/24/2015 05:19 PM, Alban Bedel wrote: > Signed-off-by: Alban Bedel > --- > .../devicetree/bindings/spi/spi-ath79.txt | 24 ++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-ath79.txt > diff --git a/Documentation/devicetree/bindings/spi/spi-ath79.txt b/Documentation/devicetree/bindings/spi/spi-ath79.txt > new file mode 100644 > index 0000000..f1ad9c3 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-ath79.txt > @@ -0,0 +1,24 @@ > +Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller > + > +Required properties: > +- compatible: has to be "qca,-spi", "qca,ar7100-spi" as fallback. > +- reg: Base address and size of the controllers memory area > +- clocks: phandle to the AHB clock. s/to/of/? > +- clock-names: has to be "ahb". > +- #address-cells: <1>, as required by generic SPI binding. > +- #size-cells: <0>, also as required by generic SPI binding. > + > +Child nodes as per the generic SPI binding. > + > +Example: > + > + spi@1F000000 { All lowercase, please. > + compatible = "qca,ar9132-spi", "qca,ar7100-spi"; > + reg = <0x1F000000 0x10>; Likewise. [...] WBR, Sergei -- 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