From patchwork Tue Jul 12 10:02:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9224943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1AAC360871 for ; Tue, 12 Jul 2016 10:02:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AA0327CF9 for ; Tue, 12 Jul 2016 10:02:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3A0C27F89; Tue, 12 Jul 2016 10:02:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD38F27CF9 for ; Tue, 12 Jul 2016 10:02:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752456AbcGLKCq (ORCPT ); Tue, 12 Jul 2016 06:02:46 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:53061 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753706AbcGLKCf (ORCPT ); Tue, 12 Jul 2016 06:02:35 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OA700CNJ582UK60@mailout1.samsung.com>; Tue, 12 Jul 2016 19:02:26 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.113]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 10.E5.05174.130C4875; Tue, 12 Jul 2016 19:02:26 +0900 (KST) X-AuditID: cbfee68d-f79876d000001436-8b-5784c031d30a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id DF.8C.02101.130C4875; Tue, 12 Jul 2016 19:02:25 +0900 (KST) Received: from samsunx.samsung ([10.113.63.54]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OA7009HH57YEU50@mmp2.samsung.com>; Tue, 12 Jul 2016 19:02:25 +0900 (KST) From: Andi Shyti To: Rob Herring , Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , Mark Brown , Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd Cc: Chanwoo Choi , Jaehoon Chung , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org, Andi Shyti , Andi Shyti Subject: [PATCH v3 2/7] bindings: spi-samsung: document the clocks and the clock-name property Date: Tue, 12 Jul 2016 19:02:11 +0900 Message-id: <1468317736-18841-3-git-send-email-andi.shyti@samsung.com> X-Mailer: git-send-email 2.8.1 In-reply-to: <1468317736-18841-1-git-send-email-andi.shyti@samsung.com> References: <1468317736-18841-1-git-send-email-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKIsWRmVeSWpSXmKPExsWyRsSkUNfoQEu4wZsKi+1HnrFaLP7xnMli 6sMnbBbXvzxntZh/5ByrxY1fbawWr18YWvQ/fs1ssenxNVaLjz33WC1mnN/HZNH48Sa7xdLr F5ksLp5ytWjde4Td4vCbdlaLH2e6WSxW7frD6CDksWbeGkaP9zda2T0u9/UyeVxf8onZY+es u+wem1Z1snlsXlLv0bdlFaPH501yAZxRXDYpqTmZZalF+nYJXBmfvkxhKXjGXXFj1T/mBs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I+Mkp8fviQCaSKTUBToun2D7CEiMAzJokPDa8ZQRxmge1MEseermUFqRIWSJCYMfcE I4jNIqAqceLvBRYQm1fATWJx8zNWiH1yEpenP2ADsTkF3CUmt64E2yAEVDPv9Q7WCYy8CxgZ VjFKpBYkFxQnpeca5qWW6xUn5haX5qXrJefnbmIER/gzqR2MB3e5H2IU4GBU4uFdUNISLsSa WFZcmXuIUYKDWUmE98peoBBvSmJlVWpRfnxRaU5q8SFGU6DDJjJLiSbnA5NPXkm8obGJmZGl kbmhhZGxuZI47+P/68KEBNITS1KzU1MLUotg+pg4OKUaGCvMEz+6Vh13qLjIPdfirZCLt/1P lX9f9/UqG1ycWfDxxOklfd93Kove+unZcHwx41vlJw8r+N6k/v5mcnOVQ6xnT8y7SZ951n9k l3hRs/9M/dqHcR1Mi1p3OP/R3Hzh552ls/8fk6tQ/PvtWty7txbhF3xy7u75V+sjYiS44kRp tP5d1+ilQp5KLMUZiYZazEXFiQBNWh66BgMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These two properties were not documented but used in the spi dts. Add the related documentation. Suggested-by: Krzysztof Kozlowski Signed-off-by: Andi Shyti Reviewed-by: Michael Turquette Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/spi/spi-samsung.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt index 57d5539..f45c6eb 100644 --- a/Documentation/devicetree/bindings/spi/spi-samsung.txt +++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt @@ -24,6 +24,15 @@ Required SoC Specific Properties: - dma-names: Names for the dma channels. There must be at least one channel named "tx" for transmit and named "rx" for receive. +- clocks: specifies the clock IDs provided to the SPI controller; they are + required for interacting with the controller itself, for synchronizing the bus + and as I/O clock (the latter is required by exynos5433 and exynos7). + +- clock-names: string names of the clocks in the 'clocks' property; for all the + the devices the names must be "spi", "spi_busclkN" (where N is determined by + "samsung,spi-src-clk"), while Exynos5433 should specify a third clock + "spi_ioclk" for the I/O clock. + Required Board Specific Properties: - #address-cells: should be 1.