From patchwork Fri Jul 11 09:11:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4531981 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 41CDFBEEAA for ; Fri, 11 Jul 2014 09:14:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 692352020F for ; Fri, 11 Jul 2014 09:14:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B01E20204 for ; Fri, 11 Jul 2014 09:14:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752189AbaGKJO5 (ORCPT ); Fri, 11 Jul 2014 05:14:57 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:60084 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402AbaGKJOz (ORCPT ); Fri, 11 Jul 2014 05:14:55 -0400 Received: by mail-pd0-f169.google.com with SMTP id ft15so1091679pdb.0 for ; Fri, 11 Jul 2014 02:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=px5wLShzwd2ckHEZoNZD3J2tLvIO1GGBOO3m13uE2NU=; b=R+WvX781iLMKcUiXoIYPDo1++MYLZ4DJ1SXHEnck2FMGMy7Q8f4wrDdZhybS+m1H/0 E6N9XPXT3tKnAmokNcBIncsQwCIULPPQcoCm8LZac7UMsKZuMvg18fUE26s86rUhdSXY IwA4h9++ncdcLPphWkpJKrKL7hBgw5et+1W42FLU22BlHO7gcqWQrZIWJALleg2G8fBi iRJzads5Mhg2oWngADaAbeGOYpLeVc+0xwFc2fWwj2uUoejBZF6wj4cJaLKGru4/eMXU 1dcfD1GDLGREdxidIL0RriQHinGDxbyKBBDNRU7xz5slnlERxNTqmKUuSQyo0J8uR+zw Spmg== X-Received: by 10.70.43.227 with SMTP id z3mr22790764pdl.77.1405070092693; Fri, 11 Jul 2014 02:14:52 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id a5sm2258050pdo.1.2014.07.11.02.14.49 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 02:14:51 -0700 (PDT) From: Sachin Kamat To: linux-spi@vger.kernel.org Cc: devicetree@vger.kernel.org, broonie@kernel.org, spk.linux@gmail.com Subject: [PATCH 1/1] spi: samsung: Update binding documentation Date: Fri, 11 Jul 2014 14:41:03 +0530 Message-Id: <1405069863-17723-1-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Samsung SPI driver uses generic DMA bindings. Update the documentation accordingly. Signed-off-by: Sachin Kamat --- .../devicetree/bindings/spi/spi-samsung.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt index fe6f9037b561..7f2d88d3fbe7 100644 --- a/Documentation/devicetree/bindings/spi/spi-samsung.txt +++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt @@ -17,14 +17,11 @@ Required SoC Specific Properties: - interrupts: The interrupt number to the cpu. The interrupt specifier format depends on the interrupt controller. -[PRELIMINARY: the dma channel allocation will change once there are -official DMA bindings] +- dmas : Two or more DMA channel specifiers following the convention outlined + in bindings/dma/dma.txt -- tx-dma-channel: The dma channel specifier for tx operations. The format of - the dma specifier depends on the dma controller. - -- rx-dma-channel: The dma channel specifier for rx operations. The format of - the dma specifier depends on the dma controller. +- dma-names: Names for the dma channels. There must be at least one channel + named "tx" for transmit and named "rx" for receive. Required Board Specific Properties: @@ -73,8 +70,11 @@ Example: compatible = "samsung,exynos4210-spi"; reg = <0x12d20000 0x100>; interrupts = <0 66 0>; - tx-dma-channel = <&pdma0 5>; - rx-dma-channel = <&pdma0 4>; + dmas = <&pdma0 5 + &pdma0 4>; + dma-names = "tx", "rx"; + #address-cells = <1>; + #size-cells = <0>; }; - Board Specific Portion: