From patchwork Thu Jul 7 07:00:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12909125 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 8BA5DC43334 for ; Thu, 7 Jul 2022 07:08:56 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bByvf5LGZZ1QJYA2MnH2FPGRlQaAg38pQqqn7rB8DP8=; b=g0T1LM7LgGfddtSWYPwaBGxhZT e3kJECSGbvhu9hPi/yIWVea9WYDvIwwjEJl2iBwPrqnbxwbfjYKltMv4h5gvRQkXgeS/P4ebzbAEW gFfb9xvfXK5wYp3u7TOmKduHmZEQsbHwjVv5Sn4GTbAeAE2yq5R4bvOF9hCvUfBTwA7UF8qHp2AV8 UfDxRr636B4S5PmQoKhbmEGBuJTmnqu28T+YgRvFpkBOufY3PbudO3V7bQwOecKYFk5xyMXKSktWu Bz00s772rfTtWxRW+0XsUZEvCl/rlIs1W9CKMd2Mkr2A5HxwUc4y9gKiRohW9JZgFN7WaeaH7M/IC bTQWQwgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9Lbt-00EPDg-FI; Thu, 07 Jul 2022 07:07:38 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9LWl-00EKsX-Sf for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2022 07:02:22 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 145so16829231pga.12 for ; Thu, 07 Jul 2022 00:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version; bh=WKVUnbs5aGWUaR1hwKW68c241UIMnt0YO1mYJ2KoFTA=; b=Zk4cX++/s+oeBXeMsm92wiGTP/1CwmQupVswTMQduzqRAm7hEhkDnYvmFett58sewO dX9Vg2U4HLibqSUdDZDn1KPQ4E1jqY1EIQCshW3yCl1xjG0RpefZulLuQJvJVcVXCPpx ukfBXAjJ5ZcDDOUktA6NbvaxZST/IrDHprCn4= 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:in-reply-to :references:mime-version; bh=WKVUnbs5aGWUaR1hwKW68c241UIMnt0YO1mYJ2KoFTA=; b=365CaeL0NvbWPLbFawobAoMTAtcazBU3p5P48t32AbvrIS2ChXG/Rpfsvxq/GO4Rse ndmPcg0EDGYhQbM3g6zWjZG2y/RkD4+tQULH5/xIxnFXoyMVkuul2xDKxWHXOxF70iuu GfZmU0oBvOhJonI/+bJHOl0HXZBD8evgte02QkLaxNXF30ehbwrtyEtAKh/YVBTwvxWM jTW+bCdT//3134xf61ZfFMQpJd/NSTz97p0ILMhMgJPO1boa7CiFNwOzQ0+vQj8HHE1c AEMpVueNzWo/kueeevo9WjInueNEMdQYfsd0MF33u2bVo/FlKJ+IpKPTJVNCoqSNThaC PYzw== X-Gm-Message-State: AJIora9WrtIKTtAeQTY+79zsWRuvb2kg89CNspMGm+3poLz+HoAPydeV Wt1fvXFjPAWxGfwoghmfAQIuBWsOve1655C1n5LJ9gEvmAQsV1D8yPv4MjN3tQc803iu3W1xNWQ yfQ9eY0tDo2fy377pkBu6nECV0Na5yaeQ+FoNf1Mr4FY2RbsmE9s7+N456KuH2qNxYj0NsjMrnx TlrgaOhuA9eiBmvnMX0oY= X-Google-Smtp-Source: AGRyM1uB2PQUunHYqFYlK2cXI1ZzCx8ondZhO96zvrHgsuXkLzjJ1BheubUWCmwwCuFFk1JJpo1RfQ== X-Received: by 2002:a17:90b:3a8e:b0:1ef:93e5:afbd with SMTP id om14-20020a17090b3a8e00b001ef93e5afbdmr3348950pjb.23.1657177336987; Thu, 07 Jul 2022 00:02:16 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b001ec9b7efec2sm18291626pjs.5.2022.07.07.00.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:02:15 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: Broadcom Kernel List , joel.peshkin@broadcom.com, dan.beygelman@broadcom.com, kursad.oney@broadcom.com, f.fainelli@gmail.com, anand.gore@broadcom.com, William Zhang , Ray Jui , Russell King , Scott Branden , linux-kernel@vger.kernel.org Subject: [PATCH v2 6/8] arm: bcmbca: Add BCMBCA sub platforms Date: Thu, 7 Jul 2022 00:00:36 -0700 Message-Id: <20220707070037.261532-7-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220707070037.261532-1-william.zhang@broadcom.com> References: <20220707070037.261532-1-william.zhang@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220707_000220_026195_ED76ADFF X-CRM114-Status: GOOD ( 14.16 ) 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 Create new CORTEXA7, CORTEXA9 and BRAHMAB15 BCMBCA sub platform configs to enable fine-grained selection for each type of ARMv7 SoC. Signed-off-by: William Zhang --- (no changes since v1) arch/arm/mach-bcm/Kconfig | 45 +++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 25aa4ef4db07..0cd23e549cdd 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -201,25 +201,58 @@ config ARCH_BRCMSTB This enables support for Broadcom ARM-based set-top box chipsets, including the 7445 family of chips. -config ARCH_BCMBCA +menuconfig ARCH_BCMBCA bool "Broadcom Broadband SoC" depends on ARCH_MULTI_V7 select ARM_AMBA select ARM_GIC select HAVE_ARM_ARCH_TIMER - select ARCH_HAS_RESET_CONTROLLER + help + Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based + BCA chipset. + + This enables support for Broadcom BCA ARM-based broadband chipsets, + including the DSL, PON and Wireless family of chips. + +comment "BCMBCA sub platforms" + +if ARCH_BCMBCA + +config ARCH_BCMBCA_CORTEXA7 + bool "Cortex-A7 SoCs" + help + Say Y if you intend to run the kernel on a Broadcom Broadband ARM A7 + based chipset. + + This enables support for Broadcom BCA ARM A7 broadband chipsets, + including various DSL, PON and Wireless family of chips. + +config ARCH_BCMBCA_CORTEXA9 + bool "Cortex-A9 SoCS" select ARM_ERRATA_754322 select ARM_ERRATA_764369 if SMP + select ARCH_HAS_RESET_CONTROLLER select ARM_GLOBAL_TIMER select CACHE_L2X0 select HAVE_ARM_TWD if SMP select HAVE_ARM_SCU if SMP + help + Say Y if you intend to run the kernel on a Broadcom Broadband ARM A9 + based BCA chipset. + This enables support for Broadcom BCA ARM A9 broadband chipset. Currently + only DSL chip BCM63138. + +config ARCH_BCMBCA_BRAHMAB15 + bool "Brahma-B15 SoCs" + select ARM_ERRATA_798181 if SMP help - Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based - BCA chipset. + Say Y if you intend to run the kernel on a Broadcom Broadband ARM B15 + based BCA chipset. - This enables support for Broadcom BCA ARM-based broadband chipsets, - including the DSL, PON and Wireless family of chips. + This enables support for Broadcom BCA ARM B15 broadband chipset. Currently + only DSL chip BCM63148. + +endif endif