From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FROM_EXCESS_BASE64,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD11CC43381 for ; Fri, 22 Mar 2019 10:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C52421916 for ; Fri, 22 Mar 2019 10:20:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b="BLzh4rUp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728014AbfCVKUr (ORCPT ); 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,FROM_EXCESS_BASE64,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D77BCC43381 for ; Fri, 22 Mar 2019 10:21:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A49E421917 for ; Fri, 22 Mar 2019 10:21:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TrmIAkDh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ysoft.com header.i=@ysoft.com header.b="BLzh4rUp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A49E421917 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ysoft.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zNW58V/mwZxzDsOcxRchx5i4MBG/z3iytPvvSe4ZGeU=; b=TrmIAkDhPBwDOUikHcNFoPBXR eylCCvZnjriHDhuWM0t3AyCMx9hlfpUTJzmRVleaFCqR7NpsUud12H4Zhd96/OhZ06yxjzsIh/ABP a32xITgBF258Uq330OOxwaY+3eDwHg6sJjnxdV9mOh45GSjc5y7X+THAjny5JejpM9ssj2QoumpfH nSh5BGtpm1zx0qgCgIveIQ35rT49BrA0FLXBVXk5WiMOWjuVHMtTvCw8Lv07/7Vkevu74OE8GETG9 IUEt7YoX1/FL3PZJgwHwKWgGHdmOqwahVcB0i7yWJ5+B5O0qRCLZrj/wk65XNKWVeKEkNwkSx+Int Ez/rBVjSA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7HIJ-0005o5-6a; Fri, 22 Mar 2019 10:20:59 +0000 Received: from uho.ysoft.cz ([81.19.3.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7HIF-0005mv-Ts for linux-arm-kernel@lists.infradead.org; Fri, 22 Mar 2019 10:20:57 +0000 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 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190322_032056_120114_84C7E039 X-CRM114-Status: GOOD ( 11.41 ) 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: Mark Rutland , Andrew Lunn , Abel Vesa , DEVICETREE , Sascha Hauer , LKML , Rob Herring , Steve Twiss , dl-linux-imx , Pengutronix Kernel Team , LINUX-ARM-KERNEL , Support Opensource Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel