From patchwork Mon Mar 17 09:19:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3842281 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 65DFA9F369 for ; Mon, 17 Mar 2014 09:22:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F05E20176 for ; Mon, 17 Mar 2014 09:22:15 +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 4AE8F20127 for ; Mon, 17 Mar 2014 09:22:14 +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 1WPTj3-0008NT-SX; Mon, 17 Mar 2014 09:20:54 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPTii-0003rP-Fl; Mon, 17 Mar 2014 09:20:32 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WPTi7-0003n5-Qe for linux-arm-kernel@lists.infradead.org; Mon, 17 Mar 2014 09:19:57 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2K00EXUPWIR610@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 17 Mar 2014 09:19:30 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-3e-5326be2120ec Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id B0.D1.23059.12EB6235; Mon, 17 Mar 2014 09:19:29 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N2K006ERPWBCG80@eusync3.samsung.com>; Mon, 17 Mar 2014 09:19:29 +0000 (GMT) From: Krzysztof Kozlowski To: Mike Turquette , linux-arm-kernel@lists.infradead.org, Sangbeom Kim , Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 3/3] Documentation: mfd: s2mps11: Describe S5M8767 and S2MPS14 clocks Date: Mon, 17 Mar 2014 10:19:18 +0100 Message-id: <1395047958-17953-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1395047958-17953-1-git-send-email-k.kozlowski@samsung.com> References: <1395047958-17953-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBLMWRmVeSWpSXmKPExsVy+t/xq7qK+9SCDX5v0LPYOGM9q8X8I+dY LfrfLGS1OPdqJaPF6xeGFmeb3rBb3P96lNFi0+NrrBaXd81hs5hxfh+Txdojd9ktll6/yGTx dMJFNosJ09eyWLTuPcJucfJPL6PF6W5Wi4srvjBZrJ/xmsWi/e9eNos5098xOYh6rJm3htHj cl8vk8fK5V/YPDat6mTzuHNtD5vHvJOBHpuX1Hv0bVnF6PF5k1wAZxSXTUpqTmZZapG+XQJX xtr+FpaCzaIV7dePMDcw9gl2MXJySAiYSFzd3MwKYYtJXLi3ng3EFhJYyihx+7BwFyMXkN3H JPHu9U2wIjYBY4nNy5ewgSREBJqZJPZ9fcwEkmAWOMUiMfmGDIgtLBAlsa13DWMXIwcHi4Cq xJ51ISAmr4C7RPdzCRBTQkBBYs4kGxCTU8BD4tdmPoit7hJtCyezTGDkXcDIsIpRNLU0uaA4 KT3XUK84Mbe4NC9dLzk/dxMjJPS/7GBcfMzqEKMAB6MSD+8EZbVgIdbEsuLK3EOMEhzMSiK8 pduAQrwpiZVVqUX58UWlOanFhxiZODilGhi1X/0O3iii3PlmL2vYveKvEXlR2798nG/bmerq UXG6ZYFX+Sn/j9z+Du+Pd1jmHHqou9rkxReWbXZslpVxzmukm2222sRt99/T9mHy7U/Pdl4K nXXp0UuJ5TczmG4tO8/4/2VTennI1Lh1JWYcvNfMD0566vJ8W3UPx52fqlO3yKp2XFj4/Gqf EktxRqKhFnNRcSIATpoELVsCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140317_051955_989137_BA3B22EE X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: Mark Rutland , devicetree@vger.kernel.org, Yadwinder Singh Brar , Pawel Moll , Bartlomiej Zolnierkiewicz , Sachin Kamat , Tomasz Figa , Ian Campbell , Krzysztof Kozlowski , Kyungmin Park , Rob Herring , Kumar Gala , Tushar Behera , Marek Szyprowski 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, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, 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 Add bindings documentation for clocks on S5M8767 and S2MPS14 devices. Signed-off-by: Krzysztof Kozlowski Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Reviewed-by: Tomasz Figa --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 24 +++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 15ee89c3cc7b..67ea05ca8050 100644 --- a/Documentation/devicetree/bindings/mfd/s2mps11.txt +++ b/Documentation/devicetree/bindings/mfd/s2mps11.txt @@ -16,20 +16,25 @@ Optional properties: - interrupts: Interrupt specifiers for interrupt sources. Optional nodes: -- clocks: s2mps11 provides three(AP/CP/BT) buffered 32.768 KHz outputs, so to - register these as clocks with common clock framework instantiate a sub-node - named "clocks". It uses the common clock binding documented in : +- clocks: s2mps11 and s5m8767 provide three(AP/CP/BT) buffered 32.768 KHz + outputs, so to register these as clocks with common clock framework + instantiate a sub-node named "clocks". It uses the common clock binding + documented in : [Documentation/devicetree/bindings/clock/clock-bindings.txt] + The s2mps14 provides two (AP/BT) buffered 32.768 KHz outputs. - #clock-cells: should be 1. - The following is the list of clocks generated by the controller. Each clock is assigned an identifier and client nodes use this identifier to specify the clock which they consume. - Clock ID - ---------------------- - 32KhzAP 0 - 32KhzCP 1 - 32KhzBT 2 + Clock ID Devices + ---------------------------------------------------------- + 32KhzAP 0 S2MPS11, S2MPS14, S5M8767 + 32KhzCP 1 S2MPS11, S5M8767 + 32KhzBT 2 S2MPS11, S2MPS14, S5M8767 + + - compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps14-clk", + "samsung,s5m8767-clk" - regulators: The regulators of s2mps11 that have to be instantiated should be included in a sub-node named 'regulators'. Regulator nodes included in this @@ -71,7 +76,8 @@ Example: compatible = "samsung,s2mps11-pmic"; reg = <0x66>; - s2m_osc: clocks{ + s2m_osc: clocks { + compatible = "samsung,s2mps11-clk"; #clock-cells = 1; clock-output-names = "xx", "yy", "zz"; };