From patchwork Tue Jul 21 11:07:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6834751 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A166C05AC for ; Tue, 21 Jul 2015 11:19:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 61B9F2061A for ; Tue, 21 Jul 2015 11:19:14 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 77F6020601 for ; Tue, 21 Jul 2015 11:19:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHVYC-0001ta-Nw; Tue, 21 Jul 2015 11:17:32 +0000 Received: from mail-pd0-f182.google.com ([209.85.192.182]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZHVXt-0001dg-Ph for linux-arm-kernel@lists.infradead.org; Tue, 21 Jul 2015 11:17:14 +0000 Received: by pdjr16 with SMTP id r16so121370044pdj.3 for ; Tue, 21 Jul 2015 04:16:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rMshvjRNZ+3ehsg0W+VHlDOXVbQfuqCFaQ7L8A9Wkwk=; b=gn/zoCLqZ9KAECP7xLMIgbi3SiEL9I/hbQvu1sJXGpBcSQvzqmEWZryf9nXGkgnC9B DspzaE9CN8KCuDVTvpahN/YeJBwv+1SkWg3OGnTDH9HeensIl1+ciMEGmtymOyyXh0wO tI3fn94MsEEHCfraAhtkDV/A4lT9jzFvcQNWR/St5OAcArULXT3p0Xk4PaSIqRYg9Zsw BaqsZl0GN9kfppbYDrEo88teOpXKHCSs3DdI/QCoxD4nlp53wVmH9q9qnmYKDKqQ/DTf pZzh1xnssoI0YvuCigB6zmMV9r3ga8RDNudHhM9KlBgOMFFQwXzyyW7pdytAg2eIPU7o fwEQ== X-Gm-Message-State: ALoCoQm25UR8VTuDb+SA3u2ZJZthR4AEbEDaZTDJ/TkrfsjiWrAVSafn3yDmnTwCQUTmrwIWjJWi X-Received: by 10.70.88.226 with SMTP id bj2mr72716313pdb.84.1437477412947; Tue, 21 Jul 2015 04:16:52 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id v9sm1900399pdr.96.2015.07.21.04.16.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Jul 2015 04:16:51 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] mfd: devicetree: bindings: Add clock subdevice node information Date: Tue, 21 Jul 2015 16:37:01 +0530 Message-Id: <1437476823-3358-3-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437476823-3358-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1437476823-3358-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150721_041713_869098_F2B558B3 X-CRM114-Status: GOOD ( 13.32 ) X-Spam-Score: -2.6 (--) 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, k.kozlowski@samsung.com, mturquette@baylibre.com, linux-kernel@vger.kernel.org, Vaibhav Hiremath , robh+dt@kernel.org, lee.jones@linaro.org, linux-clk@vger.kernel.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-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 This patch updates the binding documentation for optional clocks node and related information for buffered 32KHz clock. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/88pm800.txt | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt index dec842f..60cab78 100644 --- a/Documentation/devicetree/bindings/mfd/88pm800.txt +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -9,6 +9,27 @@ Required parent device properties: - #interrupt-cells : should be 1. The cell is the 88pm80x local IRQ number +Optional nodes: +- clocks: 88pm800 family of devices provide multiple 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] + + - #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 Devices + ---------------------------------------------------------- + pm800_clk32k_1 0 88PM800 and 88PM860 + pm800_clk32k_2 1 88PM800 and 88PM860 + pm800_clk32k_3 2 88PM800 + + - compatible: Should be : "marvell,88pm800-clk" + + 88pm80x family of devices consists of varied group of sub-devices: Device Supply Names Description @@ -16,6 +37,7 @@ Device Supply Names Description 88pm80x-onkey : : On key 88pm80x-rtc : : RTC 88pm80x-regulator : : Regulators +88pm80x-clk : : 32KHz Clk provider Example: @@ -27,6 +49,12 @@ Example: interrupt-controller; #interrupt-cells = <1>; + pm800clk: clocks { + compatible = "marvell,88pm800-clk"; + #clock-cells = <1>; + clock-output-names = "xx", "yy", "zz"; + }; + regulators { compatible = "marvell,88pm80x-regulator";