From patchwork Tue May 11 04:37:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12250473 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.4 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,URIBL_BLOCKED,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 B321FC433ED for ; Tue, 11 May 2021 10:31:11 +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 130ED613CA for ; Tue, 11 May 2021 10:31:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 130ED613CA 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=NwElVw/ZcrdO8EprV7Jy9mipKgWHaxi+dQF5h5sOFGM=; b=dd6bulDQxPaMxgt6A65prsbb33 vVPoyGXQTSUdl5J2ulgKZUNFFyxn5ewvp9d9q0GMDarf064VDGhO1fa0Y5KTK3aee5bS3lIsKCHgw /qoQJqD3NOcb907CxOxHXJU/PXNxEp9zAFMW6vE6J/L46cgFGfcxd97tAk0LciHsZRadF4vyipfMA kGF4ZStlYK4KQebQthVtbM2WrjXyBNsr02D3PYg7jyQZ1GA93oGjf3Hk0t7AHntCpdNtM3lSSybTC bSYbQgTR5bD+ZxR/4ef6hJJ5H8PInRDcEoyQUFHl/EzvsSNrKONHQgYOS/tVX+6rwrMeq4Bwdt0Ip NoiaRPEA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgPe2-00Gw6M-97; Tue, 11 May 2021 10:29:43 +0000 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgKA2-00GHk6-DA for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 04:38:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=Wh+9pb/B1M5FYEDDBY9NWhLK8n5LKJX9ZlZxNMRGBP4=; b=gO35pfBD+Z8wy5w8E4zU4Af+ii p6ITeZTZUJMmG4xmRC4DsT/eKkBOmvFkwrUsWjCLMojCgL9R5QMNS00QBwlkmxfWAT23KGPpzkpyL J9MPyXKhlJ8QTewu8kIMAt5v7elkeLnCN37FD1s67o7+xDAoGxvf+to/+Pq3EHroNbcZS64DgMR8U VLu/DVCiJHrqkbMaXSAHmKBJfioxulteY+qhcv3xozNa5+PbkIeWGKLMOwNUkTxYJryAbJ+3NyQnu l3u88bGbYSordsgnLzpPnL/DZdKRdDjEQHVQ0YxFmRJVFnn8Egs/RKc1LZUwF8foZW88tDTDfCnj9 Iz27cItg==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgKA0-009IgD-0x for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 04:38:21 +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 1lgK9K-0005c0-3A; Tue, 11 May 2021 06:37:38 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lgK9J-0007xq-21; Tue, 11 May 2021 06:37:37 +0200 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 v3 0/7] remove different PHY fixups Date: Tue, 11 May 2021 06:37:28 +0200 Message-Id: <20210511043735.30557-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-20210510_213820_088710_997538E3 X-CRM114-Status: GOOD ( 10.66 ) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_213820_088710_997538E3 X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. 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 v3: - split arch and dts changes 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. Oleksij Rempel (7): ARM i.MX6q: remove PHY fixup for KSZ9031 ARM i.MX6q: remove part of ar8031_phy_fixup() ARM i.MX6q: remove BMCR_PDOWN handler in ar8035_phy_fixup() ARM i.MX6q: remove clk-out fixup for the Atheros AR8031 and AR8035 PHYs ARM i.MX6q: remove Atheros AR8035 SmartEEE fixup ARM: imx6sx: remove Atheros AR8031 PHY fixup ARM: imx7d: remove Atheros AR8031 PHY fixup arch/arm/mach-imx/mach-imx6q.c | 85 --------------------------------- arch/arm/mach-imx/mach-imx6sx.c | 26 ---------- arch/arm/mach-imx/mach-imx7d.c | 22 --------- 3 files changed, 133 deletions(-)