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: 9411919 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 DD40D60585 for ; Fri, 4 Nov 2016 05:13:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB72F2B06D for ; Fri, 4 Nov 2016 05:13:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BCBFB2B088; Fri, 4 Nov 2016 05:13:40 +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 4BD522B06D for ; Fri, 4 Nov 2016 05:13:39 +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 1c2WnN-0006BJ-4e; Fri, 04 Nov 2016 05:12:05 +0000 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2Wmu-00060A-0Y for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2016 05:11:37 +0000 Received: by mail-pf0-x22b.google.com with SMTP id 189so44697598pfz.3 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=EfyuG5EFGmBlbpD53mvIhVuRHpZTCsN+t3mtO3qcdmd0a49wTwaHW8ZiQYEB0Q0SHM oeKfuO4G5T20JPSDwEb7E7NtcOQ+wNFZaZeBBQAu5nP3Tge5okNoChgT2SxmWu1o3h2V 1fX3Pcd6uUpNU5TgcXsKjRnOtMxjoKP1RsNryGwkjzpuKemQZNwoFWm73dYTXTNN1HpM 0qTEfLFiTuC57x07xZacywz/otneZ2oHpBZe0KbfeS0Wx+JExzDrEpeP254c9TsNe0Rf aGaxjAir2U1AqnqbyMPQA01pSgjGxonzsjGY7P9IjTtslVu4u1fgLBjDwzshnRfswvQh Sw2g== X-Gm-Message-State: ABUngvc7h30TpcEOJ6ZTcEIvhOcgq0HnhxYAG1CcFr3rftMbDxaBMOGcrtT/nIDamrlYnPqn 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161103_221136_201333_EC365454 X-CRM114-Status: GOOD ( 10.64 ) 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 {