From patchwork Wed Feb 9 10:00:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740046 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 94B3FC433EF for ; Wed, 9 Feb 2022 10:14:24 +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:References:In-Reply-To: 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: List-Owner; bh=hics0QGf4zrWMXr5976G8BXTCQImJ698NEzdIHbPVHA=; b=eDIN0+uPKqgzyY AAprHnXD2J/RLRlLDR/ttbSSKiHW/xcEtb/tIdOqxWcIWfuabpaCgs3A7C313ewef4ZfocrlmF3we 5w7e2ujFjenTMZTZTKf4pPzpjX5YamSEgUFxoKrZilqkbBPDF9GfAlRpIXpEzGMKyXswYdjDg5XSf u0dfAlsgskvHTIkvHkpdlgzI0gdIa0sYrvFAerGTNQNLnjZDC1Jp71XxeYwOCnqat+Csba1QIPRv3 sGBTxDhbV/tFeuszLSWhLquo270IfP5YLsr4iK5ag2GtYUx2yl2S0IWZoc4snpmVEL/DzAn+dBNK9 wwzabpECFPOCA2afoU7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjxM-00H9MP-0u; Wed, 09 Feb 2022 10:12:12 +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 1nHjnF-00H4na-C7 for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:01:48 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MbB1Y-1nt0Pr3djU-00bav0; Wed, 09 Feb 2022 11:01:24 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Laurent Pinchart , Rob Herring , Arnd Bergmann , Fabio Estevam , Frank Rowand , Marek Vasut , NXP Linux Team , =?utf-8?q?Oliver_St=C3=A4bler?= , Olof Johansson , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 01/12] arm64: dts: imx8mm: fix strange hex notation Date: Wed, 9 Feb 2022 11:00:44 +0100 Message-Id: <20220209100055.181389-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:lW93HK0eX9pdnaqywnxxNmUk6cyUc0fjb6WfDxBTWjvg/4qczlo qht/kzet8DGlGRgEgGsgETpHR1mjJvKvm8UeIlCydOQRCi92dUZSxa7MVirQbRb8DigWur8 8VDMNElfzPGrzsUFNws03DshXjKqKKJzjX4XXvic8GHi3olUor41Uiaw02OluOpAd19WzG8 9EAAUcrnwcmALZB/zK93g== X-UI-Out-Filterresults: notjunk:1;V03:K0:rr0Dckr5f14=:4P2m/EenGHZDzlzdZ3BuY4 nTkMXzUMSC0wW9HJBgk89rzKICLaVUkaKwtvYFyQhOtG05RJcvZNOoSkmS9po1AvkTYyfXrSq PrL6xzkAXkH5USmfj7sgXkUNE8DQaxh248A7nBE07HKG8yzoDt4RCNLSdcTi6LGDDGtwjRJU5 vgt2KdwS5APX/ewfzvwAxLC5gLg75KZZYZPb1NDh0R7MAO7tSUVgq/zCECKFXyrCKog9B0nFs PZQFHSjHERc1qBnOgtKOfxY369Qllhlj9x8r2Kw1rbTjSmO+F7u3fMHj7XfFOLkj20t5Gz00X vF1Q7E1wzVANsWMCrnlmtiyxLpvrUpLrGi6hGLSV0AI1NnGC5Eq0eGc/WdHQhe+UoUA57pyvq LjBCVi2VKVGeZP5TADIJ8GXaXPZaUGuGDltWuHNQEb8BvvnMl/Z88XAXXSzOai38n+97d8iSm YcHSVO5k7285V45+7mn7ylMwXTrAJY9ufRlkl8CFbwSb74m2XHU1iARIw76qxlE5n5+X+MtkO 8/ZULX0GJt6nwXIzo/quvjP2DT1gTrZCnwHpFDarod4pbPe6ptAn+srkhN2nGAZKIvI5DuUPz WWjmwxi78vEHUUUWxVS0gnGGwHFyV51q7ZpGd3TgE8JS+MvB1nWIIXCcXBACGD7ybbv+xEcnc d79m8zJg+oCXZV5mxm4bZmFTIMCKpbnvpWRGCkB0f6scBOei4g2SwWNZDTxgm6ZLcoW4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020145_565600_0E824AC8 X-CRM114-Status: UNSURE ( 9.00 ) 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 From: Marcel Ziswiler Fix strange hex notation with mixed lower-case and upper-case letters. Signed-off-by: Marcel Ziswiler Reviewed-by: Laurent Pinchart Acked-by: Rob Herring --- Changes in v5: - Add Rob's ack. Changes in v2: - Add Laurent's reviewed-by tag. arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h b/arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h index a7411c800bef..83c8f715cd90 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h +++ b/arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h @@ -280,7 +280,7 @@ #define MX8MM_IOMUXC_SAI5_RXD2_SAI1_TX_DATA4 0x150 0x3B8 0x000 0x1 0x0 #define MX8MM_IOMUXC_SAI5_RXD2_SAI1_TX_SYNC 0x150 0x3B8 0x4CC 0x2 0x1 #define MX8MM_IOMUXC_SAI5_RXD2_SAI5_TX_BCLK 0x150 0x3B8 0x4E8 0x3 0x0 -#define MX8MM_IOMUXC_SAI5_RXD2_PDM_DATA2 0x150 0x3B8 0x53c 0x4 0x0 +#define MX8MM_IOMUXC_SAI5_RXD2_PDM_DATA2 0x150 0x3B8 0x53C 0x4 0x0 #define MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23 0x150 0x3B8 0x000 0x5 0x0 #define MX8MM_IOMUXC_SAI5_RXD3_SAI5_RX_DATA3 0x154 0x3BC 0x4E0 0x0 0x0 #define MX8MM_IOMUXC_SAI5_RXD3_SAI1_TX_DATA5 0x154 0x3BC 0x000 0x1 0x0 @@ -487,7 +487,7 @@ #define MX8MM_IOMUXC_SAI3_TXFS_SAI3_TX_SYNC 0x1D8 0x440 0x000 0x0 0x0 #define MX8MM_IOMUXC_SAI3_TXFS_GPT1_CAPTURE2 0x1D8 0x440 0x000 0x1 0x0 #define MX8MM_IOMUXC_SAI3_TXFS_SAI5_RX_DATA1 0x1D8 0x440 0x4D8 0x2 0x2 -#define MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x1D8 0x440 0x4Fc 0x4 0x2 +#define MX8MM_IOMUXC_SAI3_TXFS_UART2_DCE_RX 0x1D8 0x440 0x4FC 0x4 0x2 #define MX8MM_IOMUXC_SAI3_TXFS_UART2_DTE_TX 0x1D8 0x440 0x000 0x4 0x0 #define MX8MM_IOMUXC_SAI3_TXFS_GPIO4_IO31 0x1D8 0x440 0x000 0x5 0x0 #define MX8MM_IOMUXC_SAI3_TXFS_TPSMP_HDATA1 0x1D8 0x440 0x000 0x7 0x0 @@ -495,7 +495,7 @@ #define MX8MM_IOMUXC_SAI3_TXC_GPT1_COMPARE2 0x1DC 0x444 0x000 0x1 0x0 #define MX8MM_IOMUXC_SAI3_TXC_SAI5_RX_DATA2 0x1DC 0x444 0x4DC 0x2 0x2 #define MX8MM_IOMUXC_SAI3_TXC_UART2_DCE_TX 0x1DC 0x444 0x000 0x4 0x0 -#define MX8MM_IOMUXC_SAI3_TXC_UART2_DTE_RX 0x1DC 0x444 0x4Fc 0x4 0x3 +#define MX8MM_IOMUXC_SAI3_TXC_UART2_DTE_RX 0x1DC 0x444 0x4FC 0x4 0x3 #define MX8MM_IOMUXC_SAI3_TXC_GPIO5_IO0 0x1DC 0x444 0x000 0x5 0x0 #define MX8MM_IOMUXC_SAI3_TXC_TPSMP_HDATA2 0x1DC 0x444 0x000 0x7 0x0 #define MX8MM_IOMUXC_SAI3_TXD_SAI3_TX_DATA0 0x1E0 0x448 0x000 0x0 0x0 From patchwork Wed Feb 9 10:00:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740047 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 9BCDFC433EF for ; Wed, 9 Feb 2022 10:15:27 +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:References:In-Reply-To: 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: List-Owner; bh=jD/dHzki/gcfgH6+aWEFniI840smt2L+kMJyZu+L2hU=; b=44F+w5pN3lhvZc EuSuEftBJxin7VjPKvMN6ftTIKF65tFGURSm1B5iH4oQ1OTYoR/FR/+DDqN0AC/qh04V1o+ihkoog s9fNDHvWFOEDhACVja6LXxvbGNmEStiI4HlqiJPNWgG4gCqhhY8g6wrizJlj/u2eoTM2PtCCrGLwF 4qfvSFXFpQYRcHBesPq73f93LvZO+MXMJT8Tod108LsHp4HzNTn8Xlvc9+jLce4qJpQLoygmo8e/r xJYAUddrEcj4L5WkW+mYziP006b+3nr+mhtIXiPxT/vnM8Ly6FjhMT0FnwplqBEd71SqjEt/0eUYu skolbrATxMexhansUoOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjyR-00H9p9-Oz; Wed, 09 Feb 2022 10:13:20 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnF-00H4oa-EH for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:01:49 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1Ma1LU-1nnj1f1f3U-00VyFm; Wed, 09 Feb 2022 11:01:27 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Krzysztof Kozlowski , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 02/12] arm64: defconfig: enable taskstats configuration Date: Wed, 9 Feb 2022 11:00:45 +0100 Message-Id: <20220209100055.181389-3-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:8vC0NplGUz3Mq/ThYyGvledPttIIUyaUn6qmHCAk/UZ+5N4EQsV g8PO5Qybfve9FRYC/kC0smblYLpUyWa5wjOjTw3Z59vBfkW6G0znO+WCWy69kuFnVU9xD1K wdCK/Nwd2LYpkjOTGll3M5wNo+F5vfgmSw3D9Pu+YA21qvdIuUhRdnBIGXVnUZERQP22yIV JTawx2IU6xBaL9dr4Dq4Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:uwsoS8o5XmQ=:Uhu3SxaGWriXzYaVwjUnY7 Lwy0PFIOzGnjl9gYDpIWuasyg+luwoKlcdIemhiUbwsjzTiXZKBIVF21NVifJMY+EFVw1Vj5o HiHx2Q8ziP2oDsFMJ/DXgh4xjnQmCKdCV7O0sU3aHAOGtCMieZIjxHvFjV4IbBIRVX/en41KP Bt0uyiJb7RvKTfFUPkq1+EljSxRq9k0YneFJoLO8aTOoCnZCdXN5iavd0GFqASTR8lYYj17bO o+9s8/WG2a8YuiONfHinoBKhvM+i0s7a8dkq3nBkl4qSKQZ7HcpJUi55ZkNSUx/OpxrRA12fC yB1OocpmoMEpBn45u+03IY57sAQGBudC569bQkPz/VC12cifJrVSOoBQI+E5slanrXA7/rFIf f0+2L78SOqK0CYMqF447GljixLcSuO3luV7kATndPP7nxgmRaSBpBoIfAuRZ1dEbcikQx1Aif zj17kWw9CLY9cjCcqyXlLaEJOuvSBIJFXLfNaU6RdJjaQgJwjIgdlfFrxJxbO70jDP3ZnL404 OCqeZp/mKXHG42g32sHK0/fRFA1jOXs56qVz2XkqIMNkSw2sBmuCLuQUpKJiHTbFcQdxiR3zK EjDLxpgEldsfNDnhsFMphcHshsrPNAMeQI7GGCK1TdltRWR5e/x6pKQG68Q10SWc6+bJNeLKE x2InWgBfKVYP4R5vKvrvh9pUc/J3TXSloPrR8UNcQAr+ulieZoZ0aUz5qiTTTGAtrOFQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020145_617469_B1EA6325 X-CRM114-Status: UNSURE ( 8.33 ) 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 From: Marcel Ziswiler Enable CONFIG_TASKSTATS which is required for CONFIG_TASK_XACCT (and subsequently CONFIG_TASK_IO_ACCOUNTING). Previously, taskstats got pulled in by KVM but that got changed in commit 63b3f96e1a98 ("kvm: Select SCHED_INFO instead of TASK_DELAY_ACCT"). Signed-off-by: Marcel Ziswiler Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add Krzysztof's reviewed-by tag. Changes in v2: - New patch following full defconfig analysis as requested by Krzysztof. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 30516dc0b70e..b057b08c0fc2 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -7,6 +7,7 @@ CONFIG_PREEMPT=y CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y +CONFIG_TASKSTATS=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y CONFIG_IKCONFIG=y From patchwork Wed Feb 9 10:00:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740045 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 4A3B8C433F5 for ; Wed, 9 Feb 2022 10:14:20 +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:References:In-Reply-To: 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: List-Owner; bh=ZMPtU2X3WJnqf4dM0LD9jVxmx0TSrcixZFPkdrp98gI=; b=GGI95BMPdSOpp5 ADETV86/x8FEKDl72RMvdxoFVxsBDuXES/7yI5IEWpBmiGfADY+UtrGStuqHb87eoqpb7dO8qLduY BBC+epB/+b/GgmI0Iqek5WIkRwocpLyNqoUeQ52HhfLG/jStfrivRQvo2YNx+Z90/Blr7gJRxecRW kbGLSAHR39DSMO1YkWlgnD9R7mlKWNopKIHP5dlQ6T5lSaCpc785l1kHxYby7djQBOdaeFAXAVl6w 1qfKSYtAwWmm+WAgTeZEUv7emGoLhb1plKz23cfNdI7yHO0iJg7vs86gehjrJgt4HSIBOZuMrAq5x G5KSdVhOOjUQ/oCl5lxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjxy-00H9cL-Ly; Wed, 09 Feb 2022 10:12:51 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnG-00H4pT-GV for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:01:49 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MZkUt-1nmu571sm7-00WnbF; Wed, 09 Feb 2022 11:01:30 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Krzysztof Kozlowski , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 03/12] arm64: defconfig: enable pcieaer configuration Date: Wed, 9 Feb 2022 11:00:46 +0100 Message-Id: <20220209100055.181389-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:ImXBglx5IJOFnqXkkH0uWKtrW4VUbDcr2vn403khVMa1OrPD/FZ AXJrnJHGms3H1QlJAK8imEw9mcltPgWEMpk9b/fJtytCREbH+CjyX/0NI8knjfiMvcGmFTU Pu1kP6VncsgvzSTway6j9pzvf5KCBaroWrpKGAjFXDjRc4BiROTbfrcHxS54Di18Kv7Z/23 kAOnAmeYkrDX858rRlNVQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Dbry6J0hg9c=:ANnCnIOaEy8fl/TIWh0vay IL/eq+fRycaFyH4xwxmOiREzB+GWQ25AvULqs7lB0FmImTHuOxcQbblWpmLgvLw/WIMnQShRs 4NzYhbFPdF4pK1nISfF3bCP/zrYqpC7I1S4402ijhKvytZhsVknTHi0Jjf4P6xKJwSRYswpPa Mg5ufi2ZXH3y4XPDmBcdUTyfNLkH40kOCzoFTgFvc+D9lhfbsqWhX3jKDnkmmboQo4z+zIzCV JBPSCIvhmH+bJu/tJQ5RLMp5VOQ91/P7YAJcWSPcQcIel4Rli19mt5WHQ90YMY3zX1v2OEwnw aECYXNUzPiCYK5N1wYalGPv++rS/MolSS3ZsBBuE3P17LrOBgmk70iTQ1PN9dXBtJXUEDbIUH ERWnSR2eyxw/qZXhDc7XdiCtduyqXXgv5ZJsts1+j3SNiU/YvY83KV171vRZT7h7730+5dYbH jkmoc8p/BYPQ4jH98S4ZThFIYH/aSi2KLHakraRT/bF58Ai5ca0FguPBnAt6EVkmen8qiDqI3 7VpEml5AQ23dK3LREEdu56YzMt+tY3cPCC/F78wl9rCjPQwggbWbtG3ib2b70IE8oyUGNzmOM H5wQE+LjO+Y18Lb6VKtwMAyhkDVspGowKItchc0/i6SHWy4m1iHVbtcdloq8sxtfNJZFYeE0u bCC/zMziGIg583KRk0OPZ2JNObk83Ghl7betGwNNX71DoVpwI7a0qoL7MrZgalPRilNgGTv7D bNI1ZFBHLPDiBxjU X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020146_660539_A31F70CA X-CRM114-Status: UNSURE ( 7.42 ) 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 From: Marcel Ziswiler Enable CONFIG_PCIEAER which is required for CONFIG_ACPI_APEI_PCIEAER. Commit 8c8ff55b4da7 ("PCI/AER: Don't select CONFIG_PCIEAER by default") changed it to no longer being enabled by default. Signed-off-by: Marcel Ziswiler Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add Krzysztof's reviewed-by tag. Changes in v2: - New patch following full defconfig analysis as requested by Krzysztof. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b057b08c0fc2..c37dace3e89d 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -211,6 +211,7 @@ CONFIG_NFC_NCI=m CONFIG_NFC_S3FWRN5_I2C=m CONFIG_PCI=y CONFIG_PCIEPORTBUS=y +CONFIG_PCIEAER=y CONFIG_PCI_IOV=y CONFIG_PCI_PASID=y CONFIG_HOTPLUG_PCI=y From patchwork Wed Feb 9 10:00:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740048 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 8F5AAC433EF for ; Wed, 9 Feb 2022 10:16:28 +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:References:In-Reply-To: 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: List-Owner; bh=bX9mzx75GemsVkasK7fdGUmuDhONzvDANaesoPHDJEg=; b=VC1zZepmPu52zU 9L1Wjy78VMtXpxR0PWN+85BnLgLRbs0DZmhgoayx9Vyqzy4TupbPs8qSv6GqMB1rupAJ5rT04zjgR VERAC+dd7LhFSd4pzMFpLs1Mt5o+/i4JdjA6WRUjMXTImksdrfcR7+Ts7DrzN07HZ6KeU/8327jDA EDE/vzCFZsSAWSPknkC+V3D1mi8jabZq/iI5Zi80BgPYW6i/XPqAV5QzLQYb24o2p+PiBgorX9iNB gT5UVySplQMGKT85kXJjuPl0/uSvBJbOiK1fe+4q50nzbEeGO9KN7tIm/sNy/qsAp+wgqlK9CbueY zSwwwWI6Ek9RPjk3+6+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjz7-00HA64-4K; Wed, 09 Feb 2022 10:14:01 +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 1nHjnG-00H4pe-Vs for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:01:49 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1N1PGx-1oIgX01xGd-012r6D; Wed, 09 Feb 2022 11:01:33 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 04/12] arm64: defconfig: re-order default configuration Date: Wed, 9 Feb 2022 11:00:47 +0100 Message-Id: <20220209100055.181389-5-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:0gj8zFIuo6CqMjSnZbdiKf/SBskkK8QYBP7wbyo9/Toltk2YA/n dkQQj4fpsYkL696h7ose8uTH56oKwo1G4tZT3SKEZAerxV2bAL1JzmWe0eyjNc4dy/0pCNx ZLkQfp81jFqt7lA+i8b+138uZ+m/azaAkc+FMPBOVJPXn6TZ9XQSZhWA3TeK9Fc+T4ff8pL XUMhaIdsszXVVaamLbITw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ZshWZVVVoDA=:Y94s/fVtuZlGGdjHNdVLsp ryEdJdLlgWm5hH2+LDypT1X4+OvuoO27DE2hv7VRyDd9jGxQ437kuMgR9F3fbdIotnHIa9Rm9 GA8t7n772YUwsoKT4trlDX5hDgd71cfnuzj35XC+NWBOhnSZUVyNFmgzXvRRIGOvpSOjrhrrE Vp2U1Xfsi+m8fHwvoMx5mTH+iR6WkZFLcyLsRT1D4v/fIOI0eizl9xmeZ5EddxtGlP6bO7Dg7 rxKwoHjy5hgaQ8MZmx9lRJkpkwudsAXVA2X6cHwOGneCFHpop9TNRT9x14l7md8QEqzYvTKC+ UO82Egz8p7j2961e7ot5IWxYq7xD5Yfo/XO+C0owIcWsgEuPNg3JkJMNNEdYJN4LHcfu3JzlY QyGYOIoTF9iKIzc1jt1dwtBnXN+jSp04+eYVg7dGJUbJSI/XzjmNoIqyZd3gEYrS0wkV51iCJ 11eDUW73Q7uMn3UfKypBXsZxrlqg6dyXkmM2Oh3Q5DBspXZMeO4jl5ApgoOrH5xgn6yOPZ5MU k6FAOlHE1ebf3hmOOc33Tpp+BAy9bbi+ponoQplonS0W9lpkZLbIoZm55ia3vzIA10/OhyE3s ldOw26lWMOhnSnk/BOP/TOB6iGd9pWy7XE8dyKxP+2tfokxWLgjDJ5Y39vKZNrJZF3OeGkyxy vpsQEkXF+3jWfiCn+T1ygUKlt//YDgvBxMHTFOVSYqxvUzjBW8Gg94F6mDw4hMeQ8DfGeIw/F Nek7BET9qVddSW70 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020147_157236_4AEA44C6 X-CRM114-Status: UNSURE ( 8.98 ) 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 From: Marcel Ziswiler Use "make defconfig", "make savedefconfig" and friends to just assess re-ordering of configuration items in defconfig. This re-ordered the following configuration options: CONFIG_BPF_JIT=y CONFIG_SECCOMP=y CONFIG_ARM_SCMI_PROTOCOL=y CONFIG_ARM_SCPI_PROTOCOL=y CONFIG_RASPBERRYPI_FIRMWARE=y CONFIG_INTEL_STRATIX10_SERVICE=y CONFIG_INTEL_STRATIX10_RSU=m CONFIG_QCOM_SCM=y CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y CONFIG_IMX_SCU_PD=y CONFIG_CAN_FLEXCAN=m CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_FSL_MC_BUS=y CONFIG_MTK_DEVAPC=m CONFIG_SPI_CADENCE_QUADSPI=y CONFIG_MDIO_BUS_MUX_MMIOREG=y CONFIG_MDIO_BUS_MUX_MULTIPLEXER=y CONFIG_MESON_GXL_PHY=m CONFIG_PINCTRL_SINGLE=y CONFIG_QCOM_CPR=y CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_SENSORS_ARM_SCMI=y CONFIG_QORIQ_THERMAL=m CONFIG_SUN8I_THERMAL=y CONFIG_TEGRA_BPMP_THERMAL=m CONFIG_ARM_SMC_WATCHDOG=y CONFIG_MFD_CROS_EC_DEV=y CONFIG_MEDIA_PLATFORM_SUPPORT=y CONFIG_VIDEO_QCOM_CAMSS=m CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m CONFIG_DRM_NWL_MIPI_DSI=m CONFIG_DRM_LONTIUM_LT9611UXC=m CONFIG_SND_SOC_FSL_SAI=m CONFIG_SND_SOC_IMX_AUDMIX=m CONFIG_TYPEC_HD3SS3220=m CONFIG_COMMON_CLK_SCMI=y CONFIG_COMMON_CLK_ZYNQMP=y CONFIG_IPQ_GCC_8074=y CONFIG_SM_DISPCC_8250=y CONFIG_QCOM_WCNSS_CTRL=m CONFIG_ARCH_R8A774A1=y CONFIG_ARCH_R8A774B1=y CONFIG_ARCH_R8A774C0=y CONFIG_ARCH_R8A774E1=y CONFIG_ARCH_R8A77995=y CONFIG_ARCH_R8A77990=y CONFIG_ARCH_R8A77965=y CONFIG_ARCH_R8A77970=y CONFIG_ARCH_R8A779F0=y CONFIG_HISI_PMU=y CONFIG_QCOM_QFPROM=y CONFIG_MUX_MMIO=y Signed-off-by: Marcel Ziswiler --- (no changes since v3) Changes in v3: - New separate patch only for re-ordering as suggested by Krzysztof. arch/arm64/configs/defconfig | 106 +++++++++++++++++------------------ 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c37dace3e89d..25a4eff126d4 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -3,6 +3,7 @@ CONFIG_POSIX_MQUEUE=y CONFIG_AUDIT=y CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_BPF_JIT=y CONFIG_PREEMPT=y CONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_BSD_PROCESS_ACCT=y @@ -67,7 +68,6 @@ CONFIG_ARM64_VA_BITS_48=y CONFIG_SCHED_MC=y CONFIG_SCHED_SMT=y CONFIG_NUMA=y -CONFIG_SECCOMP=y CONFIG_KEXEC=y CONFIG_KEXEC_FILE=y CONFIG_CRASH_DUMP=y @@ -98,15 +98,6 @@ CONFIG_ARM_RASPBERRYPI_CPUFREQ=m CONFIG_ARM_SCMI_CPUFREQ=y CONFIG_ARM_TEGRA186_CPUFREQ=y CONFIG_QORIQ_CPUFREQ=y -CONFIG_ARM_SCMI_PROTOCOL=y -CONFIG_ARM_SCPI_PROTOCOL=y -CONFIG_RASPBERRYPI_FIRMWARE=y -CONFIG_INTEL_STRATIX10_SERVICE=y -CONFIG_INTEL_STRATIX10_RSU=m -CONFIG_QCOM_SCM=y -CONFIG_EFI_CAPSULE_LOADER=y -CONFIG_IMX_SCU=y -CONFIG_IMX_SCU_PD=y CONFIG_ACPI=y CONFIG_ACPI_APEI=y CONFIG_ACPI_APEI_GHES=y @@ -128,6 +119,7 @@ CONFIG_CRYPTO_AES_ARM64_CE_BLK=y CONFIG_CRYPTO_CHACHA20_NEON=m CONFIG_CRYPTO_AES_ARM64_BS=m CONFIG_JUMP_LABEL=y +CONFIG_SECCOMP=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set @@ -183,11 +175,10 @@ CONFIG_NET_ACT_GATE=m CONFIG_QRTR=m CONFIG_QRTR_SMD=m CONFIG_QRTR_TUN=m -CONFIG_BPF_JIT=y CONFIG_CAN=m +CONFIG_CAN_FLEXCAN=m CONFIG_CAN_RCAR=m CONFIG_CAN_RCAR_CANFD=m -CONFIG_CAN_FLEXCAN=m CONFIG_BT=m CONFIG_BT_HIDP=m # CONFIG_BT_HS is not set @@ -230,7 +221,6 @@ CONFIG_PCIE_ROCKCHIP_HOST=m CONFIG_PCIE_BRCMSTB=m CONFIG_PCI_IMX6=y CONFIG_PCI_LAYERSCAPE=y -CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_PCI_HISI=y CONFIG_PCIE_QCOM=y CONFIG_PCIE_ARMADA_8K=y @@ -238,6 +228,7 @@ CONFIG_PCIE_KIRIN=y CONFIG_PCIE_HISI_STB=y CONFIG_PCIE_TEGRA194_HOST=m CONFIG_PCIE_VISCONTI_HOST=y +CONFIG_PCIE_LAYERSCAPE_GEN4=y CONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=m @@ -245,8 +236,17 @@ CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_FW_LOADER_USER_HELPER=y CONFIG_HISILICON_LPC=y -CONFIG_FSL_MC_BUS=y CONFIG_TEGRA_ACONNECT=m +CONFIG_FSL_MC_BUS=y +CONFIG_ARM_SCMI_PROTOCOL=y +CONFIG_ARM_SCPI_PROTOCOL=y +CONFIG_RASPBERRYPI_FIRMWARE=y +CONFIG_INTEL_STRATIX10_SERVICE=y +CONFIG_INTEL_STRATIX10_RSU=m +CONFIG_QCOM_SCM=y +CONFIG_EFI_CAPSULE_LOADER=y +CONFIG_IMX_SCU=y +CONFIG_IMX_SCU_PD=y CONFIG_GNSS=m CONFIG_GNSS_MTK_SERIAL=m CONFIG_MTD=y @@ -266,8 +266,6 @@ CONFIG_MTD_NAND_MARVELL=y CONFIG_MTD_NAND_FSL_IFC=y CONFIG_MTD_NAND_QCOM=y CONFIG_MTD_SPI_NOR=y -CONFIG_MTK_DEVAPC=m -CONFIG_SPI_CADENCE_QUADSPI=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_NBD=m CONFIG_VIRTIO_BLK=y @@ -353,13 +351,11 @@ CONFIG_SNI_NETSEC=y CONFIG_STMMAC_ETH=m CONFIG_TI_K3_AM65_CPSW_NUSS=y CONFIG_QCOM_IPA=m -CONFIG_MDIO_BUS_MUX_MMIOREG=y -CONFIG_MDIO_BUS_MUX_MULTIPLEXER=y +CONFIG_MESON_GXL_PHY=m CONFIG_AQUANTIA_PHY=y CONFIG_BCM54140_PHY=m CONFIG_MARVELL_PHY=m CONFIG_MARVELL_10G_PHY=m -CONFIG_MESON_GXL_PHY=m CONFIG_MICREL_PHY=y CONFIG_MICROSEMI_PHY=y CONFIG_AT803X_PHY=y @@ -367,6 +363,8 @@ CONFIG_REALTEK_PHY=y CONFIG_ROCKCHIP_PHY=y CONFIG_DP83867_PHY=y CONFIG_VITESSE_PHY=y +CONFIG_MDIO_BUS_MUX_MULTIPLEXER=y +CONFIG_MDIO_BUS_MUX_MMIOREG=y CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_RTL8152=m @@ -475,6 +473,7 @@ CONFIG_SPI=y CONFIG_SPI_ARMADA_3700=y CONFIG_SPI_BCM2835=m CONFIG_SPI_BCM2835AUX=m +CONFIG_SPI_CADENCE_QUADSPI=y CONFIG_SPI_DESIGNWARE=m CONFIG_SPI_DW_DMA=y CONFIG_SPI_DW_MMIO=m @@ -497,8 +496,8 @@ CONFIG_SPI_SH_MSIOF=m CONFIG_SPI_SUN6I=y CONFIG_SPI_SPIDEV=m CONFIG_SPMI=y -CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_MAX77620=y +CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_OWL=y CONFIG_PINCTRL_S700=y CONFIG_PINCTRL_S900=y @@ -547,8 +546,6 @@ CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_MAX77620=y CONFIG_GPIO_SL28CPLD=m CONFIG_POWER_AVS=y -CONFIG_QCOM_CPR=y -CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_POWER_RESET_MSM=y CONFIG_POWER_RESET_QCOM_PON=m CONFIG_POWER_RESET_XGENE=y @@ -556,10 +553,10 @@ CONFIG_POWER_RESET_SYSCON=y CONFIG_SYSCON_REBOOT_MODE=y CONFIG_BATTERY_SBS=m CONFIG_BATTERY_BQ27XXX=y -CONFIG_SENSORS_ARM_SCMI=y CONFIG_BATTERY_MAX17042=m CONFIG_CHARGER_BQ25890=m CONFIG_CHARGER_BQ25980=m +CONFIG_SENSORS_ARM_SCMI=y CONFIG_SENSORS_ARM_SCPI=y CONFIG_SENSORS_JC42=m CONFIG_SENSORS_LM90=m @@ -571,10 +568,10 @@ CONFIG_SENSORS_INA3221=m CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y CONFIG_THERMAL_EMULATION=y -CONFIG_QORIQ_THERMAL=m -CONFIG_SUN8I_THERMAL=y CONFIG_IMX_SC_THERMAL=m CONFIG_IMX8MM_THERMAL=m +CONFIG_QORIQ_THERMAL=m +CONFIG_SUN8I_THERMAL=y CONFIG_ROCKCHIP_THERMAL=m CONFIG_RCAR_THERMAL=y CONFIG_RCAR_GEN3_THERMAL=y @@ -583,8 +580,8 @@ CONFIG_BCM2711_THERMAL=m CONFIG_BCM2835_THERMAL=m CONFIG_BRCMSTB_THERMAL=m CONFIG_EXYNOS_THERMAL=y -CONFIG_TEGRA_BPMP_THERMAL=m CONFIG_TEGRA_SOCTHERM=m +CONFIG_TEGRA_BPMP_THERMAL=m CONFIG_QCOM_TSENS=y CONFIG_QCOM_SPMI_TEMP_ALARM=m CONFIG_QCOM_LMH=m @@ -593,7 +590,6 @@ CONFIG_WATCHDOG=y CONFIG_SL28CPLD_WATCHDOG=m CONFIG_ARM_SP805_WATCHDOG=y CONFIG_ARM_SBSA_WATCHDOG=y -CONFIG_ARM_SMC_WATCHDOG=y CONFIG_S3C2410_WATCHDOG=y CONFIG_DW_WATCHDOG=y CONFIG_SUNXI_WATCHDOG=m @@ -602,6 +598,7 @@ CONFIG_IMX_SC_WDT=m CONFIG_QCOM_WDT=m CONFIG_MESON_GXBB_WATCHDOG=m CONFIG_MESON_WATCHDOG=m +CONFIG_ARM_SMC_WATCHDOG=y CONFIG_RENESAS_WDT=y CONFIG_UNIPHIER_WATCHDOG=y CONFIG_BCM2835_WDT=y @@ -609,6 +606,7 @@ CONFIG_MFD_ALTERA_SYSMGR=y CONFIG_MFD_BD9571MWV=y CONFIG_MFD_AXP20X_I2C=y CONFIG_MFD_AXP20X_RSB=y +CONFIG_MFD_CROS_EC_DEV=y CONFIG_MFD_EXYNOS_LPASS=m CONFIG_MFD_HI6421_PMIC=y CONFIG_MFD_HI655X_PMIC=y @@ -654,13 +652,14 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_ANALOG_TV_SUPPORT=y CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y CONFIG_MEDIA_SDR_SUPPORT=y +CONFIG_MEDIA_PLATFORM_SUPPORT=y CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_V4L2_SUBDEV_API=y -CONFIG_MEDIA_PLATFORM_SUPPORT=y # CONFIG_DVB_NET is not set CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_V4L_PLATFORM_DRIVERS=y +CONFIG_VIDEO_QCOM_CAMSS=m CONFIG_VIDEO_RCAR_CSI2=m CONFIG_VIDEO_RCAR_VIN=m CONFIG_VIDEO_SUN6I_CSI=m @@ -677,7 +676,6 @@ CONFIG_VIDEO_RCAR_DRIF=m CONFIG_VIDEO_IMX219=m CONFIG_VIDEO_OV5640=m CONFIG_VIDEO_OV5645=m -CONFIG_VIDEO_QCOM_CAMSS=m CONFIG_DRM=m CONFIG_DRM_I2C_NXP_TDA998X=m CONFIG_DRM_MALI_DISPLAY=m @@ -704,24 +702,24 @@ CONFIG_DRM_SUN8I_DW_HDMI=m CONFIG_DRM_SUN8I_MIXER=m CONFIG_DRM_MSM=m CONFIG_DRM_TEGRA=m +CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m CONFIG_DRM_PANEL_LVDS=m CONFIG_DRM_PANEL_SIMPLE=m CONFIG_DRM_PANEL_EDP=m -CONFIG_DRM_PANEL_BOE_TV101WUM_NL6=m CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m CONFIG_DRM_PANEL_RAYDIUM_RM67191=m CONFIG_DRM_PANEL_SITRONIX_ST7703=m CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_DRM_LONTIUM_LT8912B=m -CONFIG_DRM_NWL_MIPI_DSI=m CONFIG_DRM_LONTIUM_LT9611=m +CONFIG_DRM_LONTIUM_LT9611UXC=m +CONFIG_DRM_NWL_MIPI_DSI=m CONFIG_DRM_PARADE_PS8640=m CONFIG_DRM_SII902X=m CONFIG_DRM_SIMPLE_BRIDGE=m CONFIG_DRM_THINE_THC63LVD1024=m CONFIG_DRM_TI_SN65DSI86=m -CONFIG_DRM_LONTIUM_LT9611UXC=m CONFIG_DRM_I2C_ADV7511=m CONFIG_DRM_I2C_ADV7511_AUDIO=y CONFIG_DRM_DW_HDMI_AHB_AUDIO=m @@ -752,15 +750,15 @@ CONFIG_SND_HDA_TEGRA=m CONFIG_SND_HDA_CODEC_HDMI=m CONFIG_SND_SOC=y CONFIG_SND_BCM2835_SOC_I2S=m -CONFIG_SND_SOC_FSL_SAI=m CONFIG_SND_SOC_FSL_ASRC=m +CONFIG_SND_SOC_FSL_SAI=m CONFIG_SND_SOC_FSL_MICFIL=m CONFIG_SND_SOC_FSL_EASRC=m CONFIG_SND_IMX_SOC=m CONFIG_SND_SOC_IMX_SGTL5000=m CONFIG_SND_SOC_IMX_SPDIF=m -CONFIG_SND_SOC_IMX_AUDMIX=m CONFIG_SND_SOC_FSL_ASOC_CARD=m +CONFIG_SND_SOC_IMX_AUDMIX=m CONFIG_SND_MESON_AXG_SOUND_CARD=m CONFIG_SND_MESON_GX_SOUND_CARD=m CONFIG_SND_SOC_QCOM=m @@ -865,8 +863,8 @@ CONFIG_TYPEC=m CONFIG_TYPEC_TCPM=m CONFIG_TYPEC_TCPCI=m CONFIG_TYPEC_FUSB302=m -CONFIG_TYPEC_HD3SS3220=m CONFIG_TYPEC_TPS6598X=m +CONFIG_TYPEC_HD3SS3220=m CONFIG_MMC=y CONFIG_MMC_BLOCK_MINORS=32 CONFIG_MMC_ARMMMCI=y @@ -964,7 +962,6 @@ CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_MMIO=y CONFIG_XEN_GNTDEV=y CONFIG_XEN_GRANT_DEV_ALLOC=y -CONFIG_MFD_CROS_EC_DEV=y CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y CONFIG_VIDEO_HANTRO=m @@ -974,15 +971,14 @@ CONFIG_CROS_EC=y CONFIG_CROS_EC_I2C=y CONFIG_CROS_EC_SPI=y CONFIG_CROS_EC_CHARDEV=m -CONFIG_COMMON_CLK_SCMI=y CONFIG_COMMON_CLK_RK808=y +CONFIG_COMMON_CLK_SCMI=y CONFIG_COMMON_CLK_SCPI=y CONFIG_COMMON_CLK_CS2000_CP=y CONFIG_COMMON_CLK_FSL_SAI=y CONFIG_COMMON_CLK_S2MPS11=y CONFIG_COMMON_CLK_PWM=y CONFIG_COMMON_CLK_VC5=y -CONFIG_COMMON_CLK_ZYNQMP=y CONFIG_COMMON_CLK_BD718XX=m CONFIG_CLK_RASPBERRYPI=m CONFIG_CLK_IMX8MM=y @@ -998,8 +994,8 @@ CONFIG_QCOM_CLK_APCS_MSM8916=y CONFIG_QCOM_CLK_APCC_MSM8996=y CONFIG_QCOM_CLK_SMD_RPM=y CONFIG_QCOM_CLK_RPMH=y -CONFIG_IPQ_GCC_8074=y CONFIG_IPQ_GCC_6018=y +CONFIG_IPQ_GCC_8074=y CONFIG_MSM_GCC_8916=y CONFIG_MSM_GCC_8994=y CONFIG_MSM_MMCC_8996=y @@ -1012,15 +1008,16 @@ CONFIG_SDM_GCC_845=y CONFIG_SDM_GPUCC_845=y CONFIG_SDM_VIDEOCC_845=y CONFIG_SDM_DISPCC_845=y +CONFIG_SM_DISPCC_8250=y CONFIG_SM_GCC_8150=y CONFIG_SM_GCC_8250=y CONFIG_SM_GCC_8350=y CONFIG_SM_GPUCC_8150=y CONFIG_SM_GPUCC_8250=y -CONFIG_SM_DISPCC_8250=y CONFIG_QCOM_HFPLL=y CONFIG_CLK_GFM_LPASS_SM8250=m CONFIG_CLK_RCAR_USB2_CLOCK_SEL=y +CONFIG_COMMON_CLK_ZYNQMP=y CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y CONFIG_ARM_MHU=y @@ -1051,9 +1048,11 @@ CONFIG_RASPBERRYPI_POWER=y CONFIG_FSL_DPAA=y CONFIG_FSL_MC_DPIO=y CONFIG_FSL_RCPM=y +CONFIG_MTK_DEVAPC=m CONFIG_MTK_PMIC_WRAP=y CONFIG_QCOM_AOSS_QMP=y CONFIG_QCOM_COMMAND_DB=y +CONFIG_QCOM_CPR=y CONFIG_QCOM_GENI_SE=y CONFIG_QCOM_RMTFS_MEM=m CONFIG_QCOM_RPMH=y @@ -1064,25 +1063,26 @@ CONFIG_QCOM_SMD_RPM=y CONFIG_QCOM_SMP2P=y CONFIG_QCOM_SMSM=y CONFIG_QCOM_SOCINFO=m -CONFIG_QCOM_WCNSS_CTRL=m CONFIG_QCOM_STATS=m +CONFIG_QCOM_WCNSS_CTRL=m CONFIG_QCOM_APR=m -CONFIG_ARCH_R8A774A1=y -CONFIG_ARCH_R8A774B1=y -CONFIG_ARCH_R8A774C0=y -CONFIG_ARCH_R8A774E1=y +CONFIG_ARCH_R8A77995=y +CONFIG_ARCH_R8A77990=y CONFIG_ARCH_R8A77950=y CONFIG_ARCH_R8A77951=y +CONFIG_ARCH_R8A77965=y CONFIG_ARCH_R8A77960=y CONFIG_ARCH_R8A77961=y -CONFIG_ARCH_R8A77965=y -CONFIG_ARCH_R8A77970=y +CONFIG_ARCH_R8A779F0=y CONFIG_ARCH_R8A77980=y -CONFIG_ARCH_R8A77990=y -CONFIG_ARCH_R8A77995=y +CONFIG_ARCH_R8A77970=y CONFIG_ARCH_R8A779A0=y -CONFIG_ARCH_R8A779F0=y +CONFIG_ARCH_R8A774C0=y +CONFIG_ARCH_R8A774E1=y +CONFIG_ARCH_R8A774A1=y +CONFIG_ARCH_R8A774B1=y CONFIG_ARCH_R9A07G044=y +CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_ROCKCHIP_PM_DOMAINS=y CONFIG_ARCH_TEGRA_132_SOC=y CONFIG_ARCH_TEGRA_210_SOC=y @@ -1161,13 +1161,13 @@ CONFIG_PHY_UNIPHIER_USB3=y CONFIG_PHY_TEGRA_XUSB=y CONFIG_ARM_SMMU_V3_PMU=m CONFIG_FSL_IMX8_DDR_PMU=m -CONFIG_HISI_PMU=y CONFIG_QCOM_L2_PMU=y CONFIG_QCOM_L3_PMU=y +CONFIG_HISI_PMU=y CONFIG_NVMEM_IMX_OCOTP=y CONFIG_NVMEM_IMX_OCOTP_SCU=y -CONFIG_QCOM_QFPROM=y CONFIG_MTK_EFUSE=y +CONFIG_QCOM_QFPROM=y CONFIG_ROCKCHIP_EFUSE=y CONFIG_NVMEM_SUNXI_SID=y CONFIG_UNIPHIER_EFUSE=y @@ -1181,10 +1181,10 @@ CONFIG_FPGA_REGION=m CONFIG_OF_FPGA_REGION=m CONFIG_TEE=y CONFIG_OPTEE=y +CONFIG_MUX_MMIO=y CONFIG_SLIMBUS=m CONFIG_SLIM_QCOM_CTRL=m CONFIG_SLIM_QCOM_NGD_CTRL=m -CONFIG_MUX_MMIO=y CONFIG_INTERCONNECT=y CONFIG_INTERCONNECT_IMX=m CONFIG_INTERCONNECT_IMX8MM=m From patchwork Wed Feb 9 10: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: 12740049 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 D27FAC433F5 for ; Wed, 9 Feb 2022 10:17:28 +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:References:In-Reply-To: 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: List-Owner; bh=KPp/bGVUsBsiO2w2Kry244PzFkXYRL2boUtQB/UWGMY=; b=QTtBqBk+3kGXEB t28TeL4k4PP+mZWTkAif/iUe5aclRQbCTnra8/9vkYNh+E+4CbZtl3l1zOF4P4q820n0r8Ec/v2wQ HE6/Neurt+jNZo75RadU2QVbJxKNTuTpxDtxL2Kv7IoxO5hauuLcukJDv08L5w2fYtYhBaM5TMTeT q3R0SU6Qs1MS+2lWgr4GMUxTaBuVdIKAkRRRwjOv1v5d8Bm1eKLiMGZTjkbMpJb8z/mLS1SypHfy5 LIJ9USdTp0Lef7uqdwpZ25aoYIh26X/l2P/uk2lwh00hPD9p9wY0yRNV3F06KzMX2bB7p4SfFgkfW 5oOrYuBxCGPXcq8wmA7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjzp-00HAPj-UN; Wed, 09 Feb 2022 10:14:46 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnT-00H4td-UX for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:03 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MEFKb-1nROqL23Xh-00ACFP; Wed, 09 Feb 2022 11:01:36 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Nobuhiro Iwamatsu , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 05/12] arm64: defconfig: rebuild default configuration Date: Wed, 9 Feb 2022 11:00:48 +0100 Message-Id: <20220209100055.181389-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:q4Nfpd2xG/LOCQgFXRL6j0FPEolhoVl1sKyq24fhQt0slzt1Xv0 dGfH8seJRcLc80/bN9onsrIJX6D+ItWG56U2q+3Eu5UOREdMyqJV97IGIRXre8uJmRkCs0o l90EzBhqLnbS4UK4ynZCoIW6dhlBzImlKnUJIJk/iwkyOXbWgWhLGYtNWlUk/NGpnntoe4m 7zeOZn+Oi7IPIk55D+KKg== X-UI-Out-Filterresults: notjunk:1;V03:K0:XESZUaxDBnY=:77X8QVFloI4NIcHu69ZAh0 ERvv4A+6RncowJApOC2YfS5Lfagqfn5R9KgM21fmjS6boDXxbocE5apPE+ym9uT1WZGIJ9Nra Gb49SZzIy9UNGfrxmNaCJdGswbOdtaghsKf6kZbPRyTQTtfArD9mI+qRWlT/PG67Ge5fFDcBo DDDWBpLnAs1K9IpjvicN00tHQq7xpSFWkCZh7etCcTLr/23Xa9CwZhmDjvrN4vaoRM7CEeCP3 444J9iHVpKQf7AtvEaXZYyyNKrrupHgFj9PC+sgkgFVk/iB6wfpsBsc/jMlVt6DgFZoNuw7xx Sxb0Kwj/3/3RLvztl3Qj8FskB0e7E1OvPxVSuU1XHBqDeuQIPP6Be2o2LDUuA2jFn6a/UJwBw g6Lzs8SuTregww+lZnuZ63ufsrwCp/fdJujVkm2aF4RnVpfcM2mbE/M+PcazYYGtaujHtdKU8 VNnMKVSbsaOG6gcaT24CDPMrx1h8Qz+rW3azleZC4COpEY55mcxwjwAiIZaM4VS/GkcOxPV7Q TNaM23WvW7bOC5AVKuVtkvh5DvL4Cq8JLlk9nuBM88r7bXMPsM31LU/L5uP4q1Zrmwe7K0Bcb +WqHxQWNNugN5B/2VfZejqwEg80uljYJRmKV4/zUKKG11dhXHwXdkm1FbcZj5JKdrpl1enWhv GV2+j8iztMxdJpf6UPcKWROf+5gK215l/crRfSxvAryJq709u5MDUB9jiRGIweu5Iw7HkLTxC r1SVfC2r0AMyNrGD X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020200_116376_EBB6B33D X-CRM114-Status: UNSURE ( 8.67 ) 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 From: Marcel Ziswiler Run "make defconfig; make savedefconfig" to rebuild defconfig. This dropped the following configuration options which are nowaday's already enabled (resp. disabled) by default: CONFIG_MEMCG_SWAP=y CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y # CONFIG_BT_HS is not set CONFIG_FSL_MC_BUS=y CONFIG_QCOM_SCM=y CONFIG_MFD_CROS_EC_DEV=y CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_SND_SOC_FSL_SAI=m CONFIG_USB_CONN_GPIO=m CONFIG_USB_XHCI_PCI=m CONFIG_SDM_GCC_845=y CONFIG_SM_DISPCC_8250=y CONFIG_SM_GCC_8150=y CONFIG_SM_GCC_8250=y CONFIG_COMMON_CLK_ZYNQMP=y CONFIG_POWER_AVS was renamed to POWER_AVS_OMAP in commit bca815d62054 ("PM: AVS: smartreflex Move driver to soc specific drivers"). As there are no 64-bit Arm OMAPs it getting dropped seems fair. Note that the following user-selectable configuration options have been preserved: CONFIG_SECCOMP=y CONFIG_SLIMBUS=m CONFIG_INTERCONNECT=y CONFIG_CONFIGFS_FS=y Signed-off-by: Marcel Ziswiler --- (no changes since v3) Changes in v3: - Not dropping CONFIG_SECCOMP=y, CONFIG_SLIMBUS=m, CONFIG_INTERCONNECT=y and CONFIG_CONFIGFS_FS=y as requested by Krzysztof. Changes in v2: - Done full defconfig analysis as requested by Krzysztof. arch/arm64/configs/defconfig | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 25a4eff126d4..530ad076b5cb 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -15,7 +15,6 @@ CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_NUMA_BALANCING=y CONFIG_MEMCG=y -CONFIG_MEMCG_SWAP=y CONFIG_BLK_CGROUP=y CONFIG_CGROUP_PIDS=y CONFIG_CGROUP_HUGETLB=y @@ -85,7 +84,6 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_ACPI_CPPC_CPUFREQ=m CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=m @@ -181,7 +179,6 @@ CONFIG_CAN_RCAR=m CONFIG_CAN_RCAR_CANFD=m CONFIG_BT=m CONFIG_BT_HIDP=m -# CONFIG_BT_HS is not set # CONFIG_BT_LE is not set CONFIG_BT_LEDS=y # CONFIG_BT_DEBUGFS is not set @@ -237,13 +234,11 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_FW_LOADER_USER_HELPER=y CONFIG_HISILICON_LPC=y CONFIG_TEGRA_ACONNECT=m -CONFIG_FSL_MC_BUS=y CONFIG_ARM_SCMI_PROTOCOL=y CONFIG_ARM_SCPI_PROTOCOL=y CONFIG_RASPBERRYPI_FIRMWARE=y CONFIG_INTEL_STRATIX10_SERVICE=y CONFIG_INTEL_STRATIX10_RSU=m -CONFIG_QCOM_SCM=y CONFIG_EFI_CAPSULE_LOADER=y CONFIG_IMX_SCU=y CONFIG_IMX_SCU_PD=y @@ -545,7 +540,6 @@ CONFIG_GPIO_PCA953X_IRQ=y CONFIG_GPIO_BD9571MWV=m CONFIG_GPIO_MAX77620=y CONFIG_GPIO_SL28CPLD=m -CONFIG_POWER_AVS=y CONFIG_POWER_RESET_MSM=y CONFIG_POWER_RESET_QCOM_PON=m CONFIG_POWER_RESET_XGENE=y @@ -606,7 +600,6 @@ CONFIG_MFD_ALTERA_SYSMGR=y CONFIG_MFD_BD9571MWV=y CONFIG_MFD_AXP20X_I2C=y CONFIG_MFD_AXP20X_RSB=y -CONFIG_MFD_CROS_EC_DEV=y CONFIG_MFD_EXYNOS_LPASS=m CONFIG_MFD_HI6421_PMIC=y CONFIG_MFD_HI655X_PMIC=y @@ -653,8 +646,6 @@ CONFIG_MEDIA_ANALOG_TV_SUPPORT=y CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y CONFIG_MEDIA_SDR_SUPPORT=y CONFIG_MEDIA_PLATFORM_SUPPORT=y -CONFIG_MEDIA_CONTROLLER=y -CONFIG_VIDEO_V4L2_SUBDEV_API=y # CONFIG_DVB_NET is not set CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m @@ -710,7 +701,6 @@ CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m CONFIG_DRM_PANEL_RAYDIUM_RM67191=m CONFIG_DRM_PANEL_SITRONIX_ST7703=m CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m -CONFIG_DRM_DISPLAY_CONNECTOR=m CONFIG_DRM_LONTIUM_LT8912B=m CONFIG_DRM_LONTIUM_LT9611=m CONFIG_DRM_LONTIUM_LT9611UXC=m @@ -751,7 +741,6 @@ CONFIG_SND_HDA_CODEC_HDMI=m CONFIG_SND_SOC=y CONFIG_SND_BCM2835_SOC_I2S=m CONFIG_SND_SOC_FSL_ASRC=m -CONFIG_SND_SOC_FSL_SAI=m CONFIG_SND_SOC_FSL_MICFIL=m CONFIG_SND_SOC_FSL_EASRC=m CONFIG_SND_IMX_SOC=m @@ -812,11 +801,9 @@ CONFIG_SND_AUDIO_GRAPH_CARD=m CONFIG_HID_MULTITOUCH=m CONFIG_I2C_HID_ACPI=m CONFIG_I2C_HID_OF=m -CONFIG_USB_CONN_GPIO=m CONFIG_USB=y CONFIG_USB_OTG=y CONFIG_USB_XHCI_HCD=y -CONFIG_USB_XHCI_PCI=m CONFIG_USB_XHCI_PCI_RENESAS=m CONFIG_USB_XHCI_TEGRA=y CONFIG_USB_EHCI_HCD=y @@ -1004,20 +991,15 @@ CONFIG_QCS_GCC_404=y CONFIG_SC_GCC_7180=y CONFIG_SC_GCC_7280=y CONFIG_SDM_CAMCC_845=m -CONFIG_SDM_GCC_845=y CONFIG_SDM_GPUCC_845=y CONFIG_SDM_VIDEOCC_845=y CONFIG_SDM_DISPCC_845=y -CONFIG_SM_DISPCC_8250=y -CONFIG_SM_GCC_8150=y -CONFIG_SM_GCC_8250=y CONFIG_SM_GCC_8350=y CONFIG_SM_GPUCC_8150=y CONFIG_SM_GPUCC_8250=y CONFIG_QCOM_HFPLL=y CONFIG_CLK_GFM_LPASS_SM8250=m CONFIG_CLK_RCAR_USB2_CLOCK_SEL=y -CONFIG_COMMON_CLK_ZYNQMP=y CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y CONFIG_ARM_MHU=y From patchwork Wed Feb 9 10:00:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740056 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 36311C433EF for ; Wed, 9 Feb 2022 10:21:15 +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:References:In-Reply-To: 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: List-Owner; bh=HB+bSaa51ih6L/nAgFF3cbZbAIUCmuMQI1g7fNVJGlg=; b=IkXUoGLnswUeWg bvsEt1lR3mVVtmF2htBOhjHH4zzoE69mSpEvsb3Vyt31JLwpvy+O9yWOnyDiDHOVXN9ijaWDrG/Mq CDyaXFn8hOcOZZX8QxmfFK74d6rtDX0D/dP/CMbsjlEke0frimG4ioq8nwIR54cOO33d7K2rhR3io gM6i9ByhxW9YUSHWclDvfAf653uoBVcnE+oL129K421pMExjI4uHFyzDauNiWJjM1syjFLnfNM7WR CRKSRQktEXzgRS1bOOXmYlDjscZhhMTpDUylKe+Cm4hCAHbkh5ziO17hJGkxVzyuxnEkRnkAsW0l3 9pOg1dqIZkc5j8iuCGgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk3k-00HC5c-2G; Wed, 09 Feb 2022 10:18:48 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnk-00H51I-Ub for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:19 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1N3ryu-1oHIft0ig4-00zopa; Wed, 09 Feb 2022 11:01:41 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Song Liu , Krzysztof Kozlowski , Alexei Starovoitov , Andrii Nakryiko , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Daniel Borkmann , Enric Balletbo i Serra , Geert Uytterhoeven , John Fastabend , KP Singh , Krzysztof Kozlowski , Martin KaFai Lau , Nobuhiro Iwamatsu , Olof Johansson , Shawn Guo , Will Deacon , Yonghong Song , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v5 06/12] arm64: defconfig: enable bpf/cgroup firewalling Date: Wed, 9 Feb 2022 11:00:49 +0100 Message-Id: <20220209100055.181389-7-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Kw+BhOFTEuUQKmEHH4xL/6JksYEjaYP6yvF8rvBT0drqrWrhZUL +NOKeIXqZ9z0rR2/UQ69oL6ixxBvNn27jaF96mlpJjypAdRe6lwS6/HjJB2Be0xpUPb3/MR Z34gXF5/BT8bO6rRAL+ITnNnjcmp73lFlrrVNDLlmu83Hlqy1ooP2f+8tNHlcnxEpyDv1v2 0ivfnJbbEi8wcY4ceQMWw== X-UI-Out-Filterresults: notjunk:1;V03:K0:hjkP9s4sIoU=:IrfJe/xalZczibzn283V3K ASwWlXAbMFbyBcww04gXeXJE8beZfJnrdopUOPk2sHRoTZbqW3Ic3N9xQUKHyPYEuGDHHVUal svkS1/sPDuGlp6oBjCvsPz4NX6Nf49bg9EHxLv92E9tIbnhslhv1k6OH7Y6Ru3TabOWY1bA72 iZoZi/2owWjBPf32o4tPZTld+zqoAtq65d3Ee1W7hzjy/3WhHipy36RXtFoxStj0OrpanDGUy HQNAvdYJ4JOYYrrL6M5+kcINS2mDyssxiHsoR/Hdvwz9C172ExbYjt1xe4bqEHIo5R72cNBTT ep73rX2BonmbuGMbqETyjYPlbyIIQoRu9yAs48HJCZzuwmeyNMaE66tkeamLmOfUrilLDmIol Y9A5Wloi2vuXvSworxeBzzLYlEjdoicEMeFQM4RYRiTrNaZzKfqux6TcbRw+zTV9+xTpqyA1G c6L1R2IbU+dKOj0Z7APObxueOxojfCqYrSXDr9vbg379Idy5jH4mG4dBJuq2NG/DyXgPMGqbD qPZHHwosWM/tpHonD8ARTQTd+dSHqDi3+cq1QDTSrQXKtaEPgdyA3iMIaupS8bWe9VIyb8Vet In4fiXU6aKV6n26/VVsiqx1BPOQJZJumJO3LnXMJs6LzItFBv78ahpLgFQ71bfWqUwy7+LhMH +CsLc0YBS/P/5N4sXm3VmYxt3k06uDbI7d5t/YBMYGRj6KLBou0BQ1tOSWRF7ivgqY+nj60Cn AKq91+v0PvRZ/n4s X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020217_131782_3F15F9B3 X-CRM114-Status: UNSURE ( 8.86 ) 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 From: Marcel Ziswiler This avoids the following systemd warning: [ 2.618538] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.630916] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) Signed-off-by: Marcel Ziswiler Acked-by: Song Liu Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add Krzysztof's reviewed-by tag. Changes in v2: - Add Song's acked-by tag. arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 530ad076b5cb..444fec9ec73a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -3,6 +3,7 @@ CONFIG_POSIX_MQUEUE=y CONFIG_AUDIT=y CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_PREEMPT=y CONFIG_IRQ_TIME_ACCOUNTING=y @@ -22,6 +23,7 @@ CONFIG_CPUSETS=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_PERF=y +CONFIG_CGROUP_BPF=y CONFIG_USER_NS=y CONFIG_SCHED_AUTOGROUP=y CONFIG_BLK_DEV_INITRD=y From patchwork Wed Feb 9 10:00:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740051 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 E09A8C433EF for ; Wed, 9 Feb 2022 10:18:09 +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:References:In-Reply-To: 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: List-Owner; bh=nw8WMMVg56M1MNdkk6fh8D2K6E1ZUwZwYkjJlmR4WC8=; b=s02drul08dwzYh yRc0ILbP6TUqpG1LyB/FkFXEdJAfhNnMpwSJ1A2oMC2Nd9FNA4rM1+ExX+O8BNoHLzqeOnbcMsvuK cvNUdm022yXobuzD8HKGuQTSYDbJE1/ty62xnMFoMyx62rsXF3bP7HPqms5M9wbxkJqTsSzzbaQFP 9MbXLYkrP5f3Xtv/fKcCizEBc3SZTvMHTk1qiX0VmkjxBobth1peKfyDTG6g4pvvvhhYHf/REGBYP 2EnYGjVv0gqbGFSDQTGJObZHhm5EM1gvb6nKdA6bjW6EwDWduybUwSXYUshkB6s5WGv3n8LNAus6y BGtcLfKxVhsHvNqUrInA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk0e-00HAmS-S8; Wed, 09 Feb 2022 10:15:37 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnS-00H4tR-Rz for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:02 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MMX5X-1nZgaN0dVf-00JeSf; Wed, 09 Feb 2022 11:01:44 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 07/12] arm64: defconfig: enable imx8m pcie phy driver Date: Wed, 9 Feb 2022 11:00:50 +0100 Message-Id: <20220209100055.181389-8-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:b8SxDQe9Yb+nS3ipl49PK5HYshZb8p5+G1Rd2UQm9N7ousmmQ2g LRG+Upfp1tpC3xqPuysmqDGep2HL1khFHOCJHbIplt9mKpKOOygNFfFelL1Chqa5HawjDzh 1zV6N+2J6ZK3NqxLy0sBQkwZkg0tN/0bCBaAkCiiYjvO0SZbW9ozndIzlW/e9l0q3byMGoZ iXP4DdpiKmaWAQfoVPVyQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:nJX11YOh1LU=:tCNJM6tVIclCVnUfpnYggU XnhKHxGjPl/Wv8wQJpQCO/azsK13ZGGrgJMAc6TEyCMx+nHaxTcApMMFmc/Zr0Ay7bbKCl+rE M3ZchT2QhQB4qeR2hDaeBQl7UvE/Swsdi6J0kM3obXan7SpaoLLFllfcqH5dgPbBNLyZWPZt3 jlxHAjBLw19rl58NOnbwB1ABFFlVyiIyfjfZkz3Pk7Dpj60QRE8fQRhi6lZrr5DrfZCwmkxGX S3+q1d4WIF6G2TAPKYzgenYWD+AqKs4cAhzW7zuuwAorgwrAWIhTKtxS9G422mELUOkZh1jQS uLFrjA1fbWC0dtP3ACWHs+AjYXJVc/GtbZigOY0ScsWylVMESQVa0adIJPa/lezaYw3TyyHCY 7igCGVLkZ/Vv/6/ptmdvguzlifJ/pcZiY7uenA2fRSd1u3tpLqGjeV57Eluo7CKmPrPCBYaUd cVTdjcFKw1jzlIdn5HXz8aomODDtEOgVct6VnogETWc2SySIsAfvsqE/fCqDOCvnh9fYk2Iso jvtD/nJZ/nbQRSxIo80Boi4YXL94eMaLaGr+o7zD+971AAaQzpm1R6B2b5wU0f1b3S/gYTiGm bW7zNWxYkuGsGwFTe3tE4vJmgSaXRqpgwHmuFLYjZEHOkwgSIv2CQaOxH+3cDzzZ1+cEx7rOy 9CNnTy+kvalK7zsXWffYtoNPMjEt9+txV+NaST8GgTenhMV17Bg9AnylpKi/93XqqKO5sPsQS +Uz9aKVm+jFHe/wh X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020159_038586_916616E5 X-CRM114-Status: UNSURE ( 8.13 ) 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 From: Marcel Ziswiler This enables the i.MX 8M PCIe PHY driver (CONFIG_PHY_FSL_IMX8M_PCIE) required for PCIe functionality. Signed-off-by: Marcel Ziswiler --- (no changes since v3) Changes in v3: - New patch enabling imx8m pcie phy driver in arm64 defconfig. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 444fec9ec73a..0fed8477e72e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1121,6 +1121,7 @@ CONFIG_RESET_TI_SCI=y CONFIG_PHY_XGENE=y CONFIG_PHY_SUN4I_USB=y CONFIG_PHY_MIXEL_MIPI_DPHY=m +CONFIG_PHY_FSL_IMX8M_PCIE=y CONFIG_PHY_HI6220_USB=y CONFIG_PHY_HISTB_COMBPHY=y CONFIG_PHY_HISI_INNO_USB2=y From patchwork Wed Feb 9 10:00:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740054 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 99912C433EF for ; Wed, 9 Feb 2022 10:19:45 +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:References:In-Reply-To: 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: List-Owner; bh=aNFfEZMEILvx41rw5VKOYMU4fHANzj2YtL+kyJRZLf8=; b=Xo+vxOQ5K5Q96q UH9lqkGGkngU6Z2fcdA3IpwyxlpnJm6iIFZJzQClbT/2PgTJzyUq/POgt4CZGiRuR2iO2f7zS7qU8 PU9FFtUAPMfLj4iAn4XVW/v03nMbTsTQK9pgOVzRWKgCcNlzKEKSc+IaFY8NnYNJZ/hd5BlQBEnDM cJGObtfHPzNkCMNJoXJu7xlqDIHkmhLOUqtpbKP5jAlgEB3opUAuhaJ3gP8rxTKR8yj9kK8lZoww5 ZNPL972uEz+EOwVOONbSMzrLqajlKaple74JkIeqWii/X1eADhz13U2aXamNd8CIvngF5yJGloSvQ 5OjFxZ8F8qm15snr+fVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk23-00HBMF-OS; Wed, 09 Feb 2022 10:17:04 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnY-00H4vh-Qy for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:06 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1Mo7aJ-1o5OpV4Ayh-00pZP3; Wed, 09 Feb 2022 11:01:47 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Nobuhiro Iwamatsu , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 08/12] arm64: defconfig: build imx-sdma as a module Date: Wed, 9 Feb 2022 11:00:51 +0100 Message-Id: <20220209100055.181389-9-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:9ic7kC5N62T8D1ZciNvAZsix7jrQDa/+Ubin8FoE6e6lzPJTQYi xHFFIHaf8K3ror8peOpJ0pATgs1ykurnFftdKY7MMgJIV/Wy5er+f4eVcIP53eT1dUgYN2J hQPx5VxpBzVPic2hV/FTwVnriWbaeU3mRVNgG2yXzqUVKBrY8YUNBFDeYDUj/58L6WOGCCM X/7JF2YMuQXIWQoXgRfQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:eBNwhrWBw/4=:nS/UXxRTHqzrHNSUYqcuEd j9lxglYStfLUe50OaJW904ZaFVJj4Cs+xFReoL7FxOvW9DLieY7aBp624h1OxmBkvmciibwKr 2oPO4YNqO/iSe0L7OgG7BH15GsKZJGCcP0uoF8ylK8qEBePNWGRX59/4Np4nrA9xERKmiQf3h M/NuJGAi3c91dqwaVsmSFqAuCdU2Md/UNwuZpbTiWUsFPs3Ff4CFnKBqu42IPfAW+Pfe+5eR3 ts/zq7B0ajYi5mIOMVNo40PBsyhwcQ63AukFUZvozIOGl5MkZkXLxCsJ3G2dhUECJle8svCqJ Zm0DcNXa6rrFxdbX9muhC8c0t7xAhtxZT9ggGSTnzHo2+DbSsx8/0O3u4ynie4165c+OmtY9j RCA/MNtmPf3fY696O8znJsHG2dPJrGykUlL6JWaQJHoTWDAXl7eCL1evGg4JjJRlg4Cv9JDuh GBF2OsIwtF8K51VwJhSTU7ij6adcEO75aY7jtUUa1HeiH5/vXlQ9jaBX6+yL4Rd6Gl/X9WDUF W9/UXqEJBDduwNt54v8+F0zk/SII9i5gpmiljMYn+OSDJQwQNIjMNXzIXLYOieav0/5MzJhCY qQnl/NtsRxBUDQlXwRo1hkPy84EIjRhr2BGz/6kllh/RROYTO3/WrhMS3bR+qkoBdZnl+5THy tyWaIZ8Zn2z6qWFU2TGrlKrhT2vznmLe75TxhJ/+SkiXRjvlyd27UuvMFx4XcpShGzcaKx48J uLtdvg959fQqAAH/ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020205_001203_64C0CA8C X-CRM114-Status: UNSURE ( 9.69 ) 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 From: Marcel Ziswiler This avoids firmware load error and sysfs fallback reported as follows: [ 0.199448] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2 [ 0.199487] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin Signed-off-by: Marcel Ziswiler --- (no changes since v2) Changes in v2: - 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/ arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0fed8477e72e..27afe24a025a 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -928,7 +928,7 @@ CONFIG_DMADEVICES=y CONFIG_DMA_BCM2835=y CONFIG_DMA_SUN6I=m CONFIG_FSL_EDMA=y -CONFIG_IMX_SDMA=y +CONFIG_IMX_SDMA=m CONFIG_K3_DMA=y CONFIG_MV_XOR=y CONFIG_MV_XOR_V2=y From patchwork Wed Feb 9 10:00:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740050 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 AB4BAC433EF for ; Wed, 9 Feb 2022 10:17:49 +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:References:In-Reply-To: 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: List-Owner; bh=58iicr3JZJQvmw1aemmCTS/LkrO3crVqCYPhRMqetOE=; b=YuKOMdG7EIh+qW PZWslEsP55JnEcVX0a/bP6c6rdrlFfs6vuGsrO0xVu3NNdddO0mpEMYLk4mS8NTNqbNq7rwX6yPdq Bd16WvUokEYab2rYOVl6DwgwV5mViqmCiXVl6hjgHgs1JPNJl5/hK1g9vzpD8yF1lEHaTMB3fQWvN katixtVPYgzSfMLNXM7TTTcH9GfdrJmI0yN3llGzoZ3Mak+N7yyPTUljqLr/CmtJn6XpOGNi018N5 9LgKGiA34QJRb9Bo1EI2owhrc/4TRae2q+hbQoOCfnTONF9csX1RVh2HI4tzkpkXc1h5RdmOHfzo3 kUCNbEc6nfo8tYhyZXtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk1G-00HB2l-0y; Wed, 09 Feb 2022 10:16:14 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnY-00H4vf-LG for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:06 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MIxeQ-1nb4A344ks-00KTo4; Wed, 09 Feb 2022 11:01:50 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Krzysztof Kozlowski , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 09/12] arm64: defconfig: build r8169 as a module Date: Wed, 9 Feb 2022 11:00:52 +0100 Message-Id: <20220209100055.181389-10-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:zca5Ikn+zSTc0G04hEpk0h1B3qaKVnnooqQMUOAa1KckuGcu7lO 3bKM0SlaI3YHnkvHVkj1iX8PoJKewteaHVRde4AVVkfjZPj9JwFon+T4jNIUO9A/CHAsSWK 3GBSaYF4DWT7DGClM71AD2CQspSGaGyfdAIZUBeuQOKztX6rEtAOLcc4e7qSA/sy8LsFZAx 3f3FuIys0px05z0i2qtTg== X-UI-Out-Filterresults: notjunk:1;V03:K0:ByQVst2HHro=:4gpLykG4tBgg3B+06KIvhf e+ciQTFtFfym7k33GM4xH7hNgK745DKDVCMIWySnwRG3lgJ2/cvcTYy2ho99hU2K61gh1udCB DxdkYMoZ7QX+ew/B0ZJ3UsFczKtAEiXl3j6YulhFhCC7UTXyBse4LTF4To9w8d+3TlI5KdvIn dJ+QXBxecPXgPCTeNboyXRpFROPs0nl0iFIv401ET1T3L0CNaAuqxIkxIThu5029poLwpCY94 dbS1HII6CjofxV6AUqMsKhzbptm/aUm182Wetn/0p5E8LI1X834EDRAaDLaNxgixHzeypOZ0B EoAcqr4YSOpIGE9KJnMV3hr6jUTwsmvHYF0RdvjUERuFlCZeetMRzIikWtg9mQEjiRweiLoM1 /Y0LL7eA/c91hRgsEhkvMtjDMQsgJnzOwhIuUJdypaQPjFyNjzZwisIHtnRjW8nZtMikgMbJJ AWmEyVOw7OKRBt6E/wQzyJ3IrSGiCE+Mhi/FBWBr2s0qZN3ZVIdDTkrITRXOeXS10nUufo5bN ZEP4stuiXnJ1JziIecQrMGqEHEbzJEJDjEbpJPwWv3+ScboDxpXqmLGz2cXeXkgkpJLVPwq0u BRs5mtSobWeZ+dUVokNCb05nTutnxAiwfi2wPeNuhV/CvZyrF57O+BlMiwomvoq0aeHZafcVi GGso0LkrlRnhWBgIza4qWwS28P7Uv14YaFliYYwQ6EuK6dZHcp2m/bIqLljZKQhrc4zGKRtf0 3sP+Ndj+iI0FDqUi X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020204_820987_0C3F53BA X-CRM114-Status: UNSURE ( 8.12 ) 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 From: Marcel Ziswiler Build Realtek Gigabit Ethernet driver as a module. Network cards based on chipsets this driver supports are ubiquitous both in regular PCIe as well as mini-PCIe and nowadays even various M.2 formats. It is therefore a suitable card to be used for any kind of PCIe and/or Gigabit Ethernet testing. As it is not designed in, just enabling it as a module seems most suitable. Signed-off-by: Marcel Ziswiler Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add Krzysztof's reviewed-by tag. Changes in v2: - Explain why enabling it may be a good idea as requested by Krzysztof. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 27afe24a025a..76334cb698af 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -339,6 +339,7 @@ CONFIG_MLX5_CORE=m CONFIG_MLX5_CORE_EN=y CONFIG_QCOM_EMAC=m CONFIG_RMNET=m +CONFIG_R8169=m CONFIG_SH_ETH=y CONFIG_RAVB=y CONFIG_SMC91X=y From patchwork Wed Feb 9 10:00:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740055 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 0E9CBC433EF for ; Wed, 9 Feb 2022 10:20:42 +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:References:In-Reply-To: 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: List-Owner; bh=b+hawPKOEsiXiZFtWOawvSDu87602SuDdxPUG98Dz+w=; b=jGMIQGUh8qQGcj 6nXDBoIbL8lHxRRvt+DL7shVH5A1ZFd8wbt/dwiPaCC+FoKABcOsBGgT8r9rjjX9rodLC+rRal5G2 kXTYXKM4gwpJ/ikswiKKyrMIOwwEzKrxkR/AWKtplj1dvKMrKlcyTZC/eGlW9GbJ2yoR9D76lqGz7 74huRE0+JgDbXqRzJ1yGogOYyDy9KN1pwsJAUo2D6G5yv70HNac7FafNnewmxEIx2FH0vnj0Xy9lm g7ypJSjfSNQJ6RY/MQS5O8C5adGzdYVWQ4MMH8j5O4jumy8JwYmswpCkD7NSZbPYqsuktrOwmZN5g AI14z+cRb7Vdm+ZKzz0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk2t-00HBka-LS; Wed, 09 Feb 2022 10:17:56 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnb-00H4xH-Fv for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:09 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MvJPR-1o8BrF423V-00rKWN; Wed, 09 Feb 2022 11:01:53 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Krzysztof Kozlowski , Adam Ford , Arnd Bergmann , Biju Das , Bjorn Andersson , Catalin Marinas , Enric Balletbo i Serra , Geert Uytterhoeven , Krzysztof Kozlowski , Olof Johansson , Shawn Guo , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH v5 10/12] arm64: defconfig: enable verdin-imx8mm relevant drivers as modules Date: Wed, 9 Feb 2022 11:00:53 +0100 Message-Id: <20220209100055.181389-11-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:T3ALNuvBwd7E5HjqIZvVMct1MNdJkpHzT6CB6XQoFuHgqJu8rNh NetJrKz2F6JReYf9eRtzCbGJUZRsu2jYJLXRy0KFyZgi0WAYqkXglvlzuvZYdsfpOPLz4Wr dTpiA8JH9XtIRkgNKyR3nK9GOxo9c8bGTNXXqrJyRBFjXgKTy9vIJFXtW5fiyf11+++fNFy wIYt6Dp4mSuOwQWfm1B1w== X-UI-Out-Filterresults: notjunk:1;V03:K0:tmImBfYR5qc=:o6aIUKlclJhcNB5vglhU/z yO+hIz9QOKH8KP7JXOrDxlQWoiSbaKSPNEv5b0gXWFw+d730AwknyRLK9gSWRgflZDKlicUkX 8jpewozRLo4OPlSSzDLCEF9rjX1IDGD1cG6ZdO4NidBcHJZOpAzeVu7OsltdTOscMBDOkgk7Q 3TSHwWOd1Y5ERHk54sQ4NNu42e795TiAdT3i6z7VwWLmQNwWWIOBrD2DpGxNFVs/7XoCt66EW I0J2qCC8fViH/AFNxQaMyIQuglqsq0w3HRRGvhGahTORF1qOMfyfhFcUsK1kvgkJP1pyGPF1I n+99I3NddzmmMa6kA9UzBic7BiwwR3TiM4uOfH1TGorg35mM9iyo/kEPUpe97WkMS7xANN+wU 3pw3xYGqu1VMx2bGQCcl8V3ne0zulDHvbOLqRwDrCf9Tcc8gJFY3EUodgbYQqLMh87z/M0FtB YgxO46DUN1YPQ7Jwa7m5zhUnx/0YXLsPsy1fvdZKprzZI4e7Q9MqBN3an3xNAshcC0gQbRxdA 6VEDUR9xIJ1+g2gnVM0WN0+VvUeEblhirvuMYDauCUchVv9mxr+wnPaz0n+yBNYf+iMjGF5Uv iEuk2egzuyaQTteNJVwbZTWCH4R7lwISzMfkkFjf9Si/y28A12ltdRYorr4GJrbPTjrOVQuPO ad+JQWoaCOoATM1m3LrFPcO1O+5xflzMmMDi0yf91NVsQ6mAHM0EPjhVRY85tbkzV7hYZk0ny B7tmA9XPXZl71v4j X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020207_668337_D37C62F3 X-CRM114-Status: UNSURE ( 9.74 ) 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 From: Marcel Ziswiler Enable various drivers which support peripherals as found on the Verdin iMX8M Mini et al. computer/system on modules: - CONFIG_CAN_MCP251XFD At least one Microchip MCP2518FDT SPI CAN controller which this driver also supports may be found on the Verdin iMX8M Mini computer/system on module. - CONFIG_BT_HCIUART_MRVL, CONFIG_BT_MRVL, CONFIG_BT_MRVL_SDIO and CONFIG_MWIFIEX_SDIO The AzureWave AW-CM276NF which these Bluetooth and Wi-Fi drivers also support may be found on the Verdin iMX8M Mini (as well as the Apalis iMX8, Colibri iMX8X and Verdin iMX8M Plus for that matter) computer/ system on module. - CONFIG_SENSORS_LM75 The TI TMP75C temperature sensor which this driver also supports may be found on the Verdin iMX8M Mini (as well as the Verdin iMX8M Plus for that matter) computer/system on module. - CONFIG_SND_SOC_NAU8822 The Nuvoton Technology Corporation (NTC) NAU88C22YG which this driver also supports may be found on the Verdin Development Board a carrier board for the Verdin family of computer/system on module which the Verdin iMX8M Mini (as well as the Verdin iMX8M Plus for that matter) may be mated in. - CONFIG_TI_ADS1015 The TLA2024 ADC which this driver also supports may be found on the Verdin iMX8M Mini (as well as the Verdin iMX8M Plus for that matter) computer/system on module. Signed-off-by: Marcel Ziswiler Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add Krzysztof's reviewed-by tag. Changes in v2: - Explain why enabling these may make sense and squash them relevant changes as requested by Krzysztof. arch/arm64/configs/defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 76334cb698af..8d2733f8a7d9 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -179,6 +179,7 @@ CONFIG_CAN=m CONFIG_CAN_FLEXCAN=m CONFIG_CAN_RCAR=m CONFIG_CAN_RCAR_CANFD=m +CONFIG_CAN_MCP251XFD=m CONFIG_BT=m CONFIG_BT_HIDP=m # CONFIG_BT_LE is not set @@ -189,6 +190,9 @@ CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_LL=y CONFIG_BT_HCIUART_BCM=y CONFIG_BT_HCIUART_QCA=y +CONFIG_BT_HCIUART_MRVL=y +CONFIG_BT_MRVL=m +CONFIG_BT_MRVL_SDIO=m CONFIG_BT_QCOMSMD=m CONFIG_CFG80211=m CONFIG_MAC80211=m @@ -380,6 +384,7 @@ CONFIG_ATH10K_SNOC=m CONFIG_WCN36XX=m CONFIG_BRCMFMAC=m CONFIG_MWIFIEX=m +CONFIG_MWIFIEX_SDIO=m CONFIG_MWIFIEX_PCIE=m CONFIG_WL18XX=m CONFIG_WLCORE_SDIO=m @@ -556,6 +561,7 @@ CONFIG_CHARGER_BQ25980=m CONFIG_SENSORS_ARM_SCMI=y CONFIG_SENSORS_ARM_SCPI=y CONFIG_SENSORS_JC42=m +CONFIG_SENSORS_LM75=m CONFIG_SENSORS_LM90=m CONFIG_SENSORS_PWM_FAN=m CONFIG_SENSORS_RASPBERRYPI_HWMON=m @@ -797,6 +803,7 @@ CONFIG_SND_SOC_WM8960=m CONFIG_SND_SOC_WM8962=m CONFIG_SND_SOC_WM8978=m CONFIG_SND_SOC_WSA881X=m +CONFIG_SND_SOC_NAU8822=m CONFIG_SND_SOC_LPASS_WSA_MACRO=m CONFIG_SND_SOC_LPASS_VA_MACRO=m CONFIG_SND_SIMPLE_CARD=m @@ -1088,6 +1095,7 @@ CONFIG_QCOM_SPMI_VADC=m CONFIG_QCOM_SPMI_ADC5=m CONFIG_ROCKCHIP_SARADC=m CONFIG_RZG2L_ADC=m +CONFIG_TI_ADS1015=m CONFIG_IIO_CROS_EC_SENSORS_CORE=m CONFIG_IIO_CROS_EC_SENSORS=m CONFIG_IIO_ST_LSM6DSX=m From patchwork Wed Feb 9 10:00:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740057 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 12B39C433EF for ; Wed, 9 Feb 2022 10:22:14 +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:References:In-Reply-To: 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: List-Owner; bh=UgYJYfUlbtLWivNAWYTKFlIIESCXQRFwUhG9yjQx7SU=; b=nUZA2Ztdk6mgQY HoDXqDRKTSzVgij+JbNoA70MrejCnVFtMrdY6zBugKFAXK+x4OHJ7jBHY1IDFpp18M8JH837I/u/h BF4nAv+raujLhL4qKfubeD7+K4M5vrAbIEDiXtdlaU0Td1Y76Erh1sirf8KT0aidNrmUdKuIg24GY bo6jdDbXvkYwWoEN3YdqWHXCK3Tr8tR2fja1jkEoVNGltRQmnd6b2TemlIXe1YJPi/PVLxlh9cD0k Ffa+H2Wxi4xPYbiy5eWx48c4qq4TTNLjm/mJfHypdXhhC8Q2+s+VcaNWkEOUhoUJwar7hjwvfxyqY RtsjI1cafEzU3d240VkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk4e-00HCTf-25; Wed, 09 Feb 2022 10:19:44 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnq-00H530-IP for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:24 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MdMsu-1nqnZ63maW-00ZNzq; Wed, 09 Feb 2022 11:01:57 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Rob Herring , Alexander Stein , Ariel D'Alessandro , Christoph Niedermaier , Fabio Estevam , Frank Rowand , Krzysztof Kozlowski , Li Yang , Lucas Stach , Matthias Schiffer , Rob Herring , Russell King , Sascha Hauer , Sebastian Reichel , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 11/12] dt-bindings: arm: fsl: add toradex, verdin-imx8mm et al. Date: Wed, 9 Feb 2022 11:00:54 +0100 Message-Id: <20220209100055.181389-12-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:R9J0WpfPWK8eDK02AnEuYrjtLmbpeep6TykG3ukhsN7xVZgDhzJ wBnLqklk8kEQRTKsCB/rbZUcA39hK1X9fdeG+YgWVwMKO5PcsScZKNXY5OG4c/jUtoMQjv8 iXz5xYKyk2MILpuHKmEedoZSsTeKkYEtMsltRxXAu0xDGryb+arOqnm+60Y9egU2ZmApKi9 vwtOmmdaNTy8rAfJOJzuA== X-UI-Out-Filterresults: notjunk:1;V03:K0:tywhwIv0LWg=:UhLoenUMGFgSqKX8SP08wg TR+szswczEilebJ3o8yclGLp8gIaf1/rYwYBM6NaxXMlwfmRjrcMsgL8ccIcqxWS1Rh8RzYGb BzuQvG559yLMslGtS5sJ/EvbLDIkJ0p3Y+svujsV8OZ+6gm2znpPcg+V8xyVPnH/3QY1WbxwT 6gsqA7Yd1EDwGNItyUUp9yv+jFD61PflgY44e0CjzJiqw/5YQCKygx+mGanlsIPwwCpElHtic Fyvxu6N82TThhsUMo1rGIzDBb+Cg3caYvv3mUFV5yn1dy7anlSSsSxEuKNxiBxKLryRVHtA3i fX44kHhh48Uc4oBfeU1Io8rDuKIAYLBnBq5QsZHxdEUVIvj3NNkbohKXXUfM3VQYWpmgLakM2 k+KDYfCa+eb4bUmy1Wm7umFpmK81K4qYRfGc0gNPYwA9rM+60s73BUhEShLu1th7oSTRpdwu9 /2vtHdDsIqoaTXedTaKTkP1a6IwiCyTlEg0+fo+1xl/xeewmEa2ZNYTA/StCFKiJTHx6qx2Lp /p3BkVDgqIw6/ukYgqIjoOW8L1qiUFuvQcu/GKlaqeT3ZCZFOldKTwz6nB36neDEATLQCNUwj u6+7q4GptEzpsUrJtT0Pqn6sfotFPvFerKaDGiEqibAt3RF1HisKGn7/QlUhReOAc19a8sQkm CacvWe0cpXXYEBaQEe3tmSAx1a0hOZ/Ih90yXEMcdb8uhnp+wQoyKHm28zG74R6FkBh0= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020222_729203_71131A8D X-CRM114-Status: UNSURE ( 8.39 ) 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 From: Marcel Ziswiler Add toradex,verdin-imx8mm for our new Verdin iMX8M Mini modules, its nonwifi and wifi variants and the carrier boards (both Dahlia and the Verdin Development Board) they may be mated in. Signed-off-by: Marcel Ziswiler Acked-by: Rob Herring --- (no changes since v2) Changes in v2: - Add Rob's acked-by tag. - Fix Colibri vs. Verdin copy/paste mistake. Thanks to Francesco Dolcini for pointing that out to me. .../devicetree/bindings/arm/fsl.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 5075fd8c1b42..4ddeb9b20195 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -770,6 +770,9 @@ properties: - gw,imx8mm-gw7901 # i.MX8MM Gateworks Board - gw,imx8mm-gw7902 # i.MX8MM Gateworks Board - kontron,imx8mm-n801x-som # i.MX8MM Kontron SL (N801X) SOM + - toradex,verdin-imx8mm # Verdin iMX8M Mini Modules + - toradex,verdin-imx8mm-nonwifi # Verdin iMX8M Mini Modules without Wi-Fi / BT + - toradex,verdin-imx8mm-wifi # Verdin iMX8M Mini Wi-Fi / BT Modules - variscite,var-som-mx8mm # i.MX8MM Variscite VAR-SOM-MX8MM module - prt,prt8mm # i.MX8MM Protonic PRT8MM Board - const: fsl,imx8mm @@ -788,6 +791,24 @@ properties: - const: kontron,imx8mm-n801x-som - const: fsl,imx8mm + - description: Toradex Boards with Verdin iMX8M Mini Modules + items: + - enum: + - toradex,verdin-imx8mm-nonwifi-dahlia # Verdin iMX8M Mini Module on Dahlia + - toradex,verdin-imx8mm-nonwifi-dev # Verdin iMX8M Mini Module on Verdin Development Board + - const: toradex,verdin-imx8mm-nonwifi # Verdin iMX8M Mini Module without Wi-Fi / BT + - const: toradex,verdin-imx8mm # Verdin iMX8M Mini Module + - const: fsl,imx8mm + + - description: Toradex Boards with Verdin iMX8M Mini Wi-Fi / BT Modules + items: + - enum: + - toradex,verdin-imx8mm-wifi-dahlia # Verdin iMX8M Mini Wi-Fi / BT Module on Dahlia + - toradex,verdin-imx8mm-wifi-dev # Verdin iMX8M Mini Wi-Fi / BT M. on Verdin Development B. + - const: toradex,verdin-imx8mm-wifi # Verdin iMX8M Mini Wi-Fi / BT Module + - const: toradex,verdin-imx8mm # Verdin iMX8M Mini Module + - const: fsl,imx8mm + - description: Variscite VAR-SOM-MX8MM based boards items: - const: variscite,var-som-mx8mm-symphony From patchwork Wed Feb 9 10:00:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 12740058 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 3ECEBC433FE for ; Wed, 9 Feb 2022 10:23:36 +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:References:In-Reply-To: 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: List-Owner; bh=4SE30VsNwsxQC4VzP61qYVKxunrsbxqNAUqaE6wrydk=; b=KIkB6RMeiHJmmm CRJOl8A8+kfrMO4o8EKgp/KVm/8uAOSGLRAoDSG5l8v03JaVqdiZR/0fflWacV1C9U0ZxtgJCIlKh Iu7uAzBxHaJrThLGPk6x7za0UdRkpsTkHClAxMsoPowP/NePyBDdTcp5/gvkwMCtGvWjnP0xat8Q2 XvFS6+6BikE1aMUC6tbFJMgl08gnw7GbKTdWK2kdNx9BIhuBOSM9HPHGOTOK9p4BDsioA7WOzs8z1 cZ5syz2jQBDaWAX8GqJmJVd/tYX7a/c2m7/8qt5gGsRsOyo+2SCObHLbypcM3Z8OXKgoq+IWDBiua 3zQQ5qfQauKPripo72NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHk5b-00HCqM-5u; Wed, 09 Feb 2022 10:20:44 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHjnr-00H53O-On for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 10:02:30 +0000 Received: from localhost.localdomain ([81.221.85.15]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MX08j-1noYQj43hZ-00XLpX; Wed, 09 Feb 2022 11:02:01 +0100 From: Marcel Ziswiler To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Marcel Ziswiler , Krzysztof Kozlowski , Alex Marginean , Alexander Stein , Arnd Bergmann , Dong Aisheng , Fabio Estevam , Frank Rowand , Jagan Teki , Mathew McBride , NXP Linux Team , Olof Johansson , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Tim Harvey , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 12/12] arm64: dts: freescale: add initial support for verdin imx8m mini Date: Wed, 9 Feb 2022 11:00:55 +0100 Message-Id: <20220209100055.181389-13-marcel@ziswiler.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220209100055.181389-1-marcel@ziswiler.com> References: <20220209100055.181389-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:Q38xfqfi9xiuBHjOeiQmpA281MkFxyfmnsaFHL6xL+7FpUltSAi NuaZZ+KHFHerlvB61FDK/WSa5RHBFmiWxsqBxRTQe+Rv20CdYKg9KArLNkm4iiKdd7lfQTW YBE70eI2QJycBRxxcRky8DSUY9huOqypqJ2rZ4SNs7BGkFMdeZk8zmwMwzEf2LHg/R0GZvb nV8PDpUMREyhFFYlObXrg== X-UI-Out-Filterresults: notjunk:1;V03:K0:7NPjuEWwGy4=:4NQxVKJfazf6U8sKDnl4YL ZFflp7nUQ5CmTnM+Ht7wTwrtM/Uqc4pUPXhXVUcUbBB0pbyAH9X2//Ylj1qEGdgnyOtDS7+b2 hlNdrdqDhp4LL2YkjW0fu1jEVnrizmOsouGjHk9u0J6Mlh9fSnJP0T+SVSzJ8p9w7G2v4ZEE2 EfXIZF38OhKXKRd96y5ItQch1vXGHRpE4+ISR3V26wUtNuGIN3u+ICDgBl1c8r+pJrYENFAB+ wDTVunw5ZYkyiTBDt19Fp8CAPRV2s8iRaAL+lU3RefqTCcF+GeL4xYMzmKUBIYO3hUfIcR3Dk UKesxK9GwLQzHNuwcPnMMaMpXBfP8/VNzO7t3jrBzwEORBhuYsB+IMrPjFc9pWOweuWFS7BSh XI20DO9oek+dH57+DNxotQUloczJR1mkEX4oShEH/mV3pgkD5suR0iMxr73+sWSh5Rs3pObEN AF0zVqOQIlrn/w2aMhbCj1r3LyualOKnlStqk3Aj1qQt6dwwp2JrkrGZvHQmXPFWbKxM2c1dz 8FcCY1CfmMz9KuqmSfhdJkRXzhlIXVUyUKe3jA02klTe6adEOvKUOEaRYfIpbyrv40/lngaNE HU0V1r3L0cooCYRu6ledgRgHjn7yxMXt2j51KQ4VUdk1+GdZjL5ckAXUVGiboN9+UVtUt7tSC h743ajqOTllgU8KNS4Oko/1xRQy+h2Ay6p9LHA01DCZzx7t+/p5Bx1HwbZ8x2f9NXUNzgMZDJ Ru4FgmPXd5bygOfu X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_020224_577083_94C96E48 X-CRM114-Status: GOOD ( 21.54 ) 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 This patch adds the device tree to support Toradex Verdin iMX8M Mini a computer on module which can be used on different carrier boards. The module consists of an NXP i.MX 8M Mini family SoC (either i.MX 8M Mini Quad or 8M Mini DualLite), a PCA9450A PMIC, a Gigabit Ethernet PHY, 1 or 2 GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an RX8130 RTC, an optional SPI CAN controller plus an optional Bluetooth/ Wi-Fi module. Anything that is not self-contained on the module is disabled by default. The device tree for the Dahlia includes the module's device tree and enables the supported peripherals of the carrier board. The device tree for the Verdin Development Board includes the module's device tree as well as the Dahlia one as it is a superset and supports almost all peripherals available. So far there is no display functionality supported at all but basic console UART, PCIe, USB host, eMMC and Ethernet and PCIe functionality work fine. Signed-off-by: Marcel Ziswiler Acked-by: Krzysztof Kozlowski --- Changes in v5: - Remove invalid wifi-host property. - Remove rpmsg_reserved from the NXP vendor BSP not applicable upstream. - Remove 2nd cs-gpio only going to an N/A component. - Remove spi-num-chipselects as it is implicit by cs-gpios. - Remove vbus-wakeup-supply not being a valid property. - Fix picophy,dc-vol-level-adjust and picophy,pre-emp-curr-control which upstream are rather called samsung,picophy-dc-vol-level-adjust resp. samsung,picophy-pre-emp-curr-control. Thanks, Fabio for reviewing and pointing those out! Changes in v4: - Re-base on top of Shawn's for-next branch. - Fix gpio-line-names taking V1.1 re-design into account. - Fix wrong SODIMM pin number. - Drop 2nd SPI CAN instance being N/A in all SKUs. 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. - 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: - 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. arch/arm64/boot/dts/freescale/Makefile | 4 + .../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 | 94 ++ .../boot/dts/freescale/imx8mm-verdin.dtsi | 1264 +++++++++++++++++ 10 files changed, 1726 insertions(+) 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 diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 6d8f0a532587..04380f2e44a2 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -63,6 +63,10 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw72xx-0x.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw73xx-0x.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7901.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-venice-gw7902.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dahlia.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-nonwifi-dev.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-wifi-dahlia.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-verdin-wifi-dev.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-bsh-smm-s2pro.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi new file mode 100644 index 000000000000..455127966e67 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi @@ -0,0 +1,150 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/ { + sound_card: sound-card { + compatible = "simple-audio-card"; + simple-audio-card,bitclock-master = <&dailink_master>; + simple-audio-card,format = "i2s"; + simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,name = "imx8mm-wm8904"; + simple-audio-card,routing = + "Headphone Jack", "HPOUTL", + "Headphone Jack", "HPOUTR", + "IN2L", "Line In Jack", + "IN2R", "Line In Jack", + "Headphone Jack", "MICBIAS", + "IN1L", "Headphone Jack"; + simple-audio-card,widgets = + "Microphone", "Headphone Jack", + "Headphone", "Headphone Jack", + "Line", "Line In Jack"; + + dailink_master: simple-audio-card,codec { + clocks = <&clk IMX8MM_CLK_SAI2_ROOT>; + sound-dai = <&wm8904_1a>; + }; + + simple-audio-card,cpu { + sound-dai = <&sai2>; + }; + }; +}; + +/* Verdin SPI_1 */ +&ecspi2 { + status = "okay"; +}; + +/* EEPROM on display adapter boards */ +&eeprom_display_adapter { + status = "okay"; +}; + +/* EEPROM on Verdin Development board */ +&eeprom_carrier_board { + status = "okay"; +}; + +&fec1 { + status = "okay"; +}; + +/* Verdin QSPI_1 */ +&flexspi { + status = "okay"; +}; + +/* Current measurement into module VCC */ +&hwmon { + status = "okay"; +}; + +&hwmon_temp { + vs-supply = <®_1p8v>; + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +/* Verdin I2C_1 */ +&i2c4 { + status = "okay"; + + /* Audio Codec */ + wm8904_1a: codec@1a { + compatible = "wlf,wm8904"; + AVDD-supply = <®_3p3v>; + clocks = <&clk IMX8MM_CLK_SAI2_ROOT>; + clock-names = "mclk"; + CPVDD-supply = <®_3p3v>; + DBVDD-supply = <®_3p3v>; + DCVDD-supply = <®_3p3v>; + MICVDD-supply = <®_3p3v>; + reg = <0x1a>; + #sound-dai-cells = <0>; + }; +}; + +/* Verdin PCIE_1 */ +&pcie0 { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + +/* Verdin PWM_3_DSI */ +&pwm1 { + status = "okay"; +}; + +/* Verdin PWM_1 */ +&pwm2 { + status = "okay"; +}; + +/* Verdin PWM_2 */ +&pwm3 { + status = "okay"; +}; + +/* VERDIN I2S_1 */ +&sai2 { + status = "okay"; +}; + +/* Verdin UART_3 */ +&uart1 { + status = "okay"; +}; + +/* Verdin UART_1 */ +&uart2 { + status = "okay"; +}; + +/* Verdin UART_2 */ +&uart3 { + status = "okay"; +}; + +/* Verdin USB_1 */ +&usbotg1 { + status = "okay"; +}; + +/* Verdin USB_2 */ +&usbotg2 { + status = "okay"; +}; + +/* Verdin SD_1 */ +&usdhc2 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi new file mode 100644 index 000000000000..f35d22dc546b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi @@ -0,0 +1,67 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +#include "imx8mm-verdin-dahlia.dtsi" + +/ { + sound_card: sound-card { + compatible = "simple-audio-card"; + simple-audio-card,bitclock-master = <&dailink_master>; + simple-audio-card,format = "i2s"; + simple-audio-card,frame-master = <&dailink_master>; + simple-audio-card,name = "imx8mm-nau8822"; + simple-audio-card,routing = + "Headphones", "LHP", + "Headphones", "RHP", + "Speaker", "LSPK", + "Speaker", "RSPK", + "Line Out", "AUXOUT1", + "Line Out", "AUXOUT2", + "LAUX", "Line In", + "RAUX", "Line In", + "LMICP", "Mic In", + "RMICP", "Mic In"; + simple-audio-card,widgets = + "Headphones", "Headphones", + "Line Out", "Line Out", + "Speaker", "Speaker", + "Microphone", "Mic In", + "Line", "Line In"; + + dailink_master: simple-audio-card,codec { + clocks = <&clk IMX8MM_CLK_SAI2_ROOT>; + sound-dai = <&nau8822_1a>; + }; + + simple-audio-card,cpu { + sound-dai = <&sai2>; + }; + }; +}; + +&gpio_expander_21 { + status = "okay"; +}; + +/* Verdin I2C_1 */ +&i2c4 { + /* Audio Codec */ + nau8822_1a: codec@1a { + compatible = "nuvoton,nau8822"; + reg = <0x1a>; + }; +}; + +/* Verdin UART_1, connector X50 through RS485 transceiver */ +&uart2 { + linux,rs485-enabled-at-boot-time; + rs485-rts-active-low; + rs485-rx-during-tx; +}; + +/* Limit frequency on dev board due to long traces and bad signal integrity */ +&usdhc2 { + max-frequency = <100000000>; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts new file mode 100644 index 000000000000..d64ff378a152 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Dahlia Board"; + compatible = "toradex,verdin-imx8mm-nonwifi-dahlia", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts new file mode 100644 index 000000000000..6ae71ecac8de --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Verdin Development Board"; + compatible = "toradex,verdin-imx8mm-nonwifi-dev", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi new file mode 100644 index 000000000000..1e0f87c7a609 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi @@ -0,0 +1,75 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +&gpio3 { + gpio-line-names = "SODIMM_52", + "SODIMM_54", + "SODIMM_64", + "SODIMM_21", + "SODIMM_206", + "SODIMM_76", + "SODIMM_56", + "SODIMM_58", + "SODIMM_60", + "SODIMM_62", + "SODIMM_162", + "SODIMM_164", + "SODIMM_166", + "SODIMM_168", + "SODIMM_66", + "SODIMM_17", + "", + "SODIMM_156", + "SODIMM_160", + "SODIMM_244", + "", + "SODIMM_48", + "SODIMM_44", + "SODIMM_42", + "SODIMM_46"; +}; + +&gpio4 { + gpio-line-names = "SODIMM_102", + "SODIMM_90", + "SODIMM_92", + "SODIMM_94", + "SODIMM_96", + "SODIMM_100", + "SODIMM_148", + "SODIMM_152", + "SODIMM_154", + "SODIMM_174", + "SODIMM_120", + "SODIMM_104", + "SODIMM_106", + "SODIMM_108", + "SODIMM_112", + "SODIMM_114", + "SODIMM_116", + "SODIMM_150", + "SODIMM_118", + "", + "SODIMM_88", + "SODIMM_149", + "SODIMM_147", + "SODIMM_36", + "SODIMM_32", + "SODIMM_30", + "SODIMM_34", + "SODIMM_38", + "SODIMM_252", + "SODIMM_133", + "SODIMM_135", + "SODIMM_129"; +}; + +&usdhc3 { + bus-width = <4>; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts new file mode 100644 index 000000000000..d424c475cba1 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Dahlia Board"; + compatible = "toradex,verdin-imx8mm-wifi-dahlia", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts new file mode 100644 index 000000000000..ef952021832e --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Verdin Development Board"; + compatible = "toradex,verdin-imx8mm-wifi-dev", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi new file mode 100644 index 000000000000..3e06a6ce3406 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi @@ -0,0 +1,94 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/ { + reg_wifi_en: regulator-wifi-en { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio3 25 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wifi_pwr_en>; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "PDn_AW-CM276NF"; + startup-delay-us = <2000>; + }; +}; + +/* On-module Wi-Fi */ +&usdhc3 { + bus-width = <4>; + keep-power-in-suspend; + non-removable; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3>, <&pinctrl_wifi_ctrl>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>, <&pinctrl_wifi_ctrl>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_wifi_ctrl>; + vmmc-supply = <®_wifi_en>; + status = "okay"; +}; + +&gpio3 { + gpio-line-names = "SODIMM_52", + "SODIMM_54", + "SODIMM_64", + "SODIMM_21", + "SODIMM_206", + "SODIMM_76", + "SODIMM_56", + "SODIMM_58", + "SODIMM_60", + "SODIMM_62", + "", + "", + "", + "", + "SODIMM_66", + "SODIMM_17", + "", + "", + "", + "SODIMM_244", + "", + "SODIMM_48", + "SODIMM_44", + "SODIMM_42", + "SODIMM_46"; +}; + +&gpio4 { + gpio-line-names = "SODIMM_102", + "SODIMM_90", + "SODIMM_92", + "SODIMM_94", + "SODIMM_96", + "SODIMM_100", + "", + "", + "", + "", + "SODIMM_120", + "SODIMM_104", + "SODIMM_106", + "SODIMM_108", + "SODIMM_112", + "SODIMM_114", + "SODIMM_116", + "", + "SODIMM_118", + "", + "SODIMM_88", + "SODIMM_149", + "SODIMM_147", + "SODIMM_36", + "SODIMM_32", + "SODIMM_30", + "SODIMM_34", + "SODIMM_38", + "SODIMM_252", + "SODIMM_133", + "SODIMM_135", + "SODIMM_129"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi new file mode 100644 index 000000000000..9199184674ff --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -0,0 +1,1264 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +#include "dt-bindings/phy/phy-imx8-pcie.h" +#include "dt-bindings/pwm/pwm.h" +#include "imx8mm.dtsi" + +/ { + chosen { + stdout-path = &uart1; + }; + + aliases { + rtc0 = &rtc_i2c; + rtc1 = &snvs_rtc; + }; + + backlight: backlight { + compatible = "pwm-backlight"; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; + /* Verdin I2S_2_D_OUT (DSI_1_BKL_EN/DSI_1_BKL_EN_LVDS, SODIMM 46) */ + enable-gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2s_2_d_out_dsi_1_bkl_en>; + power-supply = <®_3p3v>; + /* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */ + pwms = <&pwm1 0 6666667 PWM_POLARITY_INVERTED>; + status = "disabled"; + }; + + /* Fixed clock dedicated to SPI CAN controller */ + clk20m: oscillator { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <20000000>; + }; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_keys>; + + wakeup { + debounce-interval = <10>; + /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ + gpios = <&gpio4 28 GPIO_ACTIVE_LOW>; + label = "Wake-Up"; + linux,code = ; + wakeup-source; + }; + }; + + /* Carrier Board Supplies */ + reg_1p8v: regulator-1p8v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "+V1.8_SW"; + }; + + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_SW"; + }; + + reg_5p0v: regulator-5p0v { + compatible = "regulator-fixed"; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "+V5_SW"; + }; + + /* Non PMIC On-module Supplies */ + reg_ethphy: regulator-ethphy { + compatible = "regulator-fixed"; + enable-active-high; + gpio = <&gpio2 20 GPIO_ACTIVE_HIGH>; /* PMIC_EN_ETH */ + off-on-delay = <500000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_eth>; + regulator-boot-on; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_ETH"; + startup-delay-us = <200000>; + }; + + reg_usb_otg1_vbus: regulator-usb-otg1 { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin USB_1_EN (SODIMM 155) */ + gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_usb1_en>; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usb_otg1_vbus"; + }; + + reg_usb_otg2_vbus: regulator-usb-otg2 { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin USB_2_EN (SODIMM 185) */ + gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_reg_usb2_en>; + regulator-max-microvolt = <5000000>; + regulator-min-microvolt = <5000000>; + regulator-name = "usb_otg2_vbus"; + }; + + reg_usdhc2_vmmc: regulator-usdhc2 { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin SD_1_PWR_EN (SODIMM 76) */ + gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>; + off-on-delay = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2_pwr_en>; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3_SD"; + startup-delay-us = <2000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* Use the kernel configuration settings instead */ + /delete-node/ linux,cma; + }; +}; + +&A53_0 { + cpu-supply = <®_vdd_arm>; +}; + +&A53_1 { + cpu-supply = <®_vdd_arm>; +}; + +&A53_2 { + cpu-supply = <®_vdd_arm>; +}; + +&A53_3 { + cpu-supply = <®_vdd_arm>; +}; + +&ddrc { + operating-points-v2 = <&ddrc_opp_table>; + + ddrc_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-25M { + opp-hz = /bits/ 64 <25000000>; + }; + + opp-100M { + opp-hz = /bits/ 64 <100000000>; + }; + + opp-750M { + opp-hz = /bits/ 64 <750000000>; + }; + }; +}; + +/* Verdin SPI_1 */ +&ecspi2 { + #address-cells = <1>; + #size-cells = <0>; + cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi2>; +}; + +/* Verdin CAN_1 (On-module) */ +&ecspi3 { + #address-cells = <1>; + #size-cells = <0>; + cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi3>; + status = "okay"; + + can1: can@0 { + compatible = "microchip,mcp251xfd"; + clocks = <&clk20m>; + interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_can1_int>; + reg = <0>; + spi-max-frequency = <8500000>; + }; +}; + +/* Verdin ETH_1 (On-module PHY) */ +&fec1 { + fsl,magic-packet; + phy-handle = <ðphy0>; + phy-mode = "rgmii-id"; + phy-supply = <®_ethphy>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_fec1>; + pinctrl-1 = <&pinctrl_fec1_sleep>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@7 { + compatible = "ethernet-phy-ieee802.3-c22"; + interrupt-parent = <&gpio1>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; + micrel,led-mode = <0>; + reg = <7>; + }; + }; +}; + +/* Verdin QSPI_1 */ +&flexspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi0>; +}; + +&gpio1 { + gpio-line-names = "SODIMM_216", + "SODIMM_19", + "", + "", + "", + "", + "", + "", + "SODIMM_220", + "SODIMM_222", + "", + "SODIMM_218", + "SODIMM_155", + "SODIMM_157", + "SODIMM_185", + "SODIMM_187"; +}; + +&gpio2 { + gpio-line-names = "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "SODIMM_84", + "SODIMM_78", + "SODIMM_74", + "SODIMM_80", + "SODIMM_82", + "SODIMM_70", + "SODIMM_72"; +}; + +&gpio5 { + gpio-line-names = "SODIMM_131", + "", + "SODIMM_91", + "SODIMM_16", + "SODIMM_15", + "SODIMM_208", + "SODIMM_137", + "SODIMM_139", + "SODIMM_141", + "SODIMM_143", + "SODIMM_196", + "SODIMM_200", + "SODIMM_198", + "SODIMM_202", + "", + "", + "SODIMM_55", + "SODIMM_53", + "SODIMM_95", + "SODIMM_93", + "SODIMM_14", + "SODIMM_12", + "", + "", + "", + "", + "SODIMM_210", + "SODIMM_212", + "SODIMM_151", + "SODIMM_153"; + + ctrl_sleep_moci-hog { + gpio-hog; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpios = <1 GPIO_ACTIVE_HIGH>; + line-name = "CTRL_SLEEP_MOCI#"; + output-high; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ctrl_sleep_moci>; + }; +}; + +/* On-module I2C */ +&i2c1 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c1>; + pinctrl-1 = <&pinctrl_i2c1_gpio>; + scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + status = "okay"; + + pca9450: pmic@25 { + compatible = "nxp,pca9450a"; + interrupt-parent = <&gpio1>; + /* PMIC PCA9450 PMIC_nINT GPIO1_IO3 */ + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>; + reg = <0x25>; + sd-vsel-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; + + regulators { + reg_vdd_soc: BUCK1 { + nxp,dvs-run-voltage = <850000>; + nxp,dvs-standby-voltage = <800000>; + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <850000>; + regulator-min-microvolt = <800000>; + regulator-name = "+VDD_SOC"; + regulator-ramp-delay = <3125>; + }; + + reg_vdd_arm: BUCK2 { + nxp,dvs-run-voltage = <950000>; + nxp,dvs-standby-voltage = <850000>; + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <950000>; + regulator-min-microvolt = <850000>; + regulator-name = "+VDD_ARM"; + regulator-ramp-delay = <3125>; + }; + + reg_vdd_dram: BUCK3 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <950000>; + regulator-min-microvolt = <850000>; + regulator-name = "+VDD_GPU_VPU_DDR"; + }; + + reg_vdd_3v3: BUCK4 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "+V3.3"; + }; + + reg_vdd_1v8: BUCK5 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "PWR_1V8_MOCI"; + }; + + reg_nvcc_dram: BUCK6 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <1100000>; + regulator-min-microvolt = <1100000>; + regulator-name = "+VDD_DDR"; + }; + + reg_nvcc_snvs: LDO1 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "+V1.8_SNVS"; + }; + + reg_vdd_snvs: LDO2 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <900000>; + regulator-min-microvolt = <800000>; + regulator-name = "+V0.8_SNVS"; + }; + + reg_vdda: LDO3 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <1800000>; + regulator-name = "+V1.8A"; + }; + + reg_vdd_phy: LDO4 { + regulator-always-on; + regulator-boot-on; + regulator-max-microvolt = <900000>; + regulator-min-microvolt = <900000>; + regulator-name = "+V0.9_MIPI"; + }; + + reg_nvcc_sd: LDO5 { + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <1800000>; + regulator-name = "+V3.3_1.8_SD"; + }; + }; + }; + + rtc_i2c: rtc@32 { + compatible = "epson,rx8130"; + reg = <0x32>; + }; + + adc@49 { + compatible = "ti,ads1015"; + reg = <0x49>; + #address-cells = <1>; + #size-cells = <0>; + + /* Verdin I2C_1 (ADC_4 - ADC_3) */ + channel@0 { + reg = <0>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 (ADC_4 - ADC_1) */ + channel@1 { + reg = <1>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 (ADC_3 - ADC_1) */ + channel@2 { + reg = <2>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 (ADC_2 - ADC_1) */ + channel@3 { + reg = <3>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 ADC_4 */ + channel@4 { + reg = <4>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 ADC_3 */ + channel@5 { + reg = <5>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 ADC_2 */ + channel@6 { + reg = <6>; + ti,datarate = <4>; + ti,gain = <2>; + }; + + /* Verdin I2C_1 ADC_1 */ + channel@7 { + reg = <7>; + ti,datarate = <4>; + ti,gain = <2>; + }; + }; + + eeprom@50 { + compatible = "st,24c02"; + pagesize = <16>; + reg = <0x50>; + }; +}; + +/* Verdin I2C_2_DSI */ +&i2c2 { + clock-frequency = <10000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c2>; + pinctrl-1 = <&pinctrl_i2c2_gpio>; + scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + status = "disabled"; +}; + +/* Verdin I2C_3_HDMI N/A */ + +/* Verdin I2C_4_CSI */ +&i2c3 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c3>; + pinctrl-1 = <&pinctrl_i2c3_gpio>; + scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; +}; + +/* Verdin I2C_1 */ +&i2c4 { + clock-frequency = <400000>; + pinctrl-names = "default", "gpio"; + pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4_gpio>; + scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + + gpio_expander_21: gpio-expander@21 { + compatible = "nxp,pcal6416"; + #gpio-cells = <2>; + gpio-controller; + reg = <0x21>; + status = "disabled"; + vcc-supply = <®_3p3v>; + }; + + lvds_ti_sn65dsi83: bridge@2c { + compatible = "ti,sn65dsi83"; + /* Verdin GPIO_9_DSI (SN65DSI84 IRQ, SODIMM 17, unused) */ + /* Verdin GPIO_10_DSI (SODIMM 21) */ + enable-gpios = <&gpio3 3 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_10_dsi>; + reg = <0x2c>; + status = "disabled"; + }; + + /* Current measurement into module VCC */ + hwmon: hwmon@40 { + compatible = "ti,ina219"; + reg = <0x40>; + shunt-resistor = <10000>; + status = "disabled"; + }; + + hdmi_lontium_lt8912: hdmi@48 { + compatible = "lontium,lt8912b"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_10_dsi>, <&pinctrl_pwm_3_dsi_hpd_gpio>; + reg = <0x48>; + /* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */ + /* Verdin GPIO_10_DSI (SODIMM 21) */ + reset-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; + status = "disabled"; + }; + + atmel_mxt_ts: touch@4a { + compatible = "atmel,maxtouch"; + /* Verdin GPIO_9_DSI */ + /* (TOUCH_INT#, SODIMM 17, also routed to SN65dsi83 IRQ albeit currently unused) */ + interrupt-parent = <&gpio3>; + interrupts = <15 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>; + reg = <0x4a>; + /* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */ + reset-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; + status = "disabled"; + }; + + /* Temperature sensor on carrier board */ + hwmon_temp: sensor@4f { + compatible = "ti,tmp75c"; + reg = <0x4f>; + status = "disabled"; + }; + + /* EEPROM on display adapter (MIPI DSI Display Adapter) */ + eeprom_display_adapter: eeprom@50 { + compatible = "st,24c02"; + pagesize = <16>; + reg = <0x50>; + status = "disabled"; + }; + + /* EEPROM on carrier board */ + eeprom_carrier_board: eeprom@57 { + compatible = "st,24c02"; + pagesize = <16>; + reg = <0x57>; + status = "disabled"; + }; +}; + +/* Verdin PCIE_1 */ +&pcie0 { + assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>, + <&clk IMX8MM_CLK_PCIE1_CTRL>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>, + <&clk IMX8MM_SYS_PLL2_250M>; + assigned-clock-rates = <10000000>, <250000000>; + clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>, + <&clk IMX8MM_CLK_PCIE1_PHY>; + clock-names = "pcie", "pcie_aux", "pcie_bus"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie0>; + /* PCIE_1_RESET# (SODIMM 244) */ + reset-gpio = <&gpio3 19 GPIO_ACTIVE_LOW>; +}; + +&pcie_phy { + clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; + fsl,clkreq-unsupported; + fsl,refclk-pad-mode = ; + fsl,tx-deemph-gen1 = <0x2d>; + fsl,tx-deemph-gen2 = <0xf>; +}; + +/* Verdin PWM_3_DSI */ +&pwm1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_1>; + #pwm-cells = <3>; +}; + +/* Verdin PWM_1 */ +&pwm2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_2>; + #pwm-cells = <3>; +}; + +/* Verdin PWM_2 */ +&pwm3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm_3>; + #pwm-cells = <3>; +}; + +/* VERDIN I2S_1 */ +&sai2 { + #sound-dai-cells = <0>; + assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>; + assigned-clock-rates = <24576000>; + assigned-clocks = <&clk IMX8MM_CLK_SAI2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_sai2>; +}; + +&snvs_pwrkey { + status = "okay"; +}; + +/* Verdin UART_3, used as the Linux console */ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; +}; + +/* Verdin UART_1 */ +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + uart-has-rtscts; +}; + +/* Verdin UART_2 */ +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>; + uart-has-rtscts; +}; + +/* Verdin UART_4 */ +/* + * Resource allocated to M4 by default, must not be accessed from Cortex-A35 or you get an OOPS + */ +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; +}; + +/* Verdin USB_1 */ +&usbotg1 { + adp-disable; + dr_mode = "otg"; + hnp-disable; + over-current-active-low; + samsung,picophy-dc-vol-level-adjust = <7>; + samsung,picophy-pre-emp-curr-control = <3>; + srp-disable; + vbus-supply = <®_usb_otg1_vbus>; +}; + +/* Verdin USB_2 */ +&usbotg2 { + dr_mode = "host"; + over-current-active-low; + samsung,picophy-dc-vol-level-adjust = <7>; + samsung,picophy-pre-emp-curr-control = <3>; + vbus-supply = <®_usb_otg2_vbus>; +}; + +&usbphynop1 { + vcc-supply = <®_vdd_3v3>; +}; + +&usbphynop2 { + vcc-supply = <®_vdd_3v3>; +}; + +/* On-module eMMC */ +&usdhc1 { + bus-width = <8>; + keep-power-in-suspend; + non-removable; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; + status = "okay"; +}; + +/* Verdin SD_1 */ +&usdhc2 { + bus-width = <4>; + cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; + disable-wp; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_cd>; + pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_cd>; + pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>; + vmmc-supply = <®_usdhc2_vmmc>; +}; + +&wdog1 { + fsl,ext-reset-output; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + status = "okay"; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio1>, <&pinctrl_gpio2>, + <&pinctrl_gpio3>, <&pinctrl_gpio4>, + <&pinctrl_gpio7>, <&pinctrl_gpio8>, + <&pinctrl_gpio_hog1>, <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>, + <&pinctrl_pmic_tpm_ena>; + + pinctrl_can1_int: can1intgrp { + fsl,pins = + ; /* CAN_1_SPI_INT#_1.8V */ + }; + + pinctrl_can2_int: can2intgrp { + fsl,pins = + ; /* CAN_2_SPI_INT#_1.8V */ + }; + + pinctrl_ctrl_sleep_moci: ctrlsleepmocigrp { + fsl,pins = + ; /* SODIMM 256 */ + }; + + pinctrl_ecspi2: ecspi2grp { + fsl,pins = + , /* SODIMM 196 */ + , /* SODIMM 200 */ + , /* SODIMM 198 */ + ; /* SODIMM 202 */ + }; + + pinctrl_ecspi3: ecspi3grp { + fsl,pins = + , /* CAN_SPI_SCK_1.8V */ + , /* CAN_SPI_MOSI_1.8V */ + , /* CAN_SPI_MISO_1.8V */ + , /* CAN_1_SPI_CS_1.8V# */ + ; /* CAN_2_SPI_CS#_1.8V */ + }; + + pinctrl_fec1: fec1grp { + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_fec1_sleep: fec1-sleepgrp { + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_flexspi0: flexspi0grp { + fsl,pins = + , /* SODIMM 52 */ + , /* SODIMM 54 */ + , /* SODIMM 64 */ + , /* SODIMM 66 */ + , /* SODIMM 56 */ + , /* SODIMM 58 */ + , /* SODIMM 60 */ + ; /* SODIMM 62 */ + }; + + pinctrl_gpio1: gpio1grp { + fsl,pins = + ; /* SODIMM 206 */ + }; + + pinctrl_gpio2: gpio2grp { + fsl,pins = + ; /* SODIMM 208 */ + }; + + pinctrl_gpio3: gpio3grp { + fsl,pins = + ; /* SODIMM 210 */ + }; + + pinctrl_gpio4: gpio4grp { + fsl,pins = + ; /* SODIMM 212 */ + }; + + pinctrl_gpio5: gpio5grp { + fsl,pins = + ; /* SODIMM 216 */ + }; + + pinctrl_gpio6: gpio6grp { + fsl,pins = + ; /* SODIMM 218 */ + }; + + pinctrl_gpio7: gpio7grp { + fsl,pins = + ; /* SODIMM 220 */ + }; + + pinctrl_gpio8: gpio8grp { + fsl,pins = + ; /* SODIMM 222 */ + }; + + /* Verdin GPIO_9_DSI (pulled-up as active-low) */ + pinctrl_gpio_9_dsi: gpio9dsigrp { + fsl,pins = + ; /* SODIMM 17 */ + }; + + /* Verdin GPIO_10_DSI */ + pinctrl_gpio_10_dsi: gpio10dsigrp { + fsl,pins = + ; /* SODIMM 21 */ + }; + + pinctrl_gpio_hog1: gpiohog1grp { + fsl,pins = + , /* SODIMM 88 */ + , /* SODIMM 90 */ + , /* SODIMM 92 */ + , /* SODIMM 94 */ + , /* SODIMM 96 */ + , /* SODIMM 100 */ + , /* SODIMM 102 */ + , /* SODIMM 104 */ + , /* SODIMM 106 */ + , /* SODIMM 108 */ + , /* SODIMM 112 */ + , /* SODIMM 114 */ + , /* SODIMM 116 */ + , /* SODIMM 118 */ + ; /* SODIMM 120 */ + }; + + pinctrl_gpio_hog2: gpiohog2grp { + fsl,pins = + ; /* SODIMM 91 */ + }; + + pinctrl_gpio_hog3: gpiohog3grp { + fsl,pins = + , /* SODIMM 157 */ + ; /* SODIMM 187 */ + }; + + pinctrl_gpio_keys: gpiokeysgrp { + fsl,pins = + ; /* SODIMM 252 */ + }; + + /* On-module I2C */ + pinctrl_i2c1: i2c1grp { + fsl,pins = + , /* PMIC_I2C_SCL */ + ; /* PMIC_I2C_SDA */ + }; + + pinctrl_i2c1_gpio: i2c1gpiogrp { + fsl,pins = + , /* PMIC_I2C_SCL */ + ; /* PMIC_I2C_SDA */ + }; + + /* Verdin I2C_4_CSI */ + pinctrl_i2c2: i2c2grp { + fsl,pins = + , /* SODIMM 55 */ + ; /* SODIMM 53 */ + }; + + pinctrl_i2c2_gpio: i2c2gpiogrp { + fsl,pins = + , /* SODIMM 55 */ + ; /* SODIMM 53 */ + }; + + /* Verdin I2C_2_DSI */ + pinctrl_i2c3: i2c3grp { + fsl,pins = + , /* SODIMM 95 */ + ; /* SODIMM 93 */ + }; + + pinctrl_i2c3_gpio: i2c3gpiogrp { + fsl,pins = + , /* SODIMM 95 */ + ; /* SODIMM 93 */ + }; + + /* Verdin I2C_1 */ + pinctrl_i2c4: i2c4grp { + fsl,pins = + , /* SODIMM 14 */ + ; /* SODIMM 12 */ + }; + + pinctrl_i2c4_gpio: i2c4gpiogrp { + fsl,pins = + , /* SODIMM 14 */ + ; /* SODIMM 12 */ + }; + + /* Verdin I2S_2_BCLK (TOUCH_RESET#) */ + pinctrl_i2s_2_bclk_touch_reset: i2s2bclktouchresetgrp { + fsl,pins = + ; /* SODIMM 42 */ + }; + + /* Verdin I2S_2_D_OUT shared with SAI5 */ + pinctrl_i2s_2_d_out_dsi_1_bkl_en: i2s2doutdsi1bklengrp { + fsl,pins = + ; /* SODIMM 46 */ + }; + + pinctrl_pcie0: pcie0grp { + fsl,pins = + , /* SODIMM 244 */ + /* PMIC_EN_PCIe_CLK, unused */ + ; + }; + + pinctrl_pmic: pmicirqgrp { + fsl,pins = + ; /* PMIC_INT# */ + }; + + /* Verdin PWM_3_DSI shared with GPIO1_IO1 */ + pinctrl_pwm_1: pwm1grp { + fsl,pins = + ; /* SODIMM 19 */ + }; + + pinctrl_pwm_2: pwm2grp { + fsl,pins = + ; /* SODIMM 15 */ + }; + + pinctrl_pwm_3: pwm3grp { + fsl,pins = + ; /* SODIMM 16 */ + }; + + /* Verdin PWM_3_DSI (pulled-down as active-high) shared with PWM1_OUT */ + pinctrl_pwm_3_dsi_hpd_gpio: pwm3dsihpdgpiogrp { + fsl,pins = + ; /* SODIMM 19 */ + }; + + pinctrl_reg_eth: regethgrp { + fsl,pins = + ; /* PMIC_EN_ETH */ + }; + + pinctrl_reg_usb1_en: regusb1engrp { + fsl,pins = + ; /* SODIMM 155 */ + }; + + pinctrl_reg_usb2_en: regusb2engrp { + fsl,pins = + ; /* SODIMM 185 */ + }; + + pinctrl_sai2: sai2grp { + fsl,pins = + , /* SODIMM 32 */ + , /* SODIMM 30 */ + , /* SODIMM 38 */ + , /* SODIMM 36 */ + ; /* SODIMM 34 */ + }; + + pinctrl_sai5: sai5grp { + fsl,pins = + , /* SODIMM 48 */ + , /* SODIMM 44 */ + , /* SODIMM 42 */ + ; /* SODIMM 46 */ + }; + + /* control signal for optional ATTPM20P or SE050 */ + pinctrl_pmic_tpm_ena: pmictpmenagrp { + fsl,pins = + ; /* PMIC_TPM_ENA */ + }; + + pinctrl_tsp: tspgrp { + fsl,pins = + , /* SODIMM 148 */ + , /* SODIMM 152 */ + , /* SODIMM 154 */ + , /* SODIMM 174 */ + ; /* SODIMM 150 */ + }; + + pinctrl_uart1: uart1grp { + fsl,pins = + , /* SODIMM 149 */ + ; /* SODIMM 147 */ + }; + + pinctrl_uart2: uart2grp { + fsl,pins = + , /* SODIMM 129 */ + , /* SODIMM 131 */ + , /* SODIMM 133 */ + ; /* SODIMM 135 */ + }; + + pinctrl_uart3: uart3grp { + fsl,pins = + , /* SODIMM 137 */ + , /* SODIMM 139 */ + , /* SODIMM 141 */ + ; /* SODIMM 143 */ + }; + + pinctrl_uart4: uart4grp { + fsl,pins = + , /* SODIMM 151 */ + ; /* SODIMM 153 */ + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { + fsl,pins = + , + , + , + , + , + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc2_cd: usdhc2cdgrp { + fsl,pins = + ; /* SODIMM 84 */ + }; + + pinctrl_usdhc2_pwr_en: usdhc2pwrengrp { + fsl,pins = + ; /* SODIMM 76 */ + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins = + , /* SODIMM 78 */ + , /* SODIMM 74 */ + , /* SODIMM 80 */ + , /* SODIMM 82 */ + , /* SODIMM 70 */ + , /* SODIMM 72 */ + ; + }; + + pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp { + fsl,pins = + , + , + , + , + , + , + ; + }; + + pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp { + fsl,pins = + , + , + , + , + , + , + ; + }; + + /* On-module Wi-Fi/BT or type specific SDHC interface */ + /* (e.g. on X52 extension slot of Verdin Development Board) */ + pinctrl_usdhc3: usdhc3grp { + fsl,pins = + , + , + , + , + , + ; + }; + + pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { + fsl,pins = + , + , + , + , + , + ; + }; + + pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { + fsl,pins = + , + , + , + , + , + ; + }; + + pinctrl_wdog: wdoggrp { + fsl,pins = + ; /* PMIC_WDI */ + }; + + pinctrl_wifi_ctrl: wifictrlgrp { + fsl,pins = + , /* WIFI_WKUP_BT */ + , /* WIFI_W_WKUP_HOST */ + ; /* WIFI_WKUP_WLAN */ + }; + + pinctrl_wifi_i2s: bti2sgrp { + fsl,pins = + , /* WIFI_TX_BCLK */ + , /* WIFI_TX_DATA0 */ + , /* WIFI_TX_SYNC */ + ; /* WIFI_RX_DATA0 */ + }; + + pinctrl_wifi_pwr_en: wifipwrengrp { + fsl,pins = + ; /* PMIC_EN_WIFI */ + }; +};