From patchwork Tue Jul 5 17:26:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Zhang X-Patchwork-Id: 12906911 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 E7A69CCA47F for ; Tue, 5 Jul 2022 17:29:55 +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=kTaeIKltqacHNZPRNw9St8CRrXSeLwt/GIYiqU/2Sgk=; b=Jp+u9lfX5C90hxolYrOiJk+Ini 4ht3m1xVYhHsYp1W7tl45TkMtRupRB9gFztAYBJ6XOXhpo8RsXlXFTVyvUb6ASCwYEUq77332KW0y 8aTrCXB4sBHxTYPzTDO8OtdoewJo8fy6yaqOcqsI4pt0iZc/DEyWMmMec8ap2jE1pUJB5UPFwz1Aa Z/ZeKCIVLLjG4lnavCyI5B07iIsyMRtjGI2k3c1dzQP7t10WdiDhW/QzTpOhJzRQ3N5jWXG1Bq5Ab /3iBjpvSr1OFO4BnPeZEHgfzUFjGNlHkx7JWcJbUToj6ukSd3Tldz44y4GdwM3VXF4jA5Chswul2U ZOHeoYsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8mM1-001s6m-AI; Tue, 05 Jul 2022 17:28:53 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8mL4-001riy-Jk for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 17:27:56 +0000 Received: by mail-qt1-x832.google.com with SMTP id l14so14701616qtx.2 for ; Tue, 05 Jul 2022 10:27:54 -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=7HpMV6HLy8OH27BaZE1Lw8qTerYAoct0B5HI8zAAZl4=; b=HXkJs8xUW1WieOwSs9weySYvG8pi+V0qG6AGcG5Rd2V4GU2kS2t+j8OGHQYlluYcaG 3V4j0EWSagJnkCJ64u5Z/5HWxqCJoANg3Z4YUaNFA8nR/H9b9xb58vnmxiRdrfnf+Uqc grzUSsTpymneKbh2WXRbHehzDb/3EmTHmX12o= 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=7HpMV6HLy8OH27BaZE1Lw8qTerYAoct0B5HI8zAAZl4=; b=OA0ym8WjBVcvol05nuK+sTUAY8fd+YLZaS9Nzof6rko/1x3qw2RJRl0aI8zbWv76pN Ph02ef7zX0t/tsN2URTzdNuCGZFq0zvHpNQAv0DhwdeORJ63W8NMreb38I1yBmFXk1rg gKUMgw06QlpD4WCLdPEL6dOikbbMCav8y5V/ZiwRbhugB/UXyV5ALz3qNwCG0zYljsz3 U1GZJLXfImvkol7zPjWjXHv2QK7PvbOVaDWJNqgmqOVIgowOnXo6vkm4UviezFLOiOti wimccRs74oKXrgcEP3RlR4yo0Nyh8RRiyRe4UreugX5blBiXSdiwJ0U541606tUdrAnu awYg== X-Gm-Message-State: AJIora/AufYuD/AVvhwqWOoNWcXM1ZQsyRPG8zLd7/yEospqoiu1HpW6 I7100vwZpDxbJkIgHjc1wRUn+haz3NU9r+8fuyocgCdVM6ziadV+6eDAxAUp0HSTYqt9Aid3pod Zutrgp+KL29hhTDcN5cBr0gFcQrvfFHEm5Kd/e9rzwpdznLt2lITFRYhfgBa+5OHAUVZPuHb0+Y ePmj//U/bkV8ihIBuj7bs= X-Google-Smtp-Source: AGRyM1thhJYlN3dZGvwgVnHsiDJlDsUzkkZ+VPm9uTaQBo4ZX/iuSQQJVNsSrwK5LJglr+l7RIBS8w== X-Received: by 2002:ac8:5dc9:0:b0:319:6117:29c8 with SMTP id e9-20020ac85dc9000000b00319611729c8mr29799611qtx.464.1657042073488; Tue, 05 Jul 2022 10:27:53 -0700 (PDT) Received: from ubuntu-22.localdomain ([192.19.222.250]) by smtp.gmail.com with ESMTPSA id d8-20020ac85ac8000000b00304e70585f9sm24439851qtd.72.2022.07.05.10.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 10:27:53 -0700 (PDT) From: William Zhang To: Linux ARM List Cc: joel.peshkin@broadcom.com, kursad.oney@broadcom.com, f.fainelli@gmail.com, anand.gore@broadcom.com, Broadcom Kernel List , philippe.reynes@softathome.com, dan.beygelman@broadcom.com, William Zhang , Ray Jui , Russell King , Scott Branden , linux-kernel@vger.kernel.org Subject: [PATCH 7/9] arm: bcmbca: Add BCMBCA sub platforms Date: Tue, 5 Jul 2022 10:26:11 -0700 Message-Id: <20220705172613.21152-8-william.zhang@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220705172613.21152-1-william.zhang@broadcom.com> References: <20220705172613.21152-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-20220705_102754_704871_C1BBC7D1 X-CRM114-Status: GOOD ( 15.12 ) 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 --- 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