From patchwork Wed Jul 31 19:56:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11069145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 458DD112C for ; Wed, 31 Jul 2019 19:58:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31FFF20500 for ; Wed, 31 Jul 2019 19:58:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 259D827D0C; Wed, 31 Jul 2019 19:58:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 900F320500 for ; Wed, 31 Jul 2019 19:58:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=K01dWLTb0MxXeqsZt3W2aMlUuwgKpZZEhmtkkXZ9dw8=; b=tgopa0zqcQ+q2z azI7U5jZXmSVHChGhW0UvYNcR//r9ChoTw6vPbx04ruvsa+KMiZrZ3QcPjbJ9vpd8c7Z1VzaF6QvJ 07t0tGIJ27iFuKcEN5BNBV7bbdp5yYhuVgjcWT753ZL+X0ODyqRBYLhdCuzOiNs3q9LAjuNwBamga hQE+blLIK1PCriQvDqC5nkqnOa8v/5PIDm+xntkeTABNbKtsVgspfYbmRjMmZk+QMwWtvi6KMjlqf DMIXqbET8j/kN4pifR2SXP3FEOmex3O7fI9yuObOtUmo56HRXWE4b+EVVKRS2UIkbVM7ExXaHlf+1 8SRh4TEa5Rx37pyfWw6w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsujf-0007oh-Gq; Wed, 31 Jul 2019 19:58:07 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsujc-0007oO-E0 for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 19:58:06 +0000 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1N5CMP-1iJtxV2cYX-0119Cu; Wed, 31 Jul 2019 21:57:28 +0200 From: Arnd Bergmann To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, Vladimir Zapolskiy , Sylvain Lemieux , Russell King , Gregory Clement , Linus Walleij Subject: [PATCH 00/14] ARM: move lpc32xx and dove to multiplatform Date: Wed, 31 Jul 2019 21:56:42 +0200 Message-Id: <20190731195713.3150463-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:1DhJgllZnoaEPYGs1RPUPXgQ/oF4uTuXo6cjjEDlbbMgcBjoaAv /4Gqy5waGt8kWlKhcISqSvbWy0PqMUozbeltyk8i/JLnrBG/MVV5i1YTE1nD7PThG9QNAmS 9iyG0heOlxZNdw6cfYwcabbQ4ypVIGuPXXQgozREfFxzQ2zdx45uahc4xbAtdP9o5sKxvCC QICiay/kY46x1cxToEO+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:mD1LaNfCPok=:FewDXWtPUyzX3X8MXpV7JW LaqXUelWhb8EMKM9tjVsXF3uv3rGnLUQLTL3SIhUo5xti4RrQb4v+7ZE9yZYkDT/kQUFglWBF lvLzinWKjjV6sSbqWJx4qfC9UWznfZPTYFC0lU7lQvUiwKDJFULnI39CJPnfNf8oV1md80F+/ hRIBJf7UroozZKWXZBvCj6qhyUyZ/FiHCNNW2NDEdbLHw+RzE7exwMnGT1w0lIBEpoAGv2Dr0 PBNGV7aQ6xzA0jg4iovZdBo/K95EQQ01IeAqK8r5l+nAyvyv2QvsAJQ14dqS5qi25TZ1HWgbW y4QfqDfSHyPqf/ou/tBXJfUqNTtkEHqRHevOyCywjUO6/+vmF0vXcTWkvwaAm4sGIptdKDXWf vtBI71SeOlShLuGqMsOjWNfuDgHE1L/lu7MthTfzB10WFgxJcNmRo4s9WeGLQ70M32rGTuxj0 fSYfbzci3w+xK0+XnbveZhY0YH1dlePkcvm5RcBHfqcDSZeaxvZOEWZuQBdL5qA+OiCoOBHN/ TXPne5Yf1BBWIvVnrwfM04RWKmQCqibG92YYGeZ5RbfG0SnyxVH9lpvMOdClQg6oaUfXe5PDO i0ClE84DAfmzelDecUQRNORb73/EiNmERpGmA3zwXKqxfIyWnfZ2quBv5cM9S7o9G+R4W+KSC gcyOjCbSLMmxXz5/jt8neKqYJ0JYW7vreycPeVeKJaw2+fgZVKgvFFPHKu2AnGnd6ZR49ZNAT gfRkW3tCbcUDHer3OPC2tLmSu8Ryf7Wm0PaGnw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_125804_769249_B3E5453E X-CRM114-Status: GOOD ( 14.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , linux-watchdog@vger.kernel.org, Jason Cooper , Arnd Bergmann , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-gpio@vger.kernel.org, Alan Stern , linux-serial@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Guenter Roeck , Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I revisited some older patches here, getting two of the remaining ARM platforms to build with ARCH_MULTIPLATFORM like most others do. In case of lpc32xx, I created a new set of patches, which seemed easier than digging out what I did for an older release many years ago. For dove, the patches are basically what I had proposed back in 2015 when all other ARMv6/ARMv7 machines became part of a single kernel build. I don't know what the state is mach-dove support is, compared to the DT based support in mach-mvebu for the same hardware. If they are functionally the same, we could also just remove mach-dove rather than applying my patches. I also created patches to remove the w90x900 and ks8695 platforms that seem to have lost their last users a few years ago. I will post them separately, but plan to apply them in the same branch for linux-5.4 if there are no objections. Arnd Arnd Bergmann (14): usb: ohci-nxp: enable compile-testing usb: udc: lpc32xx: allow compile-testing watchdog: pnx4008_wdt: allow compile-testing serial: lpc32xx_hs: allow compile-testing gpio: lpc32xx: allow building on non-lpc32xx targets net: lpc-enet: factor out iram access net: lpc-enet: move phy setup into platform code net: lpc-enet: allow compile testing serial: lpc32xx: allow compile testing ARM: lpc32xx: clean up header files ARM: lpc32xx: allow multiplatform build ARM: dove: clean up mach/*.h headers ARM: orion/mvebu: unify debug-ll virtual addresses ARM: dove: multiplatform support arch/arm/Kconfig | 33 +--------- arch/arm/Kconfig.debug | 5 +- arch/arm/configs/dove_defconfig | 2 + arch/arm/configs/lpc32xx_defconfig | 1 + arch/arm/mach-dove/Kconfig | 16 +++-- arch/arm/mach-dove/Makefile | 2 + .../{include/mach => }/bridge-regs.h | 4 +- arch/arm/mach-dove/cm-a510.c | 3 +- arch/arm/mach-dove/common.c | 4 +- arch/arm/mach-dove/dove-db-setup.c | 2 +- arch/arm/mach-dove/{include/mach => }/dove.h | 14 ++--- arch/arm/mach-dove/include/mach/hardware.h | 19 ------ arch/arm/mach-dove/include/mach/uncompress.h | 36 ----------- arch/arm/mach-dove/irq.c | 5 +- arch/arm/mach-dove/{include/mach => }/irqs.h | 2 - arch/arm/mach-dove/mpp.c | 2 +- arch/arm/mach-dove/pcie.c | 4 +- arch/arm/mach-dove/{include/mach => }/pm.h | 4 +- arch/arm/mach-lpc32xx/Kconfig | 11 ++++ arch/arm/mach-lpc32xx/common.c | 24 +++++-- arch/arm/mach-lpc32xx/common.h | 1 - arch/arm/mach-lpc32xx/include/mach/board.h | 15 ----- .../mach-lpc32xx/include/mach/entry-macro.S | 28 --------- arch/arm/mach-lpc32xx/include/mach/hardware.h | 25 -------- .../mach-lpc32xx/include/mach/uncompress.h | 50 --------------- .../{include/mach/platform.h => lpc32xx.h} | 18 +++++- arch/arm/mach-lpc32xx/pm.c | 3 +- arch/arm/mach-lpc32xx/serial.c | 33 +++++++++- arch/arm/mach-lpc32xx/suspend.S | 3 +- arch/arm/mach-mv78xx0/mv78xx0.h | 4 +- arch/arm/mach-orion5x/orion5x.h | 4 +- drivers/gpio/Kconfig | 8 +++ drivers/gpio/Makefile | 2 +- drivers/gpio/gpio-lpc32xx.c | 63 ++++++++++++------- drivers/net/ethernet/nxp/Kconfig | 2 +- drivers/net/ethernet/nxp/lpc_eth.c | 30 +++------ drivers/tty/serial/Kconfig | 3 +- drivers/tty/serial/lpc32xx_hs.c | 37 ++--------- drivers/usb/gadget/udc/Kconfig | 3 +- drivers/usb/gadget/udc/lpc32xx_udc.c | 2 - drivers/usb/host/Kconfig | 3 +- drivers/usb/host/ohci-nxp.c | 25 +++++--- drivers/watchdog/Kconfig | 2 +- drivers/watchdog/pnx4008_wdt.c | 1 - include/linux/soc/nxp/lpc32xx-misc.h | 33 ++++++++++ 45 files changed, 246 insertions(+), 345 deletions(-) rename arch/arm/mach-dove/{include/mach => }/bridge-regs.h (96%) rename arch/arm/mach-dove/{include/mach => }/dove.h (95%) delete mode 100644 arch/arm/mach-dove/include/mach/hardware.h delete mode 100644 arch/arm/mach-dove/include/mach/uncompress.h rename arch/arm/mach-dove/{include/mach => }/irqs.h (98%) rename arch/arm/mach-dove/{include/mach => }/pm.h (97%) create mode 100644 arch/arm/mach-lpc32xx/Kconfig delete mode 100644 arch/arm/mach-lpc32xx/include/mach/board.h delete mode 100644 arch/arm/mach-lpc32xx/include/mach/entry-macro.S delete mode 100644 arch/arm/mach-lpc32xx/include/mach/hardware.h delete mode 100644 arch/arm/mach-lpc32xx/include/mach/uncompress.h rename arch/arm/mach-lpc32xx/{include/mach/platform.h => lpc32xx.h} (98%) create mode 100644 include/linux/soc/nxp/lpc32xx-misc.h