From patchwork Mon May 6 15:33:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2524581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 4C3DE3FD85 for ; Mon, 6 May 2013 15:36:31 +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 1UZNRf-0006yn-3L; Mon, 06 May 2013 15:35:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZNRH-0007UJ-0L; Mon, 06 May 2013 15:34:55 +0000 Received: from mail-bk0-x22d.google.com ([2a00:1450:4008:c01::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UZNQk-0007PP-J7 for linux-arm-kernel@lists.infradead.org; Mon, 06 May 2013 15:34:29 +0000 Received: by mail-bk0-f45.google.com with SMTP id je9so1643127bkc.32 for ; Mon, 06 May 2013 08:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=MGkttZAiSH4WHM1taDL3/HHwGVC/NBC6ouQpWnHzqoc=; b=xBgWI7zBpmK7lgGy3x2iPEJXejAI8TxkpHrrGgbwX8RReWNWp9YGpe2l7KlN2MPjJl kyETWfWIYjTe78XeUDIDM43edEf03NqE78uD5wjyvpL2w3vcV7tBHv9AkoGMuy4R9h57 GX+b6QDA3CzRUKnPUXzxuFe830bV1EOEvrqcuhUo06sO6VJPc1Q8z7tYU2ZrEY/0F3XN QDyZSILg9lKo87B5H+9Os/7v0Ybp6s/yPoOlCB1J4qDh9M2VU57PV/neTNhQzyo0ON7L 3bL0WkD6XZjmXksLyGWiHvghoxVWxU1eM+a/hXgvaC9bzpdYYN0SYy1Phe7NKeamMwYd Ep7Q== X-Received: by 10.205.1.133 with SMTP id nq5mr8656612bkb.22.1367854439865; Mon, 06 May 2013 08:33:59 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-181.pools.arcor-ip.net. [82.83.251.181]) by mx.google.com with ESMTPSA id es13sm5535470bkc.8.2013.05.06.08.33.57 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 May 2013 08:33:59 -0700 (PDT) Received: from edge.wm.mst.uni-hannover.de (phire.mst.uni-hannover.de [130.75.30.51]) by topkick.lan (Postfix) with ESMTPSA id 54DD8605E0; Mon, 6 May 2013 17:33:27 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH v3 2/7] net: mv643xx_eth: update Device Tree bindings documentation Date: Mon, 6 May 2013 17:33:35 +0200 Message-Id: <1367854420-8006-3-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367854420-8006-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1365071235-11611-1-git-send-email-florian@openwrt.org> <1367854420-8006-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130506_113423_094046_C67529AD X-CRM114-Status: GOOD ( 16.83 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Andrew Lunn , linux-doc@vger.kernel.org, Jamie Lentin , linux-kernel@vger.kernel.org, Nigel Roberts , Arnaud Patard , Valentin Longchamp , Russell King , Simon Guinot , Grant Likely , Lennert Buytenhek , Eric Hutter , Jason Cooper , Nobuhiro Iwamatsu , devicetree-discuss@lists.ozlabs.org, Arnaud Ebalard , Rob Herring , Joshua Coombs , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Jean-Francois Moine , Simon Baatz , netdev@vger.kernel.org, Alan M Butler , Willy Tarreau , Michael Walle , Rob Landley , David Miller , Stefan Peter 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Florian Fainelli This patch updates the Device Tree bindings documentation for the Marvell MV643xx ethernet controller node and makes the "local-mac-address" and "phy" properties optional instead of required. The absence of a "phy" node is legal and describes a MAC to switch configuration, while not specifying the "local-mac-address" allows for reuse of the MAC address already programmed into the Ethernet controller. Signed-off-by: Florian Fainelli --- Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Lennert Buytenhek Cc: David Miller Cc: Florian Fainelli Cc: Arnaud Patard Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Jean-Francois Moine Cc: Thomas Petazzoni Cc: Simon Guinot Cc: Jamie Lentin Cc: Michael Walle Cc: Eric Hutter Cc: Joshua Coombs Cc: Willy Tarreau Cc: Simon Baatz Cc: Alan M Butler Cc: Nigel Roberts Cc: Valentin Longchamp Cc: Stefan Peter Cc: Arnaud Ebalard Cc: Nobuhiro Iwamatsu Cc: netdev@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Documentation/devicetree/bindings/marvell.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/marvell.txt b/Documentation/devicetree/bindings/marvell.txt index 73ea12f..ed4058c 100644 --- a/Documentation/devicetree/bindings/marvell.txt +++ b/Documentation/devicetree/bindings/marvell.txt @@ -141,11 +141,11 @@ prefixed with the string "marvell,", for Marvell Technology Group Ltd. - interrupts : where a is the interrupt number for the port. - interrupt-parent : the phandle for the interrupt controller that services interrupts for this device. + + Optional properties: - phy : the phandle for the PHY connected to this ethernet controller. - local-mac-address : 6 bytes, MAC address - - Optional properties: - clocks : Phandle to the clock control device and gate bit - clock-names : String describing the clock gate bit - speed : Speed to force the link (10, 100, 1000), used when no