From patchwork Mon Mar 10 12:34: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: 3802871 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 AB44B9F1CD for ; Mon, 10 Mar 2014 12:37:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D24392024D for ; Mon, 10 Mar 2014 12:37:25 +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 C4F9120249 for ; Mon, 10 Mar 2014 12:37:24 +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 1WMzR2-0001dl-Ma; Mon, 10 Mar 2014 12:36:01 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WMzQg-0004dc-Ou; Mon, 10 Mar 2014 12:35:38 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WMzQ8-0004Z9-Uq for linux-arm-kernel@lists.infradead.org; Mon, 10 Mar 2014 12:35:07 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N28002RM09R4950@mailout1.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 10 Mar 2014 12:34:39 +0000 (GMT) X-AuditID: cbfec7f5-b7fc96d000004885-0d-531db15ed434 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id E7.0F.18565.E51BD135; Mon, 10 Mar 2014 12:34:38 +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 <0N2800DL709K8Z50@eusync3.samsung.com>; Mon, 10 Mar 2014 12:34:38 +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 3/3] Documentation: mfd: s2mps11: Describe S5M8767 and S2MPS14 clocks Date: Mon, 10 Mar 2014 13:34:18 +0100 Message-id: <1394454858-3139-4-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1394454858-3139-1-git-send-email-k.kozlowski@samsung.com> References: <1394454858-3139-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsVy+t/xq7pxG2WDDTpeKVtsnLGe1WL+kXOs Fv1vFrJanHu1ktHi9QtDi7NNb9gt7n89ymix6fE1VovLu+awWcw4v4/JYu2Ru+wWS69fZLJ4 OuEim8WE6WtZLFr3HmG3OPmnl9HidDerxcUVX5gs1s94zWLR/ncvm8Wc6e+YHEQ91sxbw+hx ua+XyWPl8i9sHptWdbJ53Lm2h81j3slAj81L6j36tqxi9Pi8SS6AM4rLJiU1J7MstUjfLoEr 4+aFq8wFLaIVBzq3sjUwPhHoYuTkkBAwkTi24AYLhC0mceHeerYuRi4OIYGljBJL751ignD6 mCRmLr3KDlLFJmAssXn5ErAqEYFmJol9Xx8zgSSYBU6xSEy+IQNiCwuES3y4uBosziKgKtFx 8CzYCl4BN4mpX6YD2RxA6xQk5kyyAQlzCrhLXJ/3jQ3EFgIqmfB0HeMERt4FjAyrGEVTS5ML ipPSc430ihNzi0vz0vWS83M3MUJi4OsOxqXHrA4xCnAwKvHwHngrEyzEmlhWXJl7iFGCg1lJ hDdzsWywEG9KYmVValF+fFFpTmrxIUYmDk6pBsbmyPaCctWCq/9UnqWrSXHPs669IKhR2cEk ck9A5utGm8OvLxlc3he2PevatE2/v8nPXbRHLXTSt7uXveaybGxbcGWqo868+SGuxf+CN3Xc WODcMOf5wUuyXwU/VD1fLbN7RdXmoohm5bbkL3sexPVM/lp7rUNMkvPD69oSt8QnLO0G4btX u/ApsRRnJBpqMRcVJwIA+X9exV8CAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140310_083505_124050_FCD86E67 X-CRM114-Status: UNSURE ( 9.84 ) 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 --- 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"; };