From patchwork Sat Sep 20 07:05:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 4940831 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 40CA39F313 for ; Sat, 20 Sep 2014 07:07:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78F1E20200 for ; Sat, 20 Sep 2014 07:07:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A661201F7 for ; Sat, 20 Sep 2014 07:07:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750751AbaITHHV (ORCPT ); Sat, 20 Sep 2014 03:07:21 -0400 Received: from fallback7.mail.ru ([94.100.181.128]:33505 "EHLO fallback7.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbaITHHV (ORCPT ); Sat, 20 Sep 2014 03:07:21 -0400 Received: from smtp17.mail.ru (smtp17.mail.ru [94.100.176.154]) by fallback7.mail.ru (mPOP.Fallback_MX) with ESMTP id 1B4B711459709; Sat, 20 Sep 2014 11:06:02 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=FE3VlXzHzFTRNKnwlyInZFvMucyOQp9ZYAD+awD8Ee8=; b=Lw/m+y8PwQ32CuL596OYLVPXVFFjN3YjE7ZR/BFvqatnYer5Pp9Zr9wlAPTLg1TmjKqLNZRkiVXWNtRP4hMGkuoojT9Ul7kAxDbj9EGEwOo2X2KBA4YWs3M00yluHd3L9Ztw+KCnIy49aEbJawhQnQRDAaj4hoOU8IUafiLjbmA=; Received: from [5.18.98.7] (port=44410 helo=shc.zet) by smtp17.mail.ru with esmtpa (envelope-from ) id 1XVEjl-0002O5-4G; Sat, 20 Sep 2014 11:05:41 +0400 From: Alexander Shiyan To: linux-spi@vger.kernel.org Cc: Mark Brown , devicetree@vger.kernel.org, Alexander Shiyan Subject: [PATCH 3/3] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver Date: Sat, 20 Sep 2014 11:05:36 +0400 Message-Id: <1411196736-5019-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.5.5 X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Mras: Ok Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RDNS_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the devicetree documentation for the Cirrus Logic CLPS711X SPI driver. Signed-off-by: Alexander Shiyan --- .../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>; + };