From patchwork Tue Mar 9 11:26:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12124717 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 935FEC433E0 for ; Tue, 9 Mar 2021 11:29:22 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 0D11F65259 for ; Tue, 9 Mar 2021 11:29:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D11F65259 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Ss7A8yXCK4NX2NkUEWV/LdQWzluJCBbHnHELnkx8PGE=; b=XW+riAi5YjTg0UkeLyiqPrn28I 8F15zwGacBuWuDK0JBmx8MHjCR07OiIe3tmr6ztiJod+4mZbUBHEskbkqHc8IZOCtC59suQFd87xA LImNbxT1NHVJliiHUauagH8JVIPMM52Y22zWhe3xtGICOaFdtp1/Xvo/sFY3UzWzRwv2XRasFBxo/ EX7vZn9/3G6dfjak8Re98JkOeyDapEXwhrW9eOshXunsOIIhRdDt/+D5dnn/kS3MgkS2aUSFOqAoZ 1SNYGAK4ID7HD8Jp4gtfWj+lXQNh1Hin274AkOrbaXPaNY9EkGvkl8QXBX84CVZ/9PmX5fHmmX+FS ZoWjXb3A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJaWe-004JCH-8d; Tue, 09 Mar 2021 11:27:44 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJaVm-004IvG-6T for linux-arm-kernel@lists.infradead.org; Tue, 09 Mar 2021 11:26:52 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJaVF-0006wb-8I; Tue, 09 Mar 2021 12:26:17 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lJaVE-0000B4-0W; Tue, 09 Mar 2021 12:26:16 +0100 From: Oleksij Rempel To: Shawn Guo , Sascha Hauer , Andrew Lunn , Florian Fainelli , Heiner Kallweit Cc: Oleksij Rempel , kernel@pengutronix.de, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Fabio Estevam , David Jander , Russell King , Philippe Schenker Subject: [PATCH v2 0/7] remove different PHY fixups Date: Tue, 9 Mar 2021 12:26:08 +0100 Message-Id: <20210309112615.625-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210309_112650_387871_C3A12922 X-CRM114-Status: GOOD ( 12.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. 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(-) Reviewed-by: Fabio Estevam Acked-by: Lucas Stach