From patchwork Mon Sep 12 18:23:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hotran X-Patchwork-Id: 9327459 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 491636089F for ; Mon, 12 Sep 2016 18:24:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4242728D27 for ; Mon, 12 Sep 2016 18:24:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36BF928E77; Mon, 12 Sep 2016 18:24:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD24828E73 for ; Mon, 12 Sep 2016 18:24:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753462AbcILSYO (ORCPT ); Mon, 12 Sep 2016 14:24:14 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:34240 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753534AbcILSXf (ORCPT ); Mon, 12 Sep 2016 14:23:35 -0400 Received: by mail-oi0-f54.google.com with SMTP id m11so327567699oif.1 for ; Mon, 12 Sep 2016 11:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cR37xLoh23aCOqqHODprFmX7yjYniv925YR/uqqh8Ag=; b=oSQvLK4yrZWzlZp6QoVP93611kqKbKpQ3y4YVHu/eyMJo1BpgK+lGmr9PWEhUBU04g 9ggAW7/2BGIEtFWbbnVUZkFESfpzEhhm50o2WRQQ8Zn5JGabX3w3o0332+d3Gqo5J70M 6MqHjXuErMqHSbsMoDYgQiYk9kfHr2ykmaDTs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cR37xLoh23aCOqqHODprFmX7yjYniv925YR/uqqh8Ag=; b=PTEcW6Lmtk2z/zPzLJTbSqRObSRgu1h0Dm5jyw1ez7UZklkUiskuzygmJGsUOT0aYt s5s9YJXmoWRep1bBA3/AvTnrTMAPw8kYpS75q8/kiZQncS6dSB6YsITXdlNi3NFFWYNF weUhJ9K+j1CP6XbnZUqeIdZSaHK3wCM5ChchaS8RvXZOdlol7zaP2USiou5C4u2HjOOr 01w0lSU6cDKGGI25a876+nO7wq6ddBH7KBtbMrSdM/1kfQeQpu5QK9nJoPAQvyw44k4J ijF/xwYjOjust85pU46NQfTzoIiZy6ycH4kRgPuCII1pT6UbCqva5D7Ow5qe7T3bCJS+ u1yw== X-Gm-Message-State: AE9vXwPKInF4kMZGMuMpsuEU2NBMEvmmLOK9LOoRqLE5bgb5EFf3hr8dRWoozVhZMFT8rTBN X-Received: by 10.202.252.22 with SMTP id a22mr565042oii.124.1473704614745; Mon, 12 Sep 2016 11:23:34 -0700 (PDT) Received: from hotran_localhost.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id h63sm505455ita.12.2016.09.12.11.23.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Sep 2016 11:23:34 -0700 (PDT) From: Hoan Tran To: Michael Turquette , Rob Herring , Stephen Boyd , Mark Rutland Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lho@apm.com, Duc Dang , Hoan Tran Subject: [PATCH v3 1/3] Documentation: dtb: xgene: Add PMD clock binding Date: Mon, 12 Sep 2016 11:23:23 -0700 Message-Id: <1473704605-28126-2-git-send-email-hotran@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473704605-28126-1-git-send-email-hotran@apm.com> References: <1473704605-28126-1-git-send-email-hotran@apm.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add APM X-Gene clock binding documentation for PMD clock. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- Documentation/devicetree/bindings/clock/xgene.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/xgene.txt b/Documentation/devicetree/bindings/clock/xgene.txt index 82f9638..8233e77 100644 --- a/Documentation/devicetree/bindings/clock/xgene.txt +++ b/Documentation/devicetree/bindings/clock/xgene.txt @@ -8,6 +8,7 @@ Required properties: - compatible : shall be one of the following: "apm,xgene-socpll-clock" - for a X-Gene SoC PLL clock "apm,xgene-pcppll-clock" - for a X-Gene PCP PLL clock + "apm,xgene-pmd-clock" - for a X-Gene PMD clock "apm,xgene-device-clock" - for a X-Gene device clock "apm,xgene-socpll-v2-clock" - for a X-Gene SoC PLL v2 clock "apm,xgene-pcppll-v2-clock" - for a X-Gene PCP PLL v2 clock @@ -22,6 +23,15 @@ Required properties for SoC or PCP PLL clocks: Optional properties for PLL clocks: - clock-names : shall be the name of the PLL. If missing, use the device name. +Required properties for PMD clocks: +- reg : shall be the physical register address for the pmd clock. +- clocks : shall be the input parent clock phandle for the clock. +- #clock-cells : shall be set to 1. +- clock-output-names : shall be the name of the clock referenced by derive + clock. +Optional properties for PLL clocks: +- clock-names : shall be the name of the clock. If missing, use the device name. + Required properties for device clocks: - reg : shall be a list of address and length pairs describing the CSR reset and/or the divider. Either may be omitted, but at least @@ -59,6 +69,14 @@ For example: type = <0>; }; + pmd0clk: pmd0clk@7e200200 { + compatible = "apm,xgene-pmd-clock"; + #clock-cells = <1>; + clocks = <&pmdpll 0>; + reg = <0x0 0x7e200200 0x0 0x10>; + clock-output-names = "pmd0clk"; + }; + socpll: socpll@17000120 { compatible = "apm,xgene-socpll-clock"; #clock-cells = <1>;