From patchwork Fri Mar 31 08:34:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13195496 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7817C6FD18 for ; Fri, 31 Mar 2023 08:34:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 579B4C43446; Fri, 31 Mar 2023 08:34:49 +0000 (UTC) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id E7859C433D2 for ; Fri, 31 Mar 2023 08:34:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org E7859C433D2 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f51.google.com with SMTP id q19so18516577wrc.5 for ; Fri, 31 Mar 2023 01:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680251684; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=wKmFDwBzmqKaD1W7wuLHbQZgTpJgWQagzC13l4DdTqw=; b=ez7Y8DKhU9m8mENWYc8eLh3UjQj04JKUYpk8LZc0Cgj82lGXgAqKThXbmY29WwZFpa 8iJCKddXPmrHzPzXLQ682kWfEp0XTxPc6/GH5fWihQi5njtBGVCzQSKchgik6ZjPxGVs LJ6kI8ENaL4ylviyHLejBooWU1vyhc5pUBM2V6BzXIypiwp1tF0C80ee0BcHRFohBjvs PS3KjixZZ5L0SEv7mF4LYg/aatUGXQwxrjYjN3GBCSHubljOca4C/g7Smtoai9yEYKM2 MPuBgGNvstDtP1p1JijRIUW+SkbLI/c5/0B4ugSh+dx2vHET0l1a/8etg25rGkrvIHls EkFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680251684; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wKmFDwBzmqKaD1W7wuLHbQZgTpJgWQagzC13l4DdTqw=; b=JIBr4XfplbvrxxU3N9DdIyHkScHsBVX0rYrqT21Y7JqLxhgUmDo4HSSz7RtVWAygn5 8XQOR1JcpzNCdeM2O78Y2BGJ4wVgaVV+tGzf+pZmqBEuui0SZpt7gDNSflYkaUCc9t39 RpTr30MQapENa91gG9q/sVu2d944YdImtztRLkUecMJXA+l+ZCUKDoLZ7ePUEKi4pDK7 PlMuFw5l6Tqr+errQ0LbbYMCaQycC/cT+84lF0PUIU9r5S2+JTI8G0KJaxeg/MH6o4FM ZiS5ctKxjoszLBe6v93wdpMmJfsvBaiFe1kJOd6NUtV8UmyTxiV1XbjUccBJ/432ilde yp/A== X-Gm-Message-State: AAQBX9eFBnOeeGdtRXbDNxCReXt1J3e+mFjk+uoHgGIR84v6Y6sMcF5V bL6nQEZcmcJS3IQnEq/HEk8Isg== X-Google-Smtp-Source: AKy350ZffcjiZSGBVm/JblhOGFpZodzn92ieAjz2v27srUZ+zaxOkeHyJPQUex2yEMscYYMGa2NW2w== X-Received: by 2002:a5d:58c9:0:b0:2cf:e34c:a229 with SMTP id o9-20020a5d58c9000000b002cfe34ca229mr22477632wrf.8.1680251684116; Fri, 31 Mar 2023 01:34:44 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id e11-20020a5d4e8b000000b002cde626cd96sm1563153wru.65.2023.03.31.01.34.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 01:34:43 -0700 (PDT) From: Neil Armstrong Subject: [PATCH RFC 00/20] ARM: oxnas support removal Date: Fri, 31 Mar 2023 10:34:38 +0200 Message-Id: <20230331-topic-oxnas-upstream-remove-v1-0-5bd58fd1dd1f@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAB6bJmQC/x2NwQqDMBAFf0X23AVNQLDXQj+g19JDjM+6oEnIq gjivzf0OHOYOUmRBUr36qSMXVRiKNDcKvKTC1+wDIXJ1MbW1ja8xiSe4xGc8pZ0zXALZyxxB7v WoBu6dgRApdA7BffZBT+VRtjmuciUMcrxX77p9XzQ57p+JL2B/4cAAAA= List-Id: To: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Russell King , Michael Turquette , Stephen Boyd , Daniel Lezcano , Thomas Gleixner , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Linus Walleij , Bartosz Golaszewski , Sebastian Reichel , Philipp Zabel , Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.1 With [1] removing MPCore SMP support, this makes the OX820 barely usable, associated with a clear lack of maintainance, development and migration to dt-schema it's clear that Linux support for OX810 and OX820 should be removed. In addition, the OX810 hasn't been booted for years and isn't even present in an ARM config file. For the OX820, lack of USB and SATA support makes the platform not usable in the current Linux support and relies on off-tree drivers hacked from the vendor (defunct for years) sources. The last users are in the OpenWRT distribution, and today's removal means support will still be in stable 6.1 LTS kernel until end of 2026. If someone wants to take over the development even with lack of SMP, I'll be happy to hand off maintainance. The plan is to apply the first 4 patches first, then the drivers followed by bindings. Finally the MAINTAINANCE entry can be removed. I'm not sure about the process of bindings removal, but perhaps the bindings should be marked as deprecated first then removed later on ? It has been a fun time adding support for this architecture, but it's time to get over! Patch 2 obviously depends on [1]. [1] https://lore.kernel.org/all/20230327121317.4081816-1-arnd@kernel.org/ Signed-off-by: Neil Armstrong Acked-by: Linus Walleij Acked-by: Arnd Bergmann Acked-by: Daniel Golle --- Neil Armstrong (20): ARM: dts: oxnas: remove obsolete device tree files ARM: oxnas: remove OXNAS support ARM: configs: remove oxnas_v6_defconfig dt-bindings: arm: oxnas: remove obsolete bindings clk: oxnas: remove obsolete clock driver dt-bindings: clk: oxnas: remove obsolete bindings clksource: timer-oxnas-rps: remove obsolete timer driver dt-bindings: timer: oxsemi,rps-timer: remove obsolete bindings nand: oxnas_nand: remove obsolete raw nand driver dt-bindings: mtd: oxnas-nand: remove obsolete bindings net: stmmac: dwmac-oxnas: remove obsolete dwmac glue driver dt-bindings: net: oxnas-dwmac: remove obsolete bindings pinctrl: pinctrl-oxnas: remove obsolete pinctrl driver dt-bindings: pinctrl: oxnas,pinctrl: remove obsolete bindings dt-bindings: gpio: gpio_oxnas: remove obsolete bindings power: reset: oxnas-restart: remove obsolete restart driver reset: oxnas: remove obsolete reset driver irqchip: irq-versatile-fpga: remove obsolete oxnas compatible dt-bindings: interrupt-controller: arm,versatile-fpga-irq: mark oxnas compatible as deprecated MAINTAINERS: remove OXNAS entry Documentation/devicetree/bindings/arm/oxnas.txt | 14 - .../devicetree/bindings/clock/oxnas,stdclk.txt | 28 - .../devicetree/bindings/gpio/gpio_oxnas.txt | 47 - .../arm,versatile-fpga-irq.txt | 4 +- .../devicetree/bindings/mtd/oxnas-nand.txt | 41 - .../devicetree/bindings/net/oxnas-dwmac.txt | 41 - .../devicetree/bindings/pinctrl/oxnas,pinctrl.txt | 56 - .../devicetree/bindings/reset/oxnas,reset.txt | 32 - .../devicetree/bindings/timer/oxsemi,rps-timer.txt | 17 - MAINTAINERS | 10 - arch/arm/Makefile | 1 - arch/arm/boot/dts/Makefile | 3 - arch/arm/boot/dts/ox810se-wd-mbwe.dts | 115 -- arch/arm/boot/dts/ox810se.dtsi | 357 ------ .../dts/ox820-cloudengines-pogoplug-series-3.dts | 93 -- arch/arm/boot/dts/ox820.dtsi | 299 ----- arch/arm/configs/oxnas_v6_defconfig | 92 -- arch/arm/mach-oxnas/Kconfig | 34 - arch/arm/mach-oxnas/Makefile | 1 - drivers/clk/Kconfig | 7 - drivers/clk/Makefile | 1 - drivers/clk/clk-oxnas.c | 251 ---- drivers/clocksource/Kconfig | 7 - drivers/clocksource/Makefile | 1 - drivers/clocksource/timer-oxnas-rps.c | 288 ----- drivers/irqchip/irq-versatile-fpga.c | 1 - drivers/mtd/nand/raw/Kconfig | 7 - drivers/mtd/nand/raw/Makefile | 1 - drivers/mtd/nand/raw/oxnas_nand.c | 211 ---- drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 - drivers/net/ethernet/stmicro/stmmac/Makefile | 1 - drivers/net/ethernet/stmicro/stmmac/dwmac-oxnas.c | 245 ---- drivers/pinctrl/Kconfig | 11 - drivers/pinctrl/Makefile | 1 - drivers/pinctrl/pinctrl-oxnas.c | 1292 -------------------- drivers/power/reset/Kconfig | 7 - drivers/power/reset/Makefile | 1 - drivers/power/reset/oxnas-restart.c | 233 ---- drivers/reset/Kconfig | 3 - drivers/reset/Makefile | 1 - drivers/reset/reset-oxnas.c | 114 -- 41 files changed, 3 insertions(+), 3977 deletions(-) --- base-commit: df45499b419b31c4d44ef9f1d1656d1fc0897014 change-id: 20230331-topic-oxnas-upstream-remove-a62e9d96feee Best regards,