Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2486783pxb; Tue, 13 Apr 2021 03:11:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr+gd0tL8Jw6MUHBz4jMl+PBZSU8SExQ9qraCGxGj3evHeI18yVwcyBOps+oNzur7nUFm2 X-Received: by 2002:a17:90a:c281:: with SMTP id f1mr3931452pjt.58.1618308688122; Tue, 13 Apr 2021 03:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618308688; cv=none; d=google.com; s=arc-20160816; b=BVXwePdwOC3V5jGXCdFhzi9mdCCWhNWlbaqOhB3Lcihfg+EnWOGFDqhKeSjzj9VFiY avQqZJ6+HMUxvyiwnxPMbwbNI6k51EbfDOGQ0h7faw/1LS9pwPKSDStts7EPzmDZaTdy xMP7jmjCAVXSB1vEuC3TS3hgCbGFTdNsy7z41Y/cO06SjkvlPeTX1eGhLEjLgVh9KHvq jYYiw6/CkRWJVOjyuMgdHzgj2qX/eoiu//+Ozy7EUGnyhiNiD4CiCBTq3Wmzq/pbE6aS niXscUYU94NV2FBOBWybHM3x/6dza1HebNWjgu1AbhaDbu7KcygVIskySQKa45igIApB EiBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=B2+AqtVFG09vi13262CK+uafyoOga9ey2Z8xBQxsXBo=; b=iauMw2eSv7FzZumnf6BqsuI2VD4DA9hOaDd8U8M3R5I5hQeyBz39orJFpULNErDZ9h gkTKq8IINgbf9vFjDfiTbuL29lg48DXN0mqfofGB+tLLXHbxxG+R4kz3fd1ArQGH9pje mEQlHcEXTO43HlPpaVVyI67zniSiGvmwir68/TZbrAUvTfbXaARpnozRZXfjpAa6grse QSi6irP0dfwBRXFqG12wbT6Jb2FetPUSEaYXv+G2X3dQsyqTS/z2SOSCP/ND0XdEWKhY mpTK5j3CVHyXTlXQ8R0SpSBqJCzGZgNK3V7gaofy537XvMAA0LnKF5+91RawENstOafM xoBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t127si16646049pgt.514.2021.04.13.03.11.15; Tue, 13 Apr 2021 03:11:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242965AbhDMKBP (ORCPT + 99 others); Tue, 13 Apr 2021 06:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbhDMKBM (ORCPT ); Tue, 13 Apr 2021 06:01:12 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB83FC061574 for ; Tue, 13 Apr 2021 03:00:52 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWFqh-00049D-7p; Tue, 13 Apr 2021 12:00:47 +0200 Message-ID: Subject: Re: [PATCH v2 0/7] remove different PHY fixups From: Lucas Stach To: Oleksij Rempel , Shawn Guo , Sascha Hauer , Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: Philippe Schenker , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , linux-imx@nxp.com, kernel@pengutronix.de, David Jander , Fabio Estevam , linux-arm-kernel@lists.infradead.org Date: Tue, 13 Apr 2021 12:00:45 +0200 In-Reply-To: <20210309112615.625-1-o.rempel@pengutronix.de> References: <20210309112615.625-1-o.rempel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Am Dienstag, dem 09.03.2021 um 12:26 +0100 schrieb Oleksij Rempel: > changes v2: > - rebase against latest kernel > - fix networking on RIoTBoard > > This patch series tries to remove most of the imx6 and imx7 board > specific PHY configuration via fixup, as this breaks the PHYs when > connected to switch chips or USB Ethernet MACs. > > Each patch has the possibility to break boards, but contains a > recommendation to fix the problem in a more portable and future-proof > way. I agree with the opinion that those PHY fixups introduce more harm than good. Essentially they are pushing board specific configuration values into the PHY, without any checks that the fixup is even running on the specific board it was targeted at. While there is a real chance to break some out of tree boards or incomplete configs I think that's something we can accept here. If someone makes a case why they can absolutely not fixup their DT or kernel config we could even bring back some of those fixups with a proper board compatible check to avoid mashing things up for other boards with the same PHY. I guess the only realistic way to learn if someone can make such a case is to apply this series and look for any fallout. So for what it is worth: Acked-by: Lucas Stach > regards, > Oleksij > > Oleksij Rempel (7): >   ARM: imx6q: remove PHY fixup for KSZ9031 >   ARM: imx6q: remove TX clock delay of ar8031_phy_fixup() >   ARM: imx6q: remove hand crafted PHY power up in ar8035_phy_fixup() >   ARM: imx6q: remove clk-out fixup for the Atheros AR8031 and AR8035 >     PHYs >   ARM: imx6q: remove Atheros AR8035 SmartEEE fixup >   ARM: imx6sx: remove Atheros AR8031 PHY fixup >   ARM: imx7d: remove Atheros AR8031 PHY fixup > >  arch/arm/boot/dts/imx6dl-riotboard.dts | 2 + >  arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +- >  arch/arm/mach-imx/mach-imx6q.c | 85 ------------------------- >  arch/arm/mach-imx/mach-imx6sx.c | 26 -------- >  arch/arm/mach-imx/mach-imx7d.c | 22 ------- >  5 files changed, 3 insertions(+), 134 deletions(-) >