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: 9224969 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 F01FA60868 for ; Tue, 12 Jul 2016 10:04:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF89D27C38 for ; Tue, 12 Jul 2016 10:04:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D425D27F7A; Tue, 12 Jul 2016 10:04:41 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E155F27C38 for ; Tue, 12 Jul 2016 10:04:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMuXE-00056z-J2; Tue, 12 Jul 2016 10:03:24 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMuWh-0004rb-4T for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2016 10:02:51 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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/mBsa/ nF2MnBwSAiYSZ1euZYew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CEiMAzJokPDa8ZQRxmge1MEseermUFqRIWSJCYMfcE 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160712_030251_342994_627F43DC X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Andi Shyti , linux-spi@vger.kernel.org, Jaehoon Chung , Chanwoo Choi , Andi Shyti , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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.