From patchwork Thu Mar 13 09:37:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 3824071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 0A8F49F369 for ; Thu, 13 Mar 2014 09:38:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3146D2018A for ; Thu, 13 Mar 2014 09:38:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4502A201FD for ; Thu, 13 Mar 2014 09:38:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753410AbaCMJhj (ORCPT ); Thu, 13 Mar 2014 05:37:39 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:38555 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516AbaCMJhg (ORCPT ); Thu, 13 Mar 2014 05:37:36 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N2D00DJAC2LNC30@mailout4.w1.samsung.com>; Thu, 13 Mar 2014 09:37:33 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-92-53217c5df6ae Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id E8.BA.23059.D5C71235; Thu, 13 Mar 2014 09:37:33 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N2D0008NC2CH010@eusync2.samsung.com>; Thu, 13 Mar 2014 09:37:33 +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 Cc: Tushar Behera , Yadwinder Singh Brar , Sachin Kamat , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Tomasz Figa , Krzysztof Kozlowski , devicetree@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Subject: [PATCH v2 3/3] Documentation: mfd: s2mps11: Describe S5M8767 and S2MPS14 clocks Date: Thu, 13 Mar 2014 10:37:04 +0100 Message-id: <1394703425-6462-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1394703425-6462-1-git-send-email-k.kozlowski@samsung.com> References: <1394703425-6462-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsVy+t/xK7qxNYrBBmc3sFhsnLGe1WL+kXOs Fv1vFrJanHu1ktHi9QtDi7NNb9gt7n89ymix6fE1VovLu+awWcw4v4/JYu2Ru+wWS69fZLJ4 OuEim8WE6WtZLFr3HmG3OPmnl9HidDerxcUVX5gs1s94zWLR/ncvm8Wc6e+YHEQ91sxbw+hx ua+XyWPl8i9sHptWdbJ53Lm2h81j3slAj81L6j36tqxi9Pi8SS6AM4rLJiU1J7MstUjfLoEr 4+aFq8wFLaIVBzq3sjUwPhHoYuTkkBAwkVh34RYzhC0mceHeerYuRi4OIYGljBLnV5xjhXD6 mCRWbHjIClLFJmAssXn5ErAqEYFmJol9Xx8zgSSYBU6xSEy+IQNiCwtESRyaNResgUVAVeLv xedANRwcvAJuEo9nSICYEgIKEnMm2YCYnALuEv2TgkCKhYAKruztZZ3AyLuAkWEVo2hqaXJB cVJ6rqFecWJucWleul5yfu4mRkj4f9nBuPiY1SFGAQ5GJR7eFcsVgoVYE8uKK3MPMUpwMCuJ 8JoXKAYL8aYkVlalFuXHF5XmpBYfYmTi4JRqYHR/d3ON/vXOAJsJ37ZL21neCskPcZoQX5G/ QrR3Lk/OT/WE0pI/23LXz9GcMT2kV+xyelHUmSefIxfoaJqqm215qidyv69nTff2478UlV0P niw+W3HTTpB/gWi5Xci0Er8z8wuStDZ+LzxXsSv4+4aiX6+s73++N8EhwrKPYXdpeu46x0Mp P5RYijMSDbWYi4oTAf9WAMddAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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"; };