From patchwork Wed Jan 1 06:10:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3423011 Return-Path: X-Original-To: patchwork-linux-arm@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 A182E9F295 for ; Wed, 1 Jan 2014 06:10:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DC3D4200DC for ; Wed, 1 Jan 2014 06:10:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC459200DB for ; Wed, 1 Jan 2014 06:10:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VyF0w-0007Yd-BE; Wed, 01 Jan 2014 06:10:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VyF0t-0003Rh-2c; Wed, 01 Jan 2014 06:10:43 +0000 Received: from smtp51.i.mail.ru ([94.100.177.111]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VyF0q-0003Qu-Ba for linux-arm-kernel@lists.infradead.org; Wed, 01 Jan 2014 06:10:41 +0000 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=QRxaHb+UDCGR4Rngfm/nYhdlAU4sqsu1aSxzbX5R0g8=; b=C1MlUi+NrpyXSwVIHe8MHHnVhKk8stzJBP19KyV1fMpts6LD22OGuUFbjB6HFlnVniL22FZPW8Gxe9dqn9J2kYNGJbQzfzFW8S4OAkDSXOO/OrXvvAOZOkLN0lg67n352tlTyk/aCM1xuITuzye2vn+7BhTnbcrh6EmLwbpqrc4=; Received: from [188.134.40.128] (port=23264 helo=shc.zet) by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1VyF0R-0001xE-9M; Wed, 01 Jan 2014 10:10:15 +0400 From: Alexander Shiyan To: linux-spi@vger.kernel.org Subject: [PATCH 2/2] spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI Date: Wed, 1 Jan 2014 10:10:09 +0400 Message-Id: <1388556609-11040-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140101_011040_720894_E4882753 X-CRM114-Status: UNSURE ( 7.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: devicetree@vger.kernel.org, Mark Brown , Alexander Shiyan , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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. Signed-off-by: Alexander Shiyan --- .../devicetree/bindings/spi/spi-clps711x.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 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..aa16903 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-clps711x.txt @@ -0,0 +1,22 @@ +* ARM CLPS711X Serial Peripheral Interface (SPI) + +Required properties: +- compatible: Should be "cirrus,clps711x-spi". +- reg: Offset and length of the register set for the device. +- interrupts: Should contain SPI interrupt. +- clocks: Phandle to SPI clock. +- syscon: Phandle to SYSCON node used for SPI control (SYSCON3). +- cs-gpios: Specifies the GPIO pins to be used for chipselects. + +Example: + spi: spi@80000500 { + compatible = "cirrus,clps711x-spi"; + reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks 10>; + syscon = <&syscon3>; + #address-cells = <1>; + #size-cells = <0>; + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, + <&portb 5 GPIO_ACTIVE_LOW>; + };