From patchwork Fri Jan 28 16:00:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12728703 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E77E7C433F5 for ; Fri, 28 Jan 2022 16:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=Iu0GN7Pt0z3uraYE4oYUNvV2NXtFZaOAB+qWGOIoIYc=; b=naRZB2kjZWFUki ZHTEeZUYNZtUVoBL2/3SfLYg7iZSUCanRghlQqel43jutkM2Xve4bCCOQAontAiMStxMZXPjQ9Z1i M0gklNS0RFlXRAivhMz1KQHY9vzRgZ/dVT/FzgHsHzaKI9n84p9npZ+areRmlE9lcOCHI8guEctNu 28/M/SvGWvi9VZHWYj64OLCiynsvGABFrBCEAua1ARS/vOXYD2PxPMDe6Df2EYVsSS1LchV7gvRIR OzTECl66zd4q2wrefRZHyaSNZl3q5R0UpgawLeGRGQTwXfinZBHB94fLIHwbp8/sFQxQqC5OeTsR5 6KbXNSdQD1oTShvFtS+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDTlE-002qsr-Qh; Fri, 28 Jan 2022 16:06:05 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDThc-002ozq-Es for linux-arm-kernel@lists.infradead.org; Fri, 28 Jan 2022 16:02:22 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MfFlM-1muHqF05kY-00Oknr; Fri, 28 Jan 2022 17:01:21 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Alex Marginean , Alexander Stein , Alexei Starovoitov , Andrii Nakryiko , Ariel D'Alessandro , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Chester Lin , Christoph Niedermaier , Daniel Borkmann , Dong Aisheng , Enric Balletbo i Serra , Fabio Estevam , Frank Rowand , Geert Uytterhoeven , Jagan Teki , John Fastabend , KP Singh , Krzysztof Kozlowski , Krzysztof Kozlowski , Li Yang , Lucas Stach , Martin KaFai Lau , Matthias Schiffer , NXP Linux Team , Oleksij Rempel , =?utf-8?q?Oliver_St=C3=A4bler?= , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Russell King , Sascha Hauer , Shawn Guo , Song Liu , Tim Harvey , Will Deacon , Yonghong Song , bpf@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 00/12] arm64: prepare and add verdin imx8m mini support Date: Fri, 28 Jan 2022 17:00:48 +0100 Message-Id: <20220128160100.1228537-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:XBMXSyJ9c8n2tynbNgt7ppKUmKRGaxcuubs/aQwLyBhLFrEzpdU 9HevJnBdbj6KHiJB7OADGoiKnKa2cyNhZIR0xbr4+mVK9t0dlPHKX5SWPCu5up95bUvu7xJ dsmUF7Kh7eRXvrOxDolIObnlrkZe7mKHeJrBEBYuSswKLbRuQ3OWINbhrJhmUCJdunjrwcY gO06SAkapGAnGvW4wmI0A== X-UI-Out-Filterresults: notjunk:1;V03:K0:vSR/S7nqE60=:ID2LLGjD4h04zHbUZQFD6g FBxbKvnZtIN46bkcoejgeDnMcJyYWuotNCmXXXTAriAyfy/A1YE8u+aUhSshUxdfsNDmEjmTD 2S5g+ZZhhLLLFHdmQLEqR5hw4Wc77If5021nJoswfr3MhNrGwdjVmSWhntolqSCeZp/t9SHsG Bg9k6twePAlKEdqS4Sv4Z+atSrvblpiqHay5YkyyKOoJYLoW2YRi46t6AGX93vpH6e0xwiq/m trUZ5aTTHqI7roaovsathUfye5UiiVEWLJv0veyE3PJpfWB3KL6r1XTPn4cV+DUJL9PvE14UY amwoeFHPNz37yqtsstUumwzq6teiu0hOVZYP7KW1TxygO9fpf6Nkb+OOia68JogzbvrwnKPew 9qZYcSWhBdBTtGwb/7fAKwfEi9lTlDsAOTZ83r0bCd1aPQhvmpuTMeT2N8CrjptuljzkN7l9+ 2FmpatEgxizfM9xM2mQf1LIcCF2WXfLZCb6uu1crz19rNxv3bBeKQP9XHwjjWUmeFprESt9HO AWLk+nJ7yzqH/hqy/7eR4UQ/EP8MYzLKnAX8JnNV/Bz+qXqkcQ3iQBmbxuu2PIBwuOtL4clAT nOCO176ZJyhK+oNeZpGvcCMwOuF2tctiTKxX/qdZiel9h4uCVeIsdpytmnxrGDdYbuWpRMC5I Ws0vpixSJYE3XRo/ijwhLsZQm2z5hvGA22pTyngbCz45amQ96HYlAlNWW9voXOOzL6F8= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220128_080220_619305_DE4D9E5D X-CRM114-Status: GOOD ( 13.70 ) 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 From: Marcel Ziswiler Fix strange hex notation and gpio-hog example, rebuild default configuration, enable various relevant configuration options mainly to be built as modules, add toradex,verdin-imx8mm et al. to dt-bindings and finally, add initial support for Verdin iMX8M Mini. Changes in v3: - Rebase on top of shawnguo's for-next. - Drop [PATCH v2 02/11] ("dt-bindings: gpio: fix gpio-hog example") as it already got applied by Bart. - Add Krzysztof's reviewed-by tag. - New separate patch only for re-ordering as suggested by Krzysztof. - Not dropping CONFIG_SECCOMP=y, CONFIG_SLIMBUS=m, CONFIG_INTERCONNECT=y and CONFIG_CONFIGFS_FS=y as requested by Krzysztof. - New patch enabling imx8m pcie phy driver in arm64 defconfig. - Remove the 'pm-ignore-notify' property analogous to commit aafac22d6b23 ("arm64: dts: imx8mm/n: Remove the 'pm-ignore-notify' property"). - Now with PCIe support finally having landed in -next enable it as well. - Add Krzysztof's acked-by tag. Changes in v2: - Add Laurent's reviewed-by tag. - New patch following full defconfig analysis as requested by Krzysztof. - New patch following full defconfig analysis as requested by Krzysztof. - Done full defconfig analysis as requested by Krzysztof. - Add Song's acked-by tag. - A similar change got accepted for imx_v6_v7_defconfig. Further discussion may be found in [1]. [1] https://lore.kernel.org/lkml/20210920144938.314588-6-marcel@ziswiler.com/ - Explain why enabling it may be a good idea as requested by Krzysztof. - Explain why enabling these may make sense and squash them relevant changes as requested by Krzysztof. - Add Rob's acked-by tag. - Fix Colibri vs. Verdin copy/paste mistake. Thanks to Francesco Dolcini for pointing that out to me. - Remove bootargs which will be filled in by the bootloader as requested by Krzysztof. - Remove the previously #ifdefed-out spi-nor as requested by Krzysztof. - Fix capitalisation in cover-letter. Marcel Ziswiler (12): arm64: dts: imx8mm: fix strange hex notation arm64: defconfig: enable taskstats configuration arm64: defconfig: enable pcieaer configuration arm64: defconfig: re-order default configuration arm64: defconfig: rebuild default configuration arm64: defconfig: enable bpf/cgroup firewalling arm64: defconfig: enable imx8m pcie phy driver arm64: defconfig: build imx-sdma as a module arm64: defconfig: build r8169 as a module arm64: defconfig: enable verdin-imx8mm relevant drivers as modules dt-bindings: arm: fsl: add toradex,verdin-imx8mm et al. arm64: dts: freescale: add initial support for verdin imx8m mini .../devicetree/bindings/arm/fsl.yaml | 21 + arch/arm64/boot/dts/freescale/Makefile | 4 + .../arm64/boot/dts/freescale/imx8mm-pinfunc.h | 6 +- .../dts/freescale/imx8mm-verdin-dahlia.dtsi | 150 ++ .../boot/dts/freescale/imx8mm-verdin-dev.dtsi | 67 + .../imx8mm-verdin-nonwifi-dahlia.dts | 18 + .../freescale/imx8mm-verdin-nonwifi-dev.dts | 18 + .../dts/freescale/imx8mm-verdin-nonwifi.dtsi | 75 + .../freescale/imx8mm-verdin-wifi-dahlia.dts | 18 + .../dts/freescale/imx8mm-verdin-wifi-dev.dts | 18 + .../dts/freescale/imx8mm-verdin-wifi.dtsi | 95 ++ .../boot/dts/freescale/imx8mm-verdin.dtsi | 1291 +++++++++++++++++ arch/arm64/configs/defconfig | 126 +- 13 files changed, 1839 insertions(+), 68 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi