From patchwork Mon Aug 24 18:56:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 52650 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by patches.linaro.org (Postfix) with ESMTPS id D342922DD4 for ; Mon, 24 Aug 2015 18:59:56 +0000 (UTC) Received: by lbcli1 with SMTP id li1sf43594589lbc.2 for ; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=l2urKWAZvukhBLVi+EJMeEobF/U/fNIGLwW6HMTlAWY=; b=cH9MOX3k7yLXvAQL431bHmgu2qY1zf8ntqFmJaSyiGsSZVH3+3ILV7xuQWJfHopENh Xk9AuD6M44NU1vgTrLou0UfkMHEyJGKtM/Z8jd3HO06/kxNa9cNTW+BKJ3yKHNrdSOrz fH/ROmaIDIbnKSckVJNgfpyCKV4ckNGc5ZPg4w/+5sMYLC5Dwv1u3LPLOwHVjU/Bhgsz IcT7ZtrLMadhZ5EVaWMoekqvJbapApDFAU9xgNQhN2z/OThrkDADYzDB1+a3OHDa6iJ0 IgYdqyHGx6i/XRKtWa4cx+mHSQUOYiOHhrT+Sbtgv+VudQjAup47HbOKVbF0QJbi+BDt 4Zew== X-Gm-Message-State: ALoCoQmpTfQi/a81nGnlaOiD+W8Aepoy2cpyHYAYfjqB9nhOP2H4F4/0Feeb9QHFIUS/krEv+1Wl X-Received: by 10.180.83.101 with SMTP id p5mr4530131wiy.2.1440442795816; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.35 with SMTP id s3ls629882lae.29.gmail; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) X-Received: by 10.152.7.37 with SMTP id g5mr21884915laa.101.1440442795610; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id jn7si13999466lbc.55.2015.08.24.11.59.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 11:59:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbpu9 with SMTP id pu9so85940981lbb.3 for ; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) X-Received: by 10.112.166.2 with SMTP id zc2mr21593258lbb.29.1440442795332; Mon, 24 Aug 2015 11:59:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.162.200 with SMTP id yc8csp2669501lbb; Mon, 24 Aug 2015 11:59:53 -0700 (PDT) X-Received: by 10.70.95.138 with SMTP id dk10mr45635822pdb.57.1440442793723; Mon, 24 Aug 2015 11:59:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si28941916pas.47.2015.08.24.11.59.52; Mon, 24 Aug 2015 11:59:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755421AbbHXS7v (ORCPT + 28 others); Mon, 24 Aug 2015 14:59:51 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:32984 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755340AbbHXS7I (ORCPT ); Mon, 24 Aug 2015 14:59:08 -0400 Received: by pdrh1 with SMTP id h1so57580844pdr.0 for ; Mon, 24 Aug 2015 11:59:07 -0700 (PDT) X-Received: by 10.70.43.79 with SMTP id u15mr48992586pdl.84.1440442747325; Mon, 24 Aug 2015 11:59:07 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id hh3sm18260418pbc.8.2015.08.24.11.59.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Aug 2015 11:59:06 -0700 (PDT) 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-v2 3/5] mfd: devicetree: bindings: Add clock subdevice node information Date: Tue, 25 Aug 2015 00:26:32 +0530 Message-Id: <1440442594-3102-5-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440442594-3102-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1440442594-3102-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt index 2c82fcb..bc6cb02 100644 --- a/Documentation/devicetree/bindings/mfd/88pm800.txt +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -15,6 +15,26 @@ Optional properties : Without this both BUCK1A and BUCK1B operates independently with 3A capacity. (This property is only applicable to 88PM860) +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 @@ -22,6 +42,7 @@ Device Supply Names Description 88pm80x-onkey : : On key 88pm80x-rtc : : RTC 88pm80x-regulator : : Regulators +88pm80x-clk : : 32KHz Clk provider Example: @@ -33,6 +54,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";