Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753776AbbGULQ4 (ORCPT ); Tue, 21 Jul 2015 07:16:56 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:32831 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753620AbbGULQx (ORCPT ); Tue, 21 Jul 2015 07:16:53 -0400 From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, mturquette@baylibre.com, lee.jones@linaro.org, k.kozlowski@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Vaibhav Hiremath 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2357 Lines: 69 This patch updates the binding documentation for optional clocks node and related information for buffered 32KHz clock. Signed-off-by: Vaibhav Hiremath --- 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"; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/