Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp625793img; Thu, 21 Mar 2019 05:44:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyLY2lvk8DdcLw0wRmODkUCKiElIdGGTtWZXvJhZAdhrOes/SXOKt3oaha1yc7u0GWqFCU X-Received: by 2002:a63:cf11:: with SMTP id j17mr2342382pgg.252.1553172283408; Thu, 21 Mar 2019 05:44:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553172283; cv=none; d=google.com; s=arc-20160816; b=Hiwd+ibRmJkOg9NMsKfmN4ZVfk0F8uRpp9CxcPmSDdy+Rwfh0G4zUDYF4uFRdWBPtQ 6KDH8svMwTLsjqd8OE39508Nj48UKj08Zb3IQkLjSPgFb+WtBglV6AMdEMo687gJ8dVq AAmQcO5KZ1XwI9ockQwXiIq2c7cDfJ13UawikcfO/zlzEMgc+QZ8v+z54+4VPG1geye7 1ZIXURwOA8YhZQrZty8v/nxhB+XImeD1k+y0/I9WmRfHo1GdzA5fbaOjxr8NQhEYoiJx 7FWjjmRTcsssYzYUudbZ470e8krCdx0fkJTHRl6fPMvW/ZbgvYDngO+8aqststIehcRG DS2g== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=cA2+4DqrMxjNe/JWfVKedrwAPceXCxCZjNJ3Q+zJ0k0=; b=0icgqIy/zOeZBtjQkoIzEfm4KD7/ntF9ZhxbKHAnFAy/6tl4W+/PlwNQNSzwCwoBdK KQmAjmw6pS40KDQ33C3SCeuAu/bjglAPVu/6/tvlLbBhxwxqAWfQcOk45043J+1Jj2vs wrFG5nNPnsCVkZP5lxHxtseTOdD51I8TurqJAVZcmAUqg+gqWAhkdRFZhksUjxVuU+zY R/9O2Uwf9i7g0a/EQtYE5IgSPQMKSTp4tdabMAEzTTX2Pi9MWeWk7t25vPKyK7rxQhij yzg9Iw87OrMI9a+owkLGvlO0gi8rhDUtW0CEVpiuOBdP2l+mtZ5PupsyVnSYbzn0Mkh3 rvVQ== ARC-Authentication-Results: i=1; mx.google.com; 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 v7si4065022pgk.464.2019.03.21.05.44.25; Thu, 21 Mar 2019 05:44:43 -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; 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 S1728262AbfCUMnQ (ORCPT + 99 others); Thu, 21 Mar 2019 08:43:16 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:34673 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728085AbfCUMnP (ORCPT ); Thu, 21 Mar 2019 08:43:15 -0400 Received: from kresse.hi.pengutronix.de ([2001:67c:670:100:1d::2a]) by metis.ext.pengutronix.de with esmtp (Exim 4.89) (envelope-from ) id 1h6x2O-0005BL-5C; Thu, 21 Mar 2019 13:43:12 +0100 Message-ID: <1553172191.4806.38.camel@pengutronix.de> Subject: Re: [PATCH] ARM: dts: imx6qdl-sabresd: change phy-mode to use rgmii-id From: Lucas Stach 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 Date: Thu, 21 Mar 2019 13:43:11 +0100 In-Reply-To: References: <20190320120604.7D99B3FBE9@swsrvapps-01.diasemi.com> <20190321084240.fveqkhfrbtg7qr4q@fsr-ub1664-175> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::2a X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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