From patchwork Tue Aug 5 22:31:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 376790 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D5A481400E4 for ; Wed, 6 Aug 2014 08:32:27 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754023AbaHEWcY (ORCPT ); Tue, 5 Aug 2014 18:32:24 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:46421 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754006AbaHEWcS (ORCPT ); Tue, 5 Aug 2014 18:32:18 -0400 Received: by mail-pa0-f52.google.com with SMTP id bj1so2201385pad.39 for ; Tue, 05 Aug 2014 15:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r5TwlPgU6jT2ifDftS0N7L0/9POmu9PT2j62O7qQQYw=; b=rYwIZ1T/ISKcPRUp52Ta6GBXGYmIIAeaedY6a2dgeIuEf24ts27n+TC8vQ4hXEFzZP Qsr+B4id/UkuCQPCN3JtNC0YR+mUVTw0boxySunQUCXw9o9oy2ba1ppfV3IqckCvFp8x dooAowLhouL8iXz3zgPx8L6vhF5dy3xUP7PncmcdaiIw56nIOjyRLAZdjSkuF0ZjvLiH 17bHPYLpanxnWDLfkeffVad56eU9eo8bwbMucp5tHd/I3LksMPBUvK9jC6T+qKNfWUXj SxS/5Ptd6RS2UPL1dmlQL0ESfFKMWEa/MXSnbO1yTBKqhDJ5LNXMdm45BlHLVtVVT3qM yNyw== X-Received: by 10.66.245.140 with SMTP id xo12mr7509399pac.38.1407277938217; Tue, 05 Aug 2014 15:32:18 -0700 (PDT) Received: from fainelli-desktop.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id am3sm3098212pbd.18.2014.08.05.15.32.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Aug 2014 15:32:17 -0700 (PDT) From: Florian Fainelli To: netdev@vger.kernel.org Cc: davem@davemloft.net, linville@tuxdriver.com, Florian Fainelli Subject: [PATCH net-next v2 11/12] Documentation: devicetree: update dsa binding with optional properties Date: Tue, 5 Aug 2014 15:31:45 -0700 Message-Id: <1407277906-19989-12-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407277906-19989-1-git-send-email-f.fainelli@gmail.com> References: <1407277906-19989-1-git-send-email-f.fainelli@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add documentation for a bunch of new optional properties described in ethernet.txt and fixed-link.txt, this includes: 'phy-handle', 'phy-mode' and the 'fixed-link' subnode. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/net/dsa/dsa.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt index 49f4f7ae3f51..6192f9a7aa89 100644 --- a/Documentation/devicetree/bindings/net/dsa/dsa.txt +++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt @@ -39,6 +39,22 @@ Optionnal property: This property is only used when switches are being chained/cascaded together. +- phy-handle : Phandle to a PHY on an external MDIO bus, not the + switch internal one. See + Documentation/devicetree/bindings/net/ethernet.txt + for details. + +- phy-mode : String representing the connection to the designeted + PHY node specified by the 'phy-handle' property. See + Documentation/devicetree/bindings/net/ethernet.txt + for details. + +Optionnal subnodes: +- fixed-link : Fixed-link subnode describing a link to a non-MDIO + managed entity. See + Documentation/devicetree/bindings/net/fixed-link.txt + for details. + Example: dsa@0 { @@ -58,6 +74,7 @@ Example: port@0 { reg = <0>; label = "lan1"; + phy-handle = <&phy0>; }; port@1 {