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: 9812317 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 4240760351 for ; Tue, 27 Jun 2017 15:06:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34E1C28589 for ; Tue, 27 Jun 2017 15:06:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29B1828592; Tue, 27 Jun 2017 15:06:57 +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 D469E28589 for ; Tue, 27 Jun 2017 15:06:56 +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=toxo+CJMKceyS6Hvt0DHqq9y5dEhGK+Fiqwbvk8rhMs=; b=sCY9oXeXZEYdWK U0XGxxSipsq84vbYEkia9SKyRyg5bYsEiKbxLqjqDaveNIeHR0iEGyO0wZKuzXunBxvuDoojfLlZn 7fnoW0NOrTy0m1eQS0ZIDDqPYR01Ev3qL6bVfa+XcS0pyeRqtl7IWKyDf6TAzwPmN8lnxkfJKMU/b KUKtjbQ1t4uGSkNO6Uy+7ccerILVszJxHhbWPCdbiWK7ZCX+F2EZ6kzQhW5c/g3SykQg5hio7TRDG 6cH/q0d8wTF7NomrP+Nfr37ZQAbV1+yV7/+lEoMOzsSGgGXtUNFkb96dHTrmIC3KdAQyhOci7Ssjh 5q1fzKUxU6SI0arnKpBw==; 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 1dPs4r-0005lJ-VU; Tue, 27 Jun 2017 15:06:53 +0000 Received: from lelnx193.ext.ti.com ([198.47.27.77]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPs4e-0005Wj-4T for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 15:06:41 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_080640_390159_F3C28B1F X-CRM114-Status: UNSURE ( 5.88 ) 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 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(+) 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; }; };