From patchwork Mon Nov 3 16:01:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 5217951 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 A82B39F349 for ; Mon, 3 Nov 2014 16:02:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 20D8620142 for ; Mon, 3 Nov 2014 16:02:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 407C02014A for ; Mon, 3 Nov 2014 16:02:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752364AbaKCQCN (ORCPT ); Mon, 3 Nov 2014 11:02:13 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:58074 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbaKCQCN (ORCPT ); Mon, 3 Nov 2014 11:02:13 -0500 Received: by mail-lb0-f181.google.com with SMTP id l4so2881123lbv.12 for ; Mon, 03 Nov 2014 08:02:11 -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=47UcvbhJS4kUmhGFG8t2yPOYX1XyBTpCfvcg/NQNEg8=; b=zxK2z24S3BngystbJF/gLwh8W7IxEwWTx4sP4USCuDYt/rxhpLSOB34xnxPJAPH8G7 7ynCBeGMD7o8JlQOXgoB9eqLwZqJEy87iy9PC8JrM10BTymjk20jLHMo8S22fm9aoJv1 wSsHiSBIJ4GoEpvnjC66Z65TayN7Tu+3kBWWLdm6wWuKE8TGXLETpqEfjR4rdJ5Ogn09 xA9BYMkxYAevvXukcFAJ4RtjuUaRt0+g/mYnPg6m6RjL9nNqV4d6HgooT65Ai4aUhf6k UkEn23jgLqUtxMuwKwpSlFu4P4z2T6CPq7/lxWgTdWjwsVqhGKrkDQ3IU3GdBxzzAMtb sRqQ== X-Received: by 10.112.57.227 with SMTP id l3mr51629907lbq.68.1415030530913; Mon, 03 Nov 2014 08:02:10 -0800 (PST) Received: from groucho.site ([37.203.209.10]) by mx.google.com with ESMTPSA id n10sm8106692laf.38.2014.11.03.08.02.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Nov 2014 08:02:09 -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 v6 2/2] clk: shmobile: document DIV6 clock parent bindings Date: Mon, 3 Nov 2014 17:01:36 +0100 Message-Id: <1415030496-26054-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1415030496-26054-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1415030496-26054-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.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SBL, 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 | 19 +++++++++++++------ 1 file changed, 13 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..750550ca 100644 --- a/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt +++ b/Documentation/devicetree/bindings/clock/renesas,cpg-div6-clocks.txt @@ -7,11 +7,17 @@ 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); if there are multiple parent + clocks, one must be specified for each possible parent clock setting + in the clock register. Invalid settings must be specified as "<0>". + Trailing invalid settings may be omitted. - #clock-cells: Must be 0 - clock-output-names: The name of the clock as a free-form string @@ -19,10 +25,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"; };