Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp580344img; Thu, 21 Mar 2019 04:47:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+QVvNZCNi44lGBChnOIDYxdS/rgVP8layZ4ISQLNHMSpzYpr1mDgWQd1mkpuXpxGjAaef X-Received: by 2002:a62:6306:: with SMTP id x6mr2840959pfb.244.1553168824655; Thu, 21 Mar 2019 04:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553168824; cv=none; d=google.com; s=arc-20160816; b=0DvdrETnOaSZC2Jr5POQQA+prb7h/5RMmKAqNjsnaoakoAZrLXwwrKvcbBRNW82cXJ yGJb5NmdQGB0e/QifDcbI7TPGTuoCnawxc1xz2bySd/XcGXWTqGEI2TA1/lXQ6O8rp2N ORI+27bfFtq7lUd8OY5pq/oxqzz350HlutEjM3kPq9H4n9Ky1F4YSa+k9S9kXuBRYbV9 kIoTi9N/UgQ7Q3HPxSBBCzKtOqDNELoRUNZBgJH5bGKJvVaaJ88qeJHpHf31sFbona8e r8rECq6oAl3Ci0UAEjIfxRuOr26PhIXYqjs1CrWbwotxCcu3pQA9VHaDW8ja/3sgWOPH XOog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nXwxvZcGtcjuDQ8IJpMKqrLzV5vePZUyKAJAsBh9ArU=; b=mrJK5zJDd7DCGC3p88E/mJFblS47D25vTDOsXr8U3Z2Kib8BF+jukbZc90j0wbgB8K tj/OnxfdzRjVk99BsRCMwF3OGeKYTBZ9PVHl6r1TQCe1pGpf8j0b2X8aXvSm8JsLdysz exN+jAm5shy5ftOWTeGtXvpOtRk5vGzoOrQjBV1NG0BltNRVg7swfA2Ik7LRDOmq6xY+ vTLwHomHqbhMpkiQUqvkg6kBRdp2DDV5yK1uT4G1y+ms/wDOcEU5CyouU09R62T4QiM8 gJ2igS/BVKWVehj8dJHeDtC4nRj76TZD2IoEwYmK5ltZz3V2avIdQ7SAhD69SqHybSqj J7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=iWEPTvkY; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si4193988pll.133.2019.03.21.04.46.47; Thu, 21 Mar 2019 04:47:04 -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=fail header.i=@lunn.ch header.s=20171124 header.b=iWEPTvkY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728140AbfCULpx (ORCPT + 99 others); Thu, 21 Mar 2019 07:45:53 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:33166 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727923AbfCULpw (ORCPT ); Thu, 21 Mar 2019 07:45:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nXwxvZcGtcjuDQ8IJpMKqrLzV5vePZUyKAJAsBh9ArU=; b=iWEPTvkYko0ZkPy+wN5Me9qK/4 duBtldgq54stHiIN1NAK+qlr8IonmsGla2W5RmYbBNUjbVAU6+RMkeNxFIoYng57pDIID6lnxWXEJ zPmEjNGy6vzIVLNl2cWJI8HKeyud7doUAmx+jczUuBcsQx0CFNMLNxcGWLXbqF4E1NGU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1h6w8m-0003We-21; Thu, 21 Mar 2019 12:45:44 +0100 Date: Thu, 21 Mar 2019 12:45:44 +0100 From: Andrew Lunn To: Fabio Estevam Cc: Abel Vesa , Steve Twiss , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , dl-linux-imx , DEVICETREE , LINUX-ARM-KERNEL , LKML , Support Opensource Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: change phy-mode to use rgmii-id Message-ID: <20190321114544.GG2900@lunn.ch> References: <20190320120604.7D99B3FBE9@swsrvapps-01.diasemi.com> <20190321084240.fveqkhfrbtg7qr4q@fsr-ub1664-175> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 21, 2019 at 08:17:01AM -0300, Fabio Estevam wrote: > Hi Abel, > > On Thu, Mar 21, 2019 at 5:42 AM Abel Vesa wrote: > > > > It seems we have other boards that need to be fixed and we can not > > > have an old dtb with functional Ethernet with a new kernel. > > > > > > Does anyone know if this issue is AR8031 specific? > > > > I can confirm the same fix is works on imx6sx too. > > imx6sx-sabresd also uses an AR8031 Ethernet PHY. > > I also tested that changing the phy-mode to "rgmii-id" fixes Ethernet > on pico-imx7d with AR8035. > > So yes, we currently have lots of broken dtb's in mainline and I am > wondering what is the proper fix here. > > Does anyone know what was the kernel commit that introduced such regressions? Hi Fabio The problem here is, all the DTs were broken since day 0. However, because the PHY driver was also broken, nobody noticed and it worked. Now that the PHY driver has been fixed, all the bugs in the DTs now become an issue. There is also a need to fix the PHY driver, because there is at least one board which needs it fixed in order to work. When we discussed fixing the PHY driver, we had no idea how many boards would break. So we said, lets try it, and fix up whatever breaks. We can however discuss this again. We can declare both the PHY driver and the DTs terminally broken, and add a vendor proprietary property for the phy-mode, which takes preference over the standard phy-mode if present, and that does the correct thing. Andrew