From patchwork Tue Jun 27 15:06:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 106444 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp2505111obb; Tue, 27 Jun 2017 08:06:54 -0700 (PDT) X-Received: by 10.99.119.198 with SMTP id s189mr5709761pgc.32.1498576014702; Tue, 27 Jun 2017 08:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498576014; cv=none; d=google.com; s=arc-20160816; b=jz6fnW9nj+nK2idcYp1aNNlI240JlKKo8VIAy0xCYWjIH/kEe+Ap0DtFDu9meFtwna e7tIZuhXqZ1RDHUN43IaNmXcxR2pFrxe7XjxIR2I2h5LMCYCP6eyLiv0R/EJ9wUhYFRS OC5oEkbtXo2jupMjAM8kNfWisinku5s+berd/oHp+OweG8esen18FBQoxdSDhObzQ3uq AHMYetPjZEhSY1eokdwrCMCDNSdNIo7jf9NcP2GQgpMY/ZXpSZATM6o328Dfo3exOz/H +HbZloWMaMRhIlZXu4FLTNfy4KI4VJ3ZmJfmF63Ce4Sr9nrMOJCEW/BtokmxW0butSXP BN5A== 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=rv9RaeTwCf2aZnzZyTT5ppACtwdzgaT23Ob5EvwPZ/o=; b=vbKOZVM/Q0YR23uhtVAFElzEH3N3GE7gEvc5JTTt0/6pbYRZWtUgv17+MWcSafSwaP Dfap3UUByvyf89rSPLi8IfPKZ0qiNPKz45VJCD2TzlQqhgLND4gCGD1HBtyFCsQ4ixXF qYgMn8SRegferA1uF002d2ZF+PVOioCxjcnTcVHa31o9XcWYr7FVSKWrUTCg6ykiFNjE zlmuQCOy5ASq64BkRFSfNeVoTjpIrjBeNjsoiNTbY29AmZcuC3bR8vtIoNGzH7sG2BQv WbGKUYSALo0Plt+8QqdnQmaNcOMRfwLrWvPxYsVeRhJgA1kivNW83FLHZV7dj1tcVY4N AHDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.b=lh69VPPi; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 7si2302499plb.66.2017.06.27.08.06.54; Tue, 27 Jun 2017 08:06:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=lh69VPPi; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1752133AbdF0PGv (ORCPT + 3 others); Tue, 27 Jun 2017 11:06:51 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:39279 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751747AbdF0PGs (ORCPT ); Tue, 27 Jun 2017 11:06:48 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5RF6KjN010921; Tue, 27 Jun 2017 10:06:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1498575980; bh=wJAWydxUmevICQ/wxmcd9UZ2HJ36eEB5YPypkt6n3Ws=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=lh69VPPiqnpF47kEgmAXlgj1Je9pjnIkDq5kkS9hTybfSzq36aTuAIoz/5junf6Z2 C7Q92TR8e8kHT/xDrytOA3jd6pL2wyKSn4ycIvguny8lPnZUhhQtAz6uEENJMIX1h6 cCTfeRHVyMyd5hoTTSO37iv8Zo5Uw26pHUmGzdnQ= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5RF6KcD002186; Tue, 27 Jun 2017 10:06:20 -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:19 -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 v5RF6C9Q003729; Tue, 27 Jun 2017 10:06:18 -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 2/3] ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap Date: Tue, 27 Jun 2017 20:36:11 +0530 Message-ID: X-Mailer: git-send-email 2.9.0 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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 | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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 5532309971ae..9b439851ff79 100644 --- a/arch/arm/boot/dts/dra72-evm-revc.dts +++ b/arch/arm/boot/dts/dra72-evm-revc.dts @@ -80,6 +80,7 @@ ti,min-output-impedance; interrupt-parent = <&gpio6>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + ti,dp83867-rxctrl-strap-quirk; }; dp83867_1: ethernet-phy@3 { @@ -90,6 +91,7 @@ ti,min-output-impedance; interrupt-parent = <&gpio6>; interrupts = <16 IRQ_TYPE_EDGE_FALLING>; + ti,dp83867-rxctrl-strap-quirk; }; };