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: dinguyen@altera.com X-Patchwork-Id: 334188 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7D63C140084 for ; Thu, 27 Mar 2014 14:48:19 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753442AbaC0DsR (ORCPT ); Wed, 26 Mar 2014 23:48:17 -0400 Received: from mail-bn1bn0103.outbound.protection.outlook.com ([157.56.110.103]:36111 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752984AbaC0DsH (ORCPT ); Wed, 26 Mar 2014 23:48:07 -0400 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: , , , CC: , , , , , , , , , , Dinh Nguyen 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) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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">; };