From patchwork Mon Aug 29 17:38:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12958294 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 294F7ECAAA2 for ; Mon, 29 Aug 2022 17:39:53 +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=4Vvw/TOAZVESMZ/V4768dtmzetjXW2XHMBshdhzvFA8=; b=o/+WagAOvueRsZ AWAnpPNN9vGaUzyEFfhmd6/M7UKDO2bozBHmle56FzJdZgvTzptvAFmdbFeYonxcW/1qR4wo2ua/V ttNIffMTRFsJwOIZffZq1gWfVfTXcU2Iihsvfr80UPC+V0LtySWF6Ab8XseKzb1S3L7ef5etq7lTd hTipzjGydOb7x8iGaZ4tZchj6HkgamZQj88BQdskn7Kn59/kKX7RjFI3XhhZAK7quPN0l5g0Qp8+L 5M08rIcplCuFwpWAKfj0IM7N0WalOKP8+LomVWoKOLYhw533qOzJJ3axk9lbVqSI/6XZgS1QDdTZh 4aj0gPZtBIWMdgLzIj5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSiiq-00C3u6-3o; Mon, 29 Aug 2022 17:38:52 +0000 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSiif-00C3rf-3t for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2022 17:38:42 +0000 Received: by mail-qv1-xf29.google.com with SMTP id y15so3545763qvn.2 for ; Mon, 29 Aug 2022 10:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=jmKeAtPXOcd+yShd8sCQiTVBynSMhTtxly66Ju96lv0=; b=Edq7x/9HKggVb6ESM6Fh0IdGrVve6UXc3lit7QZ14e+bwTxbhlata4cxxxkxf6c+/s u+b98kXwmG+eT0FVKLryUnVdVbZwozkLjKDA6REkUaVd7yFB9zljSTHCg0u+9oLy5tGb AJLZIj81V5BseUOsetCz4vftiASSe3l8woafCPt0KJ+5S5JETp3p8y+PoMYKss+pG1oa Erf7bAeSSGC2SAUPi+WkBc2oqlqiM0jr4rJmad7Zz963S0vEnHhEJkQ5/QCrzFOm96Jp +QMKMOuIyFW9tL7eyDkyfy64xt/pdBuuZfZUgLKGe7dSnb43NGrhurUgC11hTv8Ht2D7 D+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=jmKeAtPXOcd+yShd8sCQiTVBynSMhTtxly66Ju96lv0=; b=Y5MieR2GFXbb1SiJgtpm+2CVe2+XOW4PELKno62fb4MipZlH/qGAamNdSkgAfxtNyx /Koqj2tsJSzO2v601AJltb8r9loFjp7atGMeo+f/2PH88Rp5yUe0xF9VM3J3jk04WAX4 5A52Usa18A2H+ccaOOAFS2oiVfGDkIqwJsx6jr2QJ+uRdajlKsdS5re11qc6yPrqV9R0 qW9eDDAvgtRGJC6jrG20dOXwP7ukDxcVBTEiCCwyXYcmG7LLtQenW/jbASCDiGdPynE3 i5eH6NUhU8Rvdr/G1SL23HI57dx49Qi521gTWADZZ8pGzIjmlrJ5zP8s/GTCgiCO+5Ec eDOA== X-Gm-Message-State: ACgBeo1zJLuIUKGjfGul6vAm4bEleUdz3Jb2fQesgI+1LdMLbrk/g4KR M6OfIvbVOUVEmnB8yp7I9hM/wSFaGj8= X-Google-Smtp-Source: AA6agR6bnU0ltyY9R5eQpQfqad8/YbId9SHWXpBqe7WhCmE30HHPxB+cGqXxJza4ZsaU7y6v78oRyA== X-Received: by 2002:ad4:5e8a:0:b0:496:b694:9ca7 with SMTP id jl10-20020ad45e8a000000b00496b6949ca7mr11797521qvb.80.1661794719809; Mon, 29 Aug 2022 10:38:39 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id j8-20020a05620a288800b006bb7ccf6855sm6543583qkp.76.2022.08.29.10.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 10:38:39 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: soc@kernel.org, Florian Fainelli , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list), krzysztof.kozlowski@linaro.org, arnd@arndb.de, Geert Uytterhoeven , william.zhang@broadcom.com, anand.gore@broadcom.com Subject: [PATCH v2 1/2] arm64: Kconfig.platforms: Re-organized Broadcom menu Date: Mon, 29 Aug 2022 10:38:28 -0700 Message-Id: <20220829173830.3567047-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220829173830.3567047-1-f.fainelli@gmail.com> References: <20220829173830.3567047-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_103841_175177_2318F657 X-CRM114-Status: GOOD ( 11.82 ) 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 There are now multiple Broadcom SoCs supported so group them under their own menu such that the selection is visually more appealing and we can easily add new platforms there in the future. This allows us to move ARCH_BRCMSTB back to its siblings. No functional changes introduced. Signed-off-by: Florian Fainelli --- arch/arm64/Kconfig.platforms | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 74e9e9de3759..748f9ac4d775 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -33,6 +33,11 @@ config ARCH_APPLE This enables support for Apple's in-house ARM SoC family, starting with the Apple M1. +menuconfig ARCH_BCM + bool "Broadcom SoC Support" + +if ARCH_BCM + config ARCH_BCM2835 bool "Broadcom BCM2835 family" select TIMER_OF @@ -73,6 +78,16 @@ config ARCH_BCMBCA This enables support for Broadcom BCA ARM-based broadband chipsets, including the DSL, PON and Wireless family of chips. +config ARCH_BRCMSTB + bool "Broadcom Set-Top-Box SoCs" + select ARCH_HAS_RESET_CONTROLLER + select GENERIC_IRQ_CHIP + select PINCTRL + help + This enables support for Broadcom's ARMv8 Set Top Box SoCs + +endif + config ARCH_BERLIN bool "Marvell Berlin SoC Family" select DW_APB_ICTL @@ -87,14 +102,6 @@ config ARCH_BITMAIN help This enables support for the Bitmain SoC Family. -config ARCH_BRCMSTB - bool "Broadcom Set-Top-Box SoCs" - select ARCH_HAS_RESET_CONTROLLER - select GENERIC_IRQ_CHIP - select PINCTRL - help - This enables support for Broadcom's ARMv8 Set Top Box SoCs - config ARCH_EXYNOS bool "ARMv8 based Samsung Exynos SoC family" select COMMON_CLK_SAMSUNG From patchwork Mon Aug 29 17:38:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12958295 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 9B9B6ECAAA2 for ; Mon, 29 Aug 2022 17:39:59 +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=28/hGLBTVcbfU/sxqmDyIRkE2K6EMyUYVPss9S1RiP8=; b=VIKYR9FagVoEe1 yut+kmyaCw9SpFKlQPRRNiFY0A+IGsdUwf35ozR57ZPhmizMY1MDnnEHKxhvIfuYh4xYalQyynpVf dSbrMovmjiSptHRXgkROQDUD52Af235iqFk1gHSlaunuAyNdodWRNC+vJBBx8z8ogDsnd7yUacYZG aJAw9HeDeejU/ArGqwjA25rq38ddyDJKhNDqgNP5+oQo0g5TZ1jV/1ovOmVs993eedfRlWy+bz5n2 +L6yJkNK187u9NbWZoWcPUBTgkxbZuTJmP8taBf/B+ylUOvae6EStLbMTmij7vGzkMzS4Y2vEkwQA 03mz5VRaQdJCAZw8kqXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSiiy-00C3vP-R2; Mon, 29 Aug 2022 17:39:01 +0000 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSiii-00C3sM-AA for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2022 17:38:45 +0000 Received: by mail-qv1-xf2f.google.com with SMTP id kh8so6861658qvb.1 for ; Mon, 29 Aug 2022 10:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=I/SAEi6d7MQzK2zmN3C2Xz2o5qThFKoSXxNju+OsJpA=; b=ExueIjbnC8ELzM7W1vKR2FOynY1q8Fh3VZ5Wj1BktKSDzf7cIL8U2DbErh6JjFm6MI +O+XGdOHlHUUoIQt8Ed8ALIq247yV826r/JIw6oQejjlRixuULEUd7wNvH/Ij6L62JDF aOxGjuIyzSmlBO++pezTZa8cD0dvXrEZidJmxLXYXjvWRcdHdwSswjCBBi2nRcyGyLmf VUUwbqgShkABLrpa8GQGbu6scME+aVXr2pBRp/NNYMPsxOaIwJwg/1QWOUXPtRjCXnCH 7kng41a0spVw6XAnlk7u1C39rsOZgQjbR6QflkHnAS7uxpPA5ePu606KFmGo1/89+u2r uHiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=I/SAEi6d7MQzK2zmN3C2Xz2o5qThFKoSXxNju+OsJpA=; b=PiTcHAmqoMU20ZHkr6TciEKipxK38VP9vNnK375NLPNf/GH+Dx0idkukK1CnAJuXyb nS3e/HDdcd1SFzwepVnwHCZmnHe9ZJL13D0eJy1kXw4PpnWEqG5ph+R3kXjzuIvo7qn2 Gz6HcrTKxalzbdmMem0+Z+NCDneAFT4AfhtA3l0aMQcJUiK8v7TxAyJyVpxU6tVBjweM PEbgE+oRBdHsT2Cw3QrGhNveMmI3MEo/qmiNwLxSPX7zb0poi3J83X0WA5SBLtSsEujW whuw+FeCJYlkLL29QEkM+ujI1+go1KafngHwoM3SUyVyT9A6s6WS7i4LZ5409wNOSsVs 7CYA== X-Gm-Message-State: ACgBeo1WnmRH/v0U6waqHbUjVpZDxOWsKehSVVrU6bqqaqlbsCQob1cH 1z7BNDONVghKmSrNZtu19WVNFAXdY8s= X-Google-Smtp-Source: AA6agR7prCnqNNbI5hjcg/QnEFm4SxS15Vz1qgfQQyokaHeubUPKXPU9sds/jGpWQGwpQoMilmTTvQ== X-Received: by 2002:a0c:8e8d:0:b0:496:b53d:c775 with SMTP id x13-20020a0c8e8d000000b00496b53dc775mr11474870qvb.36.1661794721961; Mon, 29 Aug 2022 10:38:41 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id j8-20020a05620a288800b006bb7ccf6855sm6543583qkp.76.2022.08.29.10.38.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 10:38:41 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: soc@kernel.org, Florian Fainelli , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list), krzysztof.kozlowski@linaro.org, arnd@arndb.de, Geert Uytterhoeven , william.zhang@broadcom.com, anand.gore@broadcom.com Subject: [PATCH v2 2/2] arm64: Kconfig.platforms: Group NXP platforms together Date: Mon, 29 Aug 2022 10:38:29 -0700 Message-Id: <20220829173830.3567047-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220829173830.3567047-1-f.fainelli@gmail.com> References: <20220829173830.3567047-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220829_103844_373797_C6601673 X-CRM114-Status: GOOD ( 10.24 ) 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 Group the three NXP platforms under an ARCH_NXP menuconfig symbol to make make selection of similar vendor SoCs visually nicer. Signed-off-by: Florian Fainelli --- arch/arm64/Kconfig.platforms | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 748f9ac4d775..61d946e092d3 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -143,12 +143,6 @@ config ARCH_K3 This enables support for Texas Instruments' K3 multicore SoC architecture. -config ARCH_LAYERSCAPE - bool "ARMv8 based Freescale Layerscape SoC family" - select EDAC_SUPPORT - help - This enables support for the Freescale Layerscape SoC family. - config ARCH_LG1K bool "LG Electronics LG1K SoC Family" help @@ -207,6 +201,17 @@ config ARCH_MVEBU - Armada 8K SoC Family - 98DX2530 SoC Family +menuconfig ARCH_NXP + bool "NXP SoC support" + +if ARCH_NXP + +config ARCH_LAYERSCAPE + bool "ARMv8 based Freescale Layerscape SoC family" + select EDAC_SUPPORT + help + This enables support for the Freescale Layerscape SoC family. + config ARCH_MXC bool "ARMv8 based NXP i.MX SoC family" select ARM64_ERRATUM_843419 @@ -221,6 +226,13 @@ config ARCH_MXC This enables support for the ARMv8 based SoCs in the NXP i.MX family. +config ARCH_S32 + bool "NXP S32 SoC Family" + help + This enables support for the NXP S32 family of processors. + +endif + config ARCH_NPCM bool "Nuvoton NPCM Architecture" select PINCTRL @@ -264,11 +276,6 @@ config ARCH_ROCKCHIP This enables support for the ARMv8 based Rockchip chipsets, like the RK3368. -config ARCH_S32 - bool "NXP S32 SoC Family" - help - This enables support for the NXP S32 family of processors. - config ARCH_SEATTLE bool "AMD Seattle SoC Family" help