From patchwork Fri Nov 7 15:51:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5253861 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@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 05D889F3ED for ; Fri, 7 Nov 2014 15:51:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28A3E20138 for ; Fri, 7 Nov 2014 15:51:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 275E62012E for ; Fri, 7 Nov 2014 15:51:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751229AbaKGPvT (ORCPT ); Fri, 7 Nov 2014 10:51:19 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:61819 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751313AbaKGPvT (ORCPT ); Fri, 7 Nov 2014 10:51:19 -0500 Received: by mail-wg0-f47.google.com with SMTP id a1so4062126wgh.20 for ; Fri, 07 Nov 2014 07:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Y4Hje3VB9xVd+/xAB6Fg8x5c4uTd0kj54ll8ESTcgFg=; b=FPlwCDY7XLYDgmRBo06TyxVhfW+qPPDRquzKLXsl6qV7jlRMw9yN5zvvpgXqPLLRg6 AdBrSI8skddMiOLGZ22t9fwNzyZv3mwJfo2QtWlbBNl0UWVzs9BysXBgdRVZuqqmdZ1b 2LsRifBqogJxaohoDqACLHoFjpz2W7X7camTSqBYJd3ylaPh5RandtRa+qMsTWJkcBKl QDp+C2fAeWF+ybrinTZfEcInscnFOk9RT8x8oK/P39WNb/FLmOVibYozAcgW9AKN51rz GHVyBKaV7dbKC8bpieoOhNJlS0E/ftRuDJzA6ZF6isEgJh2SN8udz6LOZz1BMPwloisX XZWQ== X-Received: by 10.180.104.229 with SMTP id gh5mr6191796wib.42.1415375477846; Fri, 07 Nov 2014 07:51:17 -0800 (PST) Received: from groucho.site (ipbcc296c3.dynamic.kabel-deutschland.de. [188.194.150.195]) by mx.google.com with ESMTPSA id f7sm2497694wiz.13.2014.11.07.07.51.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Nov 2014 07:51:16 -0800 (PST) From: Ulrich Hecht To: horms@verge.net.au, mturquette@linaro.org, geert@linux-m68k.org, laurent.pinchart+renesas@ideasonboard.com Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, devicetree@vger.kernel.org, mark.rutland@arm.com, Ulrich Hecht Subject: [PATCH v7 2/2] clk: shmobile: document DIV6 clock parent bindings Date: Fri, 7 Nov 2014 16:51:08 +0100 Message-Id: <1415375468-15378-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1415375468-15378-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1415375468-15378-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Describes how to specify the parents for clocks with EXSRC bits. Signed-off-by: Ulrich Hecht --- .../bindings/clock/renesas,cpg-div6-clocks.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt b/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt index 952e373..054f65f 100644 --- a/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt +++ b/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt @@ -7,11 +7,16 @@ to 64. Required Properties: - compatible: Must be one of the following + - "renesas,r8a73a4-div6-clock" for R8A73A4 (R-Mobile APE6) DIV6 clocks + - "renesas,r8a7740-div6-clock" for R8A7740 (R-Mobile A1) DIV6 clocks - "renesas,r8a7790-div6-clock" for R8A7790 (R-Car H2) DIV6 clocks - "renesas,r8a7791-div6-clock" for R8A7791 (R-Car M2) DIV6 clocks + - "renesas,sh73a0-div6-clock" for SH73A0 (SH-Mobile AG5) DIV6 clocks - "renesas,cpg-div6-clock" for generic DIV6 clocks - reg: Base address and length of the memory resource used by the DIV6 clock - - clocks: Reference to the parent clock + - clocks: Reference to the parent clock(s); either one, four, or eight + clocks must be specified. For clocks with multiple parents, invalid + settings must be specified as "<0>". - #clock-cells: Must be 0 - clock-output-names: The name of the clock as a free-form string @@ -19,10 +24,11 @@ Required Properties: Example ------- - sd2_clk: sd2_clk@e6150078 { - compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock"; - reg = <0 0xe6150078 0 4>; - clocks = <&pll1_div2_clk>; + sdhi2_clk: sdhi2_clk@e615007c { + compatible = "renesas,r8a73a4-div6-clock", "renesas,cpg-div6-clock"; + reg = <0 0xe615007c 0 4>; + clocks = <&pll1_div2_clk>, <&cpg_clocks R8A73A4_CLK_PLL2S>, + <0>, <&extal2_clk>; #clock-cells = <0>; - clock-output-names = "sd2"; + clock-output-names = "sdhi2ck"; };