From patchwork Wed Nov 2 17:08:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9409575 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 819646022E for ; Wed, 2 Nov 2016 17:11:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DAA62A499 for ; Wed, 2 Nov 2016 17:11:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6101C2A4A7; Wed, 2 Nov 2016 17:11:04 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2A9DA2A499 for ; Wed, 2 Nov 2016 17:11:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c1z2m-0000UK-Nw; Wed, 02 Nov 2016 17:09:44 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c1z2J-0000Id-2o for linux-arm-kernel@lists.infradead.org; Wed, 02 Nov 2016 17:09:16 +0000 Received: by mail-pf0-x22c.google.com with SMTP id n85so15091152pfi.1 for ; Wed, 02 Nov 2016 10:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B1A64kBCNhMTnnqlZNI+9kowVGCYLi7WoZQxoRdpyiI=; b=VR84rWTgQ9DM5b6B5QZ6BnLwRg1o9SZv/KMSt+jp9embSqGJk4BO9vQukjokw0ndIk /FofDRkoLhY0nrl9RzX0nGvvs9K/U+H3Hc5TabRVShtcm/9v8k6UTvVcmNvDldAN9B87 MCf7+LDYVSC3xU0yrbOOlQQQjwV5OpL4aFmag= 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=B1A64kBCNhMTnnqlZNI+9kowVGCYLi7WoZQxoRdpyiI=; b=E7kv53Ej0e2730mefJJ89jmtNJB5tkvDBwRjGBA+wQRohTXOyvo9Qyw2AFopAvv/Ee VDvzeJQP8/kHPnCcB868gLaUduxA5lwFdRrhjf9amdjmCsFD0dKaxFrLGLsJUW7+lwyd eBD+Wqs9jcNCoazXbzSHa5aReMCI3K6ZtYypdWEQo7U2DuakLp1kZlo2fgzgGLT4uCjx WmEuaRD+BBcWAByV2SdcJ3mlM7UCVjakhMG9I3Z/iUOt1UHzjYx7t3/0dehel//3HhyY 3CQ2FLUt1WUgGmk0b+QPtQ4W18oTPmcsdtSlYQZSM7ukJBT3X1nAKp/VeolbVaOXYUpN dG/w== X-Gm-Message-State: ABUngvdc9mWnfRD35Zp2qdQDdMJkhOceOFbmLBtrP2/+9+1QmvzxtxC+W7e9ioWRHwMhAXei X-Received: by 10.99.114.73 with SMTP id c9mr7179687pgn.175.1478106533762; Wed, 02 Nov 2016 10:08:53 -0700 (PDT) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id 4sm6090726pfg.66.2016.11.02.10.08.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Nov 2016 10:08:53 -0700 (PDT) From: Jon Mason To: David Miller , Rob Herring , Mark Rutland , Florian Fainelli Subject: [PATCH v5 2/7] Documentation: devicetree: add PHY lane swap binding Date: Wed, 2 Nov 2016 13:08:03 -0400 Message-Id: <1478106488-11779-3-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478106488-11779-1-git-send-email-jon.mason@broadcom.com> References: <1478106488-11779-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161102_100915_225271_D4FE8BD2 X-CRM114-Status: GOOD ( 10.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, rafal@milecki.pl, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the documentation for PHY lane swapping. This is a boolean entry to notify the phy device drivers that the TX/RX lanes need to be swapped. Signed-off-by: Jon Mason Reviewed-by: Florian Fainelli Reviewed-by: Andrew Lunn --- Documentation/devicetree/bindings/net/phy.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt index bc1c3c8..4627da3 100644 --- a/Documentation/devicetree/bindings/net/phy.txt +++ b/Documentation/devicetree/bindings/net/phy.txt @@ -35,6 +35,10 @@ Optional Properties: - broken-turn-around: If set, indicates the PHY device does not correctly release the turn around line low at the end of a MDIO transaction. +- enet-phy-lane-swap: If set, indicates the PHY will swap the TX/RX lanes to + compensate for the board being designed with the lanes swapped. + + Example: ethernet-phy@0 {