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: 51297 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by patches.linaro.org (Postfix) with ESMTPS id 9B72D20323 for ; Tue, 21 Jul 2015 11:17:13 +0000 (UTC) Received: by wgqq19 with SMTP id q19sf18116238wgq.1 for ; Tue, 21 Jul 2015 04:17:12 -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=Pi+jFuV0dvreFha58Md9yg9g0YjlM3gCInEo65U743Q=; b=lVwvK/vnsdc9rvKoi4IUWjjvqYIChH8xN2bgAr7IRn0cwnY0YTzLwXkdDBjB3cE1KR 6AehJ9UAAEA6+t9N0VIE3Y+0OrcPA5IM5WvBH+VPQGlXHXURzQ6hvkje6vBrwqHcTNcf RlaE76nEyfHcPUapL+1l0sphey4nEcBKm2HRcNTGWB7nZfGPl46WA+E5I0Sco73mmQhb 4ldRZKDjFRIlFveArV9A1/hJX9e+LqvlKjCGdMndiAwbHe1q/6iHAPqc22RRMPlPjQta 6KkzsXJ5j92JScDZjhxZSW5letxuT/a/1mKqpVIFt5JSrrUUibz9RloiWsiOQH5Li0M4 qgug== X-Gm-Message-State: ALoCoQkUCCadZPZcnsu0uV02KVYJsErl5J7S7T0i0hqX80dDlWwJlD4PqP604ckll49l4YCB1qDX X-Received: by 10.112.13.200 with SMTP id j8mr17404416lbc.14.1437477432858; Tue, 21 Jul 2015 04:17:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.231 with SMTP id e7ls821132laa.34.gmail; Tue, 21 Jul 2015 04:17:12 -0700 (PDT) X-Received: by 10.152.246.37 with SMTP id xt5mr32296937lac.83.1437477432684; Tue, 21 Jul 2015 04:17:12 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id tk4si485572lbb.14.2015.07.21.04.17.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2015 04:17:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbzr7 with SMTP id zr7so113493607lbb.1 for ; Tue, 21 Jul 2015 04:17:12 -0700 (PDT) X-Received: by 10.112.120.134 with SMTP id lc6mr32353594lbb.86.1437477432589; Tue, 21 Jul 2015 04:17:12 -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.7.198 with SMTP id l6csp1370570lba; Tue, 21 Jul 2015 04:17:11 -0700 (PDT) X-Received: by 10.107.34.147 with SMTP id i141mr18107453ioi.59.1437477431076; Tue, 21 Jul 2015 04:17:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o9si19868225icm.28.2015.07.21.04.17.10; Tue, 21 Jul 2015 04:17:11 -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 S1753649AbbGULQ5 (ORCPT + 28 others); Tue, 21 Jul 2015 07:16:57 -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 Received: by pdbnt7 with SMTP id nt7so48318187pdb.0 for ; Tue, 21 Jul 2015 04:16:53 -0700 (PDT) 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 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 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.179 as permitted sender) smtp.mail=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 --- 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";