From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucas Stach Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: change phy-mode to use rgmii-id Date: Thu, 21 Mar 2019 13:43:11 +0100 Message-ID: <1553172191.4806.38.camel@pengutronix.de> References: <20190320120604.7D99B3FBE9@swsrvapps-01.diasemi.com> <20190321084240.fveqkhfrbtg7qr4q@fsr-ub1664-175> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Fabio Estevam , Abel Vesa Cc: Mark Rutland , Andrew Lunn , Support Opensource , DEVICETREE , Sascha Hauer , LKML , Rob Herring , Steve Twiss , dl-linux-imx , Pengutronix Kernel Team , Shawn Guo , LINUX-ARM-KERNEL List-Id: devicetree@vger.kernel.org Am Donnerstag, den 21.03.2019, 08:17 -0300 schrieb Fabio Estevam: > 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. Fix the DT. It's unfortunate the a kernel and DT bug canceled each other out, but if the DT is clearly broken and fixing it in a backward compatible way is not really feasible, I would argue that we should treat a DT bug like any other bug. Regards, Lucas