From patchwork Thu Mar 27 03:45:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dinh Nguyen X-Patchwork-Id: 3896181 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DE5C4BF540 for ; Thu, 27 Mar 2014 03:49:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 100C720221 for ; Thu, 27 Mar 2014 03:49:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E20E2021C for ; Thu, 27 Mar 2014 03:49:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT1JP-00006G-TE; Thu, 27 Mar 2014 03:49:04 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT1JF-0002eL-NR; Thu, 27 Mar 2014 03:48:53 +0000 Received: from mail-bn1on0720.outbound.protection.outlook.com ([2a01:111:f400:fc10::720] helo=na01-bn1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WT1Iv-0002b7-8l for linux-arm-kernel@lists.infradead.org; Thu, 27 Mar 2014 03:48:34 +0000 Received: from BN1BFFO11FD007.protection.gbl (10.58.144.34) by BN1BFFO11HUB031.protection.gbl (10.58.144.178) with Microsoft SMTP Server (TLS) id 15.0.908.10; Thu, 27 Mar 2014 03:48:06 +0000 Received: from SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) by BN1BFFO11FD007.mail.protection.outlook.com (10.58.144.70) with Microsoft SMTP Server (TLS) id 15.0.908.10 via Frontend Transport; Thu, 27 Mar 2014 03:48:06 +0000 Received: from sj-mail01.altera.com (137.57.1.6) by SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) with Microsoft SMTP Server id 8.3.348.2; Wed, 26 Mar 2014 20:34:58 -0700 Received: from linux-builds1.altera.com (linux-builds1.altera.com [137.57.188.114]) by sj-mail01.altera.com (8.13.7+Sun/8.13.7) with ESMTP id s2R3ltAo013151; Wed, 26 Mar 2014 20:48:00 -0700 (PDT) From: To: , , , Subject: [PATCH 3/3] dts: stmmac: Document the clocks property in the stmmac base document Date: Wed, 26 Mar 2014 22:45:12 -0500 Message-ID: <1395891912-26855-4-git-send-email-dinguyen@altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1395891912-26855-1-git-send-email-dinguyen@altera.com> References: <1395891912-26855-1-git-send-email-dinguyen@altera.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: =?us-ascii?Q?CIP:66.35.236.232; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(1001?= =?us-ascii?Q?9001)(6009001)(458001)(189002)(199002)(85852003)(90146001)(8?= =?us-ascii?Q?7286001)(56816005)(94946001)(86152002)(84676001)(95416001)(7?= =?us-ascii?Q?6796001)(74876001)(74662001)(86362001)(93916002)(97186001)(5?= =?us-ascii?Q?1856001)(89996001)(81816001)(87266001)(85306002)(95666003)(8?= =?us-ascii?Q?1686001)(2009001)(93136001)(92566001)(92726001)(2201001)(830?= =?us-ascii?Q?72002)(74502001)(47446002)(76786001)(77096001)(53806001)(764?= =?us-ascii?Q?82001)(97736001)(98676001)(77156001)(97336001)(94316002)(367?= =?us-ascii?Q?56003)(62966002)(54316002)(63696002)(80976001)(50226001)(439?= =?us-ascii?Q?6001)(47736001)(47976001)(50986001)(87936001)(19580395003)(6?= =?us-ascii?Q?806004)(19580405001)(83322001)(49866001)(47776003)(20776003)?= =?us-ascii?Q?(79102001)(74706001)(48376002)(65816001)(80022001)(59766001)?= =?us-ascii?Q?(77982001)(31966008)(50466002)(33646001)(74366001)(44976005)?= =?us-ascii?Q?(69226001)(53416003)(93516002)(56776001)(81342001)(46102001)?= =?us-ascii?Q?(81542001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1BFFO11HUB031; H:SJ-?= =?us-ascii?Q?ITEXEDGE02.altera.priv.altera.com; FPR:AF90F75D.2DAD5DCA.5FE4?= =?us-ascii?Q?B772.94D2F269.2018C; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A?= =?us-ascii?Q?:1;LANG:en;?= X-OriginatorOrg: altera.onmicrosoft.com X-Forefront-PRVS: 01630974C0 Received-SPF: SoftFail (: domain of transitioning altera.com discourages use of 66.35.236.232 as permitted sender) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140326_234833_433481_C3DCE3A3 X-CRM114-Status: UNSURE ( 7.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, srinivas.kandagatla@st.com, netdev@vger.kernel.org, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, arm@kernel.org, Dinh Nguyen , galak@codeaurora.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 From: Dinh Nguyen Add the clocks and clock-names property to the base stmmac dts bindings document. Signed-off-by: Dinh Nguyen --- Documentation/devicetree/bindings/net/stmmac.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index 94604e2..9897fa3 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt @@ -32,6 +32,10 @@ Optional properties: reset phandle is given - max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather than the maximum frame size. +- clocks: If present, the first clock should be the GMAC main clock, + further clocks may be specified in derived bindings. +- clocks-names: One name for each entry in the clocks property, the + first one should be "stmmaceth". Examples: @@ -44,4 +48,6 @@ Examples: mac-address = [000000000000]; /* Filled in by U-Boot */ max-frame-size = <3800>; phy-mode = "gmii"; + clocks = <&clock>; + clock-names = "stmmaceth">; };