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; }; }; From patchwork Tue Jun 27 15:06:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 106446 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp2505484obb; Tue, 27 Jun 2017 08:07:12 -0700 (PDT) X-Received: by 10.99.3.15 with SMTP id 15mr5679019pgd.99.1498576032548; Tue, 27 Jun 2017 08:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498576032; cv=none; d=google.com; s=arc-20160816; b=nYrQHlKPVnB8fg0UsylZ7C3L/IFizKKB5lxun4e4f+eGw2uqHB3bWAImu0nw2CCUnu trrRqW2SpwJWaY7ZwK0OwOpCz9L9OD5XhVDlWxvivpcTpHl9mQdp9PW73XdIqNAzQ4+D HD19/YSNml3j8IbDgtLit8HVLZPq7TN7gyC77SGjRg3ZG5nugthmcIOnFrpOqXPO7qkq 20Mv3lIrKDvLRRm8a7pmugaQnb41tbD1jWOO9wRSVecI3ojIStFoRWS2DDo5JOTQvUCE duB96KSkR+Z8Fnb2MHYVowUUjiu3M6k155L/HOx4OGnjSzU7FJzF1qYELq9Nh3HsHVVS +QJA== 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=9h1BMghhlYv0Y3pnE89OtHqNyB3g/OzaDRtMPKsNtkA=; b=QQPAeFdaVB6PabC8PkYA+gsuBy8gBfS693v5R/9YFE+Oy1eu0UcqNt27/T+vf9Tl+T iN7zb0bUCf1/SkVtT1KSGbrDTpwyS/q/dWOhqQQuCvDmiNGz5OiguxPi2RdNGZld/7yF FCrVQJecbEI+Qa1eoBMSc8W1h7WV7L7iVsvDtwviRZdpcEY/ulGpbggojlrkgHXv3kBL kjVLbPeGhOVPN1V9rdPlRGottuzAdhq6n8/uY5YvhrH13Qn9phiNQ5WLmOKLhMkDX2vu CYMEJWf7v8hnRsshK/thu39QT4SvEoh4CY7cMvRtKnJlCAvhkyIGZj76rNl6h/NjKEm3 Ny1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=NVdNXBdI; 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.12; Tue, 27 Jun 2017 08:07:12 -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=NVdNXBdI; 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 S1752399AbdF0PHK (ORCPT + 7 others); Tue, 27 Jun 2017 11:07:10 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:65265 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbdF0PHH (ORCPT ); Tue, 27 Jun 2017 11:07:07 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5RF6MM4022040; Tue, 27 Jun 2017 10:06:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1498575982; bh=SDQg/Y7rq5cP/rbEWB2e5VNgeNJrFUewuElcLrrcuww=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NVdNXBdI6iuusvTgALAYjXmiV7cEvyfq3myBbfsHrzSQjJ/1AhvlKzBdVsM6WaOmN lefwJxAQcV/I3laS6NkvjHiptatJLTsZnANBxAM9kdo0yP/ohzcv567oaoa2NSXwAq JewBmxSZtbZ5CFjLLza9K21HhVF+P1H8sNha3Mgc= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5RF6M7a006404; Tue, 27 Jun 2017 10:06:22 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Tue, 27 Jun 2017 10:06:22 -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 v5RF6C9R003729; Tue, 27 Jun 2017 10:06:20 -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 3/3] ARM: omap2plus_defconfig: enable DP83867 phy driver Date: Tue, 27 Jun 2017 20:36:12 +0530 Message-ID: <3e141e778cedc0cc6168a9f9a3787a49042681c5.1498573382.git.nsekhar@ti.com> 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 TI's DP83867 phy is used on DRA72x EVM rev C and DRA71x EVMs. Enable support for it in omap2plus_defconfig. The driver is built into the kernel to help NFS booting. Signed-off-by: Sekhar Nori --- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+) -- 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 Reviewed-by: Grygorii Strashko diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index a120ae816260..d4afa2ca2537 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -170,6 +170,7 @@ CONFIG_TI_CPTS=y # CONFIG_NET_VENDOR_WIZNET is not set CONFIG_AT803X_PHY=y CONFIG_DP83848_PHY=y +CONFIG_DP83867_PHY=y CONFIG_MICREL_PHY=y CONFIG_SMSC_PHY=y CONFIG_PPP=m