Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp532719img; Fri, 22 Mar 2019 03:21:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqy93+Wib80IeWEeM1xHaqwxwl+eAMcL8eIzaxz5ekZl3dzp4TOcIIjCmlgqYfx1eEhTfTlg X-Received: by 2002:aa7:864a:: with SMTP id a10mr8643014pfo.181.1553250102939; Fri, 22 Mar 2019 03:21:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553250102; cv=none; d=google.com; s=arc-20160816; b=V6vnOhulk/L3JLessjdrpLdlMD793NoyXKayIy4jh7YCflK4HAbxNtoLE3IHhfesOB VXQB3iaXfP0/EWxM/SZO9G0jce15+2L+hGefIwmGcbPwPCRvoWzAtCHUMULSed35SxHV 4Wn/Lkwel+DWw2vE7n/u75FLBrcw7zfikM+BrGk+Z2iCJ9O0GlwjW/puZFGipRVLFso0 6pyPpw3a+SvFwzqEMk62HH0f5ciyY0g3QvxdlalDPuS4AxrcHHNIfv7Uj7cLoZDsuAei 8TFs8L7+41wgC1/q40CJQq3Q5wU8zyUY+Z5y6ak98hFburijiHaGNs7QjCqg+DYlQPjd LFpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6wAZmjOo+MXt0apw1D1UgrwZT5rew30LturdOAwr4lM=; b=oOx46YIX1hQhBJk/aO67fVmlakHzSVWfVIu0mrhT9c6fqjW0bVZmsuSI56lIigD0ma mI1Nb5aL9VCdKi3Ler3n1wmG98jR+P4Am8a0Vyzw36ZSvKtWx56Cs5GS970H9fZohsyw 4i5OyOmOht3cmTdHgjcr1jB6sYraYb8mNRSmVbVa//HjPi+YRpB1qlObIChLza5xzk45 Z7KQVM3O2ACX+bAh7fZheVkxqjzrIF4D72kIpHZeGK/t8y1ByDpze/VqD9w8GvndkAlU yxDH9eoHbTKV8/NmOchCrPamEB7nOP5tY7LIOXu2xYbgHsclJSDErHflibRWNwcUxcG5 MAhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=BLzh4rUp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si3841429pgc.225.2019.03.22.03.21.27; Fri, 22 Mar 2019 03:21:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=BLzh4rUp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728006AbfCVKUr (ORCPT + 99 others); Fri, 22 Mar 2019 06:20:47 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:51874 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727713AbfCVKUr (ORCPT ); Fri, 22 Mar 2019 06:20:47 -0400 Received: from [10.1.8.111] (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 85AB9A25CA; Fri, 22 Mar 2019 11:20:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1553250044; bh=6wAZmjOo+MXt0apw1D1UgrwZT5rew30LturdOAwr4lM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BLzh4rUpV05N7jFKxt9FuklYL4qk4nlFGPKGx+CydklmoI509gixz3oXrM9u9AtcD FIK5pPQFqXte2hi83ZWKBBsuxGZ/xGza+AhAWE3CDxzGXX3Gmq/MCBTlMq6Hl3QyGT xUsW5dmte4Q88tVud2cpRnzCAybvTqhWaf1Z6Bqs= Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: change phy-mode to use rgmii-id To: Fabio Estevam , Shawn Guo Cc: Abel Vesa , Steve Twiss , Andrew Lunn , Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , DEVICETREE , LINUX-ARM-KERNEL , LKML , Support Opensource References: <20190320120604.7D99B3FBE9@swsrvapps-01.diasemi.com> <20190321084240.fveqkhfrbtg7qr4q@fsr-ub1664-175> <20190322011155.GO12513@dragon> <20190322021521.GY12513@dragon> From: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Message-ID: Date: Fri, 22 Mar 2019 11:20:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22. 03. 19 3:24, Fabio Estevam wrote: > On Thu, Mar 21, 2019 at 11:15 PM Shawn Guo wrote: > >>> Unfortunately, just by looking at the dts files we do not know if a >>> board uses an AR803x PHY or not, so I am afraid we can not do an >>> automatic conversion. >> >> At least for those we already know? > > Yes, I can help preparing a patch that fixes the i.MX boards we know > use AR8031 PHY. AFACT this issue is not AR803x specific. I was hit by the same problem with QCA833x switch on imx6dl-yapp4. Though, we are currently the only platform in tree using this chip and Shawn already has the fix in his tree. I am not aware of any other PHY drivers that my cause problems. $ git log --oneline v5.0..v5.1-rc1 --grep=RGMII --author=Vinod -- drivers/net/ 6d4cd041f0af net: phy: at803x: disable delay only for RGMII mode a968b5e9d587 net: dsa: qca8k: Enable delay for RGMII_ID mode 5ecdd77c61c8 net: dsa: qca8k: disable delay for RGMII mode cd28d1d6e52e net: phy: at803x: Disable phy delay for RGMII mode Michal