From patchwork Tue Jun 27 15:06:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 106445 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp2505341obb; Tue, 27 Jun 2017 08:07:06 -0700 (PDT) X-Received: by 10.98.64.7 with SMTP id n7mr5641858pfa.76.1498576025996; Tue, 27 Jun 2017 08:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498576025; cv=none; d=google.com; s=arc-20160816; b=uFoa9rAwbCCDuJcy3W1zZsqR4YmmbNSir6l7D1AigFCfQLloGNRO+e7lxnNFAMniaB +tGnY1vYM/UBRCvPa6NjJgKiqI6x/DyfwfP3HFELNZpnP6oPeCWJQeMOFcVOMU5UW8wX /lp0AImNbFqOIQCdbayFg+u+TorNxp37KSpB8s6nKQX6itKtfmJPMFOAxlzJRs/UpyXm Pbf5n89XaODEhoeK6zFys+MO5l49dXcAi+Sqy2bdnGvV3hAZyzBGVWfzbsKbGr7BSH8C AJ85jrn92KaLy+y3OxM4pRvj+9b78RJpJPLzShAhkXyxVDMCvAVXDD+9MnXUgXhdJ7OA +Vqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=S9GxDp+6ufSM1nwMCZQDwecJDin2P3K0wT1N1B0k7io=; b=fDwINMSQWUb+el3wtTpX0W/2mbZbUS+kcgIV3gbmxllrJiPISoUfnAD5iHtbj2Jrv5 KdlZP/Hu0/MziOW6O+QSRbjgDkXIfLjMPoZ7wvLA7Kq2/n+UFin8wjzjScjJktQC9slZ RF6S0XzXZ/ZdNFpezcYNzpbB88V88AXKl0cOff9wWlv+yZrSnOEd4kwy8iITceTWiD5H fBff4C/0tqTKqSagU3HFgVMZJ51Ovn/i4QhO3yXNe0zIa5SFpoTjdeCAUuO94lYv8kuz pcGXoD/yXsRtr7Jh7F7Xa138GSub0wKD2euF2QW/qhO4vuu40Vq2rOqQLLxpaFt6Mue6 CNWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=qqO6G3e8; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a91si2321144pld.188.2017.06.27.08.07.05; Tue, 27 Jun 2017 08:07:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=qqO6G3e8; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752017AbdF0PGx (ORCPT + 7 others); Tue, 27 Jun 2017 11:06:53 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61626 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751998AbdF0PGt (ORCPT ); Tue, 27 Jun 2017 11:06:49 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5RF6I3G012373; Tue, 27 Jun 2017 10:06:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1498575978; bh=3m+dnorpJbnMTKddsIBJ6jCCcYMbEXKZLGhkECgJnlQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qqO6G3e8Dor1030u8VRNVZ1QSTNjmJ00SgSiRBIoiEFe/7UYik/EvRZAmv2oxrJ6Y iQM3ZPgZGGIoD6Lqv2CuqesGKjGEPzrGGFoTZUMU76Xt76jJtgc/bPtMyVwep0JqSS 1drxr4kea+uWBabcUQWSU9BLj8X76P0jXfEjGVc4= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5RF6IXM006333; Tue, 27 Jun 2017 10:06:18 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Tue, 27 Jun 2017 10:06:17 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5RF6C9P003729; Tue, 27 Jun 2017 10:06:15 -0500 From: Sekhar Nori To: Tony Lindgren CC: Linux OMAP Mailing List , Linux ARM Mailing List , Device Tree Mailing List , Grygorii Strashko , Sekhar Nori Subject: [PATCH 1/3] ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap Date: Tue, 27 Jun 2017 20:36:10 +0530 Message-ID: X-Mailer: git-send-email 2.9.0 In-Reply-To: References: MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The DRA71 EVM straps the DP83867 GigaBit Ethernet phy's RX_DV/RX_CTRL pin in mode 1. Unfortunately, the phy data manual disallows this. Add "ti,dp83867-rxctrl-strap-quirk" property to the phy's device-tree node to allow kernel to enable software workaround for this incorrect strap setting. This is as suggested by the phy's datamanual and ensures proper operation of this PHY. This needs to be done for both instances of this PHY present on the board. Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/dra71-evm.dts | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/dra71-evm.dts b/arch/arm/boot/dts/dra71-evm.dts index 570f06e4f71f..c1a7ee09218f 100644 --- a/arch/arm/boot/dts/dra71-evm.dts +++ b/arch/arm/boot/dts/dra71-evm.dts @@ -205,6 +205,7 @@ ti,tx-internal-delay = ; ti,fifo-depth = ; ti,min-output-impedance; + ti,dp83867-rxctrl-strap-quirk; }; dp83867_1: ethernet-phy@3 { @@ -213,6 +214,7 @@ ti,tx-internal-delay = ; ti,fifo-depth = ; ti,min-output-impedance; + ti,dp83867-rxctrl-strap-quirk; }; };