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: 9812329 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 B508360351 for ; Tue, 27 Jun 2017 15:07:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A766A28589 for ; Tue, 27 Jun 2017 15:07:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BCA8286AE; Tue, 27 Jun 2017 15:07:24 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 11E2028591 for ; Tue, 27 Jun 2017 15:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hMOpEmFNlaZcLbsgzyNah3Z/hNa6/vTWHnKoTEUosEU=; b=pqjTRt5BEua3U8 R0kz9+jJZQX8PHPA85zHyy/px9o05n9mSae3WHfStSvkTmFKEv1Xj5AkVLDofDHaIuzX5ItuaI+P7 nKPlM2gh4mVE7Lp8KaUGYSFPuEZa+OVLwaJ8FzXZ1lL4yVZ9RF9q6cZSdCm3u7tiLe6fpbod4hejD /Jlzh543ffryaLUiXKNq9/V3zAac0gJGov/RnXaJ50rEYtUvK0HbRLyy/Ns3kZcoWASVUwwEr/7Wz E4SFpcRez3zvCp3sf5ecux8ikaDqDLb35uNHRL9oqXUkwxf4kUQtJT/epnYpqvwiYlPZrLGsg/gVR mC7r6qwY1EE44BdipauA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dPs5H-00067k-Gi; Tue, 27 Jun 2017 15:07:19 +0000 Received: from fllnx210.ext.ti.com ([198.47.19.17]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPs4f-0005Wi-Oh for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 15:06:43 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_080641_914273_C1142009 X-CRM114-Status: UNSURE ( 6.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Device Tree Mailing List , Grygorii Strashko , Linux OMAP Mailing List , Sekhar Nori , Linux ARM Mailing List 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 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(+) 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; }; };