From patchwork Fri Nov 4 05:10:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 691138 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 3t995Z03M4z9t0J for ; Fri, 4 Nov 2016 16:15:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.b="Kc1lNEZf"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934116AbcKDFO7 (ORCPT ); Fri, 4 Nov 2016 01:14:59 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:33356 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932592AbcKDFLP (ORCPT ); Fri, 4 Nov 2016 01:11:15 -0400 Received: by mail-pf0-f175.google.com with SMTP id d2so44736867pfd.0 for ; Thu, 03 Nov 2016 22:11:15 -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=4yFNoMiDGYrhmXeQl/KmZfCKpFG266PLL9hq6Ybjeco=; b=Kc1lNEZfnaJKKTuY7MYaJg6P1QVfn4bqmVNwMRk3vGsj/7YR3/X1Cptmm82cIxO0JZ Jtlpx1E3R2mnp7YY2BMkZchkML/2ismlPlVSsVg7ZQWVJ7YGILzxBWxSSo1zDFMJZMlo 7B2JE5EpsQfIlFkzfV8pC5AK1hfaQ/soeOgdw= 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=4yFNoMiDGYrhmXeQl/KmZfCKpFG266PLL9hq6Ybjeco=; b=QaN/MIR6+hROmZzzERFMxVjArY/LbLRW35CuwasnV5d4nrHBIAkRLzTVjizoeHLqyC 4EWKfUDZNpIqSLWHLKJI2GDsEaAKM1OoMWrwUbRSnup6Jk9BRJedGPpPqeJO8dTe84gA mySQ6vkt51lgrz6BlNh9K48xaA+ujlQXsAkkRH6RvDPSYzYRQNsFaHZvVLDby0Ls3XFz XLFG0pUpyn8V77i7GGbdHhHKHwrnIqItBrfuG4D+jv+EtbZ92JZJpgQqXCP5WfCNCnIw wjvx6lmjZgt/rUW95qs27s0Drsd83zWNpttVKYDm3o7J0zIS1U+X19LpKEZk7m83J1PM ck2g== X-Gm-Message-State: ABUngvf6HdZ9h4o564JisHFL0NYwI4a80JQRQNlaXxSdkUrW9otdOD9PeZXPE74OGFSYlEUv X-Received: by 10.99.45.7 with SMTP id t7mr19208952pgt.86.1478236274953; Thu, 03 Nov 2016 22:11:14 -0700 (PDT) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id 64sm5028338pfu.17.2016.11.03.22.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Nov 2016 22:11:14 -0700 (PDT) From: Jon Mason To: David Miller , Rob Herring , Mark Rutland , Florian Fainelli Cc: rafal@milecki.pl, bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/7] Documentation: devicetree: add PHY lane swap binding Date: Fri, 4 Nov 2016 01:10:57 -0400 Message-Id: <1478236262-3351-3-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478236262-3351-1-git-send-email-jon.mason@broadcom.com> References: <1478236262-3351-1-git-send-email-jon.mason@broadcom.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 {