From patchwork Tue Jul 12 16:42:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12915346 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 5E556C433EF for ; Tue, 12 Jul 2022 16:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jyMu4pIlziO1ZicU8jsDROtRGRpXRolJCr7YH/5PT+0=; b=fEEa2h65GYmFF4 Dxi1bjhevwci/IRyappDAk3L6xkxJyo1cwlWeJXyEEeuuBkRQYNgkmfJawANkEm6S2Igx5DykGUI5 FS3Wh3oppTIGczblEevcC+F/31NKdG3b7pDDPWqHXsO2OINEzU9tfd1y6mhvpHo8YJqqwJZIRqF5m JrEhlUEPe/8Pt7hA/LFQUAcd2AwHaqY0HtEWAw0pq36f3qYmOHwYClryUrUinA2xU68FEre9xQlB9 ZGTBtUdynYtZDyid/fBX4JAljD73VElc6dEyeAl7zZoCQ2Aye7l4+IAORKzlIsn+XkKpdNTfINVAZ H5VU2l7CvFc0P5ixrRpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBJ7z-00D3K5-AR; Tue, 12 Jul 2022 16:52:52 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIyD-00Cwv4-A1 for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:42:47 +0000 Received: by mail-pj1-x102b.google.com with SMTP id i8-20020a17090a4b8800b001ef8a65bfbdso8798208pjh.1 for ; Tue, 12 Jul 2022 09:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=38qVWGdU7HKJkL6IeCHeQKdX+0uOfPHorBf46EI1KJs=; b=nVBSoT3GWPU4E9j6+KwPb2GXTEMNqck6Lio7zEkhgrmsW4lsa0rlm9nUQaVaF0XaIp bFiKfAHlnEMwbcNJjb/ZIBNaBcWiR13sXTVSW3l2G72ri0vIBrdmz0Wqf+gSU6oq99+y SNxe+8FbAENRA35QJLfQlf+JA7ii4Ka7N98XKEc0NFaxeUxN2h/TS4mZ/LkUVTJGw6eF JpTCyzwcrbDR1NUGVdsOvZtY+jiJbqLw1NI1HAJnQAWCaG8oWrwls3appxJ40EPz6yLc 3wGiuSsiSAb3V+cjwx+mSoB1DDpycEQr2k/CzCKj/bpJ8hkToVo9QxAgrCQhmodDenXK VSKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=38qVWGdU7HKJkL6IeCHeQKdX+0uOfPHorBf46EI1KJs=; b=snmLOS0nBNfrfeK6cLNqJwm8cNyvIYUauUMJ4AsUWXipgGzngfwsv9fYZOoc87//vq b3a1u9w4uHDA1gnucmAyQAJaWT22uVy1af3JHDquu9Rq380dmGP662sXkehyri0Q6Drl UpP2HJIRkAC9S0iAmS5QbjVl/SVjWIENmot2TP7b+x0CRR1B4vXBtQq4Jd/vj69o5bIc VLnjb5FVbVWCBh9jfldLUCXv4PEKCJLR1c62Tt1hRxXz66Mbu2jX5ugQ4pGSoZhCKanX d1bbMvm5b8tiP/hADYGFzvCVVPW9LQ6iVOtlcOl6zuiK7wjb4GtrJFvrsEMCRYTRgyXI v53g== X-Gm-Message-State: AJIora+rvRacHM1aC3r8uI3LcZ0HYOrFbWNFMh4A7D0KXKfiOAQ7EVXl OvBf1x9hfnY91e/q0QCQ570tXCq3WEY= X-Google-Smtp-Source: AGRyM1vM/uufGxIf0o5rDefUv4yeq7W+vjifZQYSEdFtEs1ZztI71WgQjYPptMY8+ctn++udD323Mw== X-Received: by 2002:a17:90b:4ad2:b0:1f0:3395:6427 with SMTP id mh18-20020a17090b4ad200b001f033956427mr5166794pjb.93.1657644161878; Tue, 12 Jul 2022 09:42:41 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id n5-20020a622705000000b005254c71df0esm7050562pfn.86.2022.07.12.09.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 09:42:40 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: soc@kernel.org, bcm-kernel-feedback-list@broadcom.com, william.zhang@broadcom.com, krzysztof.kozlowski@linaro.org, anand.gore@broadcom.com, arnd@arndb.de, olof@lixom.net, Florian Fainelli , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] arm64: Kconfig.platforms: Re-organized Broadcom menu Date: Tue, 12 Jul 2022 09:42:35 -0700 Message-Id: <20220712164235.40293-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_094245_429255_1AFC62FD X-CRM114-Status: GOOD ( 11.69 ) 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 Reported-by: Linux Kernel Functional Testing --- Note this is based on "arm64: bcmbca: add arch bcmbca machine entry" 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 88ddc2e5b152..c8c15f611d4e 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 @@ -72,6 +77,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 @@ -86,14 +101,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