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: 391465 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 73B9B1400EA for ; Sat, 20 Sep 2014 17:05:47 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750815AbaITHFo (ORCPT ); Sat, 20 Sep 2014 03:05:44 -0400 Received: from smtp17.mail.ru ([94.100.176.154]:60991 "EHLO smtp17.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750751AbaITHFn (ORCPT ); Sat, 20 Sep 2014 03:05:43 -0400 X-Greylist: delayed 84329 seconds by postgrey-1.27 at vger.kernel.org; Sat, 20 Sep 2014 03:05:43 EDT 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: Not detected X-Mras: Ok Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + };