From patchwork Wed Aug 9 14:02:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 109720 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp915044qge; Wed, 9 Aug 2017 07:03:49 -0700 (PDT) X-Received: by 10.98.98.129 with SMTP id w123mr5194190pfb.221.1502287429021; Wed, 09 Aug 2017 07:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502287429; cv=none; d=google.com; s=arc-20160816; b=zUAvvzi+iS1Hz9tMdQAC00jr7rBXu1n3iWfTfhHUZMteFz1NTL8c5CxaG23eM98/5g AXfnMzJY7hFYeDinob6UzJUMe2ZghvS3hcys6JudNZM1G80cZhlAPrFbuRslJuWd0U9h u2jda60Zz/goEAoho7U9ZKVX+KgewAlk4cfRG0zvxqAv69/Cw9v6UiXvA9pSJMBobKVO Ei6bOD+clsMVSBZL5Zn6d1xxugD1j9viRXCosCBxLJuBfi41E3Lc4LJmyMdJ5oR/Asg5 P86Ed7Y7I2DXDtlGxiPKRyLOhypbl3Zsw4gcQ0z1OIUtuPWCYyHb/DceQd8t4SQWuwHc cEaw== 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=7Xn2xVMh9H9KG4rWqHGQUo5wUBtqxAhFkSgulen18zY=; b=Q9Cm5h56DWNoGEGE9AhvTr31bwNKVEyINVBPd4yLJ7VVfAJF+o3qmJqeOEPMKjaPkk C6JMl7d7Xm7YeWgHom4lhNJfjaZVdpZ70S9hhKcy/Rj6opmhLS0dwEwgqEvqK+m83wzs yhYfP+Oq3spvlGT4SIxxWha4Gwq7uBv9AUPTdxoebCr9DGJwlXIl4sOp2qL3PdIbT1VC Eh8KSAny5MXgb54M2fFPzvgt4Bv8ojli51ykuAs68Awmn2yiDxRc9V0KnoijaWCKbuDw GRatALx/caO7zkQlVvAE1baim4ehUPu70iLvHhS/ZtHa9EpCow+jZLsTMNOPHtnI8WrG 0v8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=wF8C2vWZ; 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 h90si2771537plb.303.2017.08.09.07.03.48; Wed, 09 Aug 2017 07:03:49 -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.s=ti-com-17Q1 header.b=wF8C2vWZ; 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 S1752756AbdHIODq (ORCPT + 6 others); Wed, 9 Aug 2017 10:03:46 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:60964 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbdHIODa (ORCPT ); Wed, 9 Aug 2017 10:03:30 -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 v79E2wCu009694; Wed, 9 Aug 2017 09:02:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502287378; bh=3bH7xojbpxNXAbkKLz/+IePDZGLejH+N5dmVchEZJ2U=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wF8C2vWZe9Du0aPRy6s4K+2RICmURG4m0hRzaFVJRc9WQ+7uASlyhaydobYNi7s8Z ViNctk2ndmytg2BEaM0PlEiQNp2TkKSjGcEiIQmjMJUJXQIP9RtCWl9cRDAnCO7SUB mLkAiYJ7f5lUFprDBYfuSFW16rB+j790oDd5jxew= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v79E2wne013992; Wed, 9 Aug 2017 09:02:58 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 9 Aug 2017 09:02:57 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 9 Aug 2017 09:02:57 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v79E2opp008741; Wed, 9 Aug 2017 09:02:55 -0500 From: Sekhar Nori To: Tony Lindgren CC: Rob Herring , Mark Rutland , , , Subject: [PATCH v2 2/3] ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap Date: Wed, 9 Aug 2017 19:32:48 +0530 Message-ID: X-Mailer: git-send-email 2.9.0 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The DRA72 EVM Rev C 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/dra72-evm-revc.dts | 3 +++ 1 file changed, 3 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/dra72-evm-revc.dts b/arch/arm/boot/dts/dra72-evm-revc.dts index 3ecac56bf504..be18bc023c3f 100644 --- a/arch/arm/boot/dts/dra72-evm-revc.dts +++ b/arch/arm/boot/dts/dra72-evm-revc.dts @@ -70,6 +70,7 @@ ti,min-output-impedance; interrupt-parent = <&gpio6>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + ti,dp83867-rxctrl-strap-quirk; }; dp83867_1: ethernet-phy@3 { @@ -80,5 +81,7 @@ ti,min-output-impedance; interrupt-parent = <&gpio6>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + ti,dp83867-rxctrl-strap-quirk; }; }; + From patchwork Wed Aug 9 14:02:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 109722 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp916377qge; Wed, 9 Aug 2017 07:04:44 -0700 (PDT) X-Received: by 10.84.232.11 with SMTP id h11mr9252670plk.126.1502287484093; Wed, 09 Aug 2017 07:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502287484; cv=none; d=google.com; s=arc-20160816; b=RY9LNYW/t4NLKc5SCFGwe6hRY4rc6qruZIl2kwoNF4IY2INBUGYiG2ce9kULTdsiQi XYgjHlqHELSm60hswukQGjWobPTP7o0BNcWOgapNQ51KJk915TE5QZuHGRNOdo59zX9K VllbJspIiUKK3OmjPBeLKzkLq4no7a+GDWzO4T8CzWn57PgiKvPyn0RnH0pPpyxJ5NVJ xKvHiNUdgthJso+jc1BneBr0MFN4DuRLO5Oj2+QwEEQDO0iQ2kTsdb89fD08k7EEPJpf oS/9iG/pWYOc6DGBZPN379Xjk9Fo4kLpsC+1k8xBuEnN3vmBPBMWE7cbHUGDRInCkz1G +B8g== 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=ynUtcuUfLXYtcJHZyyMfoTAqKYYQ99B9SbPUGCginoY=; b=Hp7jfm72wmNhH5aiJmprYwZCLyxRIT7vXJqsFdaNLCiAnt93VMZYwcz7GcxI8Myoj1 CgLMLtFIMcJFp8yGJtYc0Pq63QcYqCmbQ0N80Q6/yHbuoXRsyz7DyFyNlgsy5c6BgM/D wqiTH0H4ZMCbHfc25LeU5V4dvrpVq1c95jxdXHDfVUvCYHu0ctSjlRl/lnkA9xKGWGXc z3p/qz/X90po6NWzvh2gcO9rdY4rrwtfOx3KM5EmzvyWxhKQU1Aa+vDpz21OlUZkPjb9 JZQPleaGtuX2N5BmlA+bO/YZb0EFVwAaCIHFHd4xvk9Bfpp5tarbvigh/+bQ7ZADiFxa wtIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=hj1mq3TK; 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 r39si2146799pld.443.2017.08.09.07.04.43; Wed, 09 Aug 2017 07:04:44 -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.s=ti-com-17Q1 header.b=hj1mq3TK; 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 S1752586AbdHIOEm (ORCPT + 6 others); Wed, 9 Aug 2017 10:04:42 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:61051 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbdHIOEm (ORCPT ); Wed, 9 Aug 2017 10:04:42 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v79E35FJ000567; Wed, 9 Aug 2017 09:03:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502287385; bh=XIu6LRi/wLsgviPBbnLtMO0GniJwetXnoPleS3GP8+I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hj1mq3TKHZBGBuqWWbRy5uOxrp9iOEW0/PjQTUZinlu6D66JPP59cP+P+n9dUcsEF MvtyWhcStEkioKSdil6TPPott15HTltJ0+JKkHAC62JiQuybf9h5AHPV//R+4lClJO P8KnXzdEod9naqUdUx55OVhCPHjRWMLnJH+BNUa8= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v79E30ek014027; Wed, 9 Aug 2017 09:03:00 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 9 Aug 2017 09:03:00 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 9 Aug 2017 09:03:00 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 9 Aug 2017 09:03:00 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v79E2opq008741; Wed, 9 Aug 2017 09:02:58 -0500 From: Sekhar Nori To: Tony Lindgren CC: Rob Herring , Mark Rutland , , , Subject: [PATCH v2 3/3] ARM: omap2plus_defconfig: enable DP83867 phy driver Date: Wed, 9 Aug 2017 19:32:49 +0530 Message-ID: X-Mailer: git-send-email 2.9.0 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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. Reviewed-by: Grygorii Strashko 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 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