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: 3423001 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 BBC0F9F295 for ; Wed, 1 Jan 2014 06:10:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1825200DC for ; Wed, 1 Jan 2014 06:10:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BB9C200E3 for ; Wed, 1 Jan 2014 06:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752891AbaAAGKq (ORCPT ); Wed, 1 Jan 2014 01:10:46 -0500 Received: from fallback4.mail.ru ([94.100.176.42]:35976 "EHLO fallback4.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844AbaAAGKq (ORCPT ); Wed, 1 Jan 2014 01:10:46 -0500 Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) by fallback4.mail.ru (mPOP.Fallback_MX) with ESMTP id 7758814198D; Wed, 1 Jan 2014 10:10:41 +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=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 Cc: Mark Brown , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Alexander Shiyan 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-Spam-Status: No, score=-6.9 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. 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>; + };