From patchwork Tue Sep 28 18:21:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12523539 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 84E84C433FE for ; Tue, 28 Sep 2021 18:30:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4D3C4613A6 for ; Tue, 28 Sep 2021 18:30:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4D3C4613A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=LY4Q00sZLX3QRTvo/lwIuTenkMggTQmiDELEy4+X+/4=; b=ufDUp1+7cdwykQ s/8m68seBM7NUvNsFM32z7m8XA9wYkmVromzVWWI4yFmgAhkN50wXHCaSDRIkauaKx5FWs+3S66VK R01lU8h5XAEPpcLjBfFJsCJ9JWKdODgHt9GU2oze21MFdNmyaQOBnuaQ+PtVMFockAk/mzVLgVXdO MovOk5CY6i2TNMiiQWHu+W8DtExM+yyD5kqViM0IBW4iTXMMeYU4tbaifjMlgFkPh8TY+9OXaCT4B 0prAnkmfbaEcgZNB+cYXFe7DgpNgGK0p2J7r7YVZRnQ+VnIs9zo9qkPzIFRU2D3tpqB17+KzSOa7G 1Fc+rZIxCuQbFMxi840A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVHpv-008QkG-3Y; Tue, 28 Sep 2021 18:28:15 +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 1mVHkW-008OEY-Np for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 18:22:41 +0000 Received: by mail-pg1-x52f.google.com with SMTP id y186so35868pgd.0 for ; Tue, 28 Sep 2021 11:22:40 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=5ALk99V/yV50Q7B1PyIb1+nfNEsL1ZZBgIrsEIIgD/g=; b=lcMf2uYuDXr4vVi/DkRQdxje2Bq7Gu0PsejcNuYQcLHVGdyPFCeHeYr8L6kr0fRHvl c9+0cTNbjSD3cD5S7WZro2iyL0D4Sj3w9N22shviue+wctgbDTfwJ8QcQxTSbMXBKqPv 9ZWeWDfTWm+Bt3qN64hou0d8bjYSKCvLVUP0DKfbo3PG+4fwlxWYXGEEC3OsJWCCeKIR hUC0mD+gaJ6eRrqyOBtChQFSvSXCVVjH2cEo1O4e3JcTCMAV+f4y2kwNWKCUyU7Ywt84 QEXckRchPgeUZb9T8paxfgXibtP5z0f6rqWt56cmuSeccdqB1CCYMOA8rSawtM9FLwwd RtaQ== 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:content-transfer-encoding; bh=5ALk99V/yV50Q7B1PyIb1+nfNEsL1ZZBgIrsEIIgD/g=; b=8C+X94foqrdKmwwlhAc5ya9cR2YIX7Qp1LOMdiUMb0pFdhORtzP3R5okRbZkRIv30t cTh2AHASECfh+sSTT1xg/TS42aaGxO+xEPWfq9MQ8LhRBRaCXinsDSBf/IJKbyewtf4I FnFzwaXfkAD9xXOncMayOcdwUTJAxI1a+emHJR0zjXqbuemwjgI4+2NQXPgUa5e/Q1IJ cs6tYe4L8GjHGhjklm5sa0yJtY1JRcClK2p48jpPJCoypU5gzOW7Quo/xSo1eLD9CG/g LO9Cpr3oORvOpNTztc56QMubi0fo5KwI9wZi5Tqt77G8q3WSKNySz/nI77eO+HvZ3lom MvFQ== X-Gm-Message-State: AOAM530pIlM7XaSf+ozdFZNCSK98Sntz0Zn5u2DW/hXdDmprDD24IzqD WIj9e2bLqq0FmcJL2qOQfAQ= X-Google-Smtp-Source: ABdhPJzq2CeEoz1qAaLWTWoo4xYrAetR5aJdpAf3QfSgn+WmMio9ms/k07gYA2Fp0iV35vnwTB+3IA== X-Received: by 2002:aa7:82d0:0:b0:413:5e93:2f7a with SMTP id f16-20020aa782d0000000b004135e932f7amr6857004pfn.16.1632853360272; Tue, 28 Sep 2021 11:22:40 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x19sm20855288pfn.105.2021.09.28.11.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 11:22:39 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE...), Russell King , Catalin Marinas , Will Deacon , Thomas Bogendoerfer , Thomas Gleixner , Marc Zyngier , Rob Herring , Frank Rowand , linux-arm-kernel@lists.infradead.org (moderated list:ARM SUB-ARCHITECTURES), linux-mips@vger.kernel.org (open list:MIPS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE) Subject: [PATCH v3 12/14] arm64: broadcom: Removed forced select of interrupt controllers Date: Tue, 28 Sep 2021 11:21:37 -0700 Message-Id: <20210928182139.652896-13-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928182139.652896-1-f.fainelli@gmail.com> References: <20210928182139.652896-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-20210928_112240_799801_7AD41E1F X-CRM114-Status: GOOD ( 14.04 ) 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 Now that the various second level interrupt controllers have been moved to IRQCHIP_PLATFORM_DRIVER and they do default to ARCH_BRCMSTB and ARCH_BCM2835 where relevant, remove their forced selection from the machine entry to allow an user to build them as modules. Signed-off-by: Florian Fainelli --- arch/arm64/Kconfig.platforms | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index b0ce18d4cc98..2e9440f2da22 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -44,7 +44,6 @@ config ARCH_BCM2835 select ARM_AMBA select ARM_GIC select ARM_TIMER_SP804 - select BRCMSTB_L2_IRQ help This enables support for the Broadcom BCM2837 and BCM2711 SoC. These SoCs are used in the Raspberry Pi 3 and 4 devices. @@ -82,8 +81,6 @@ config ARCH_BITMAIN config ARCH_BRCMSTB bool "Broadcom Set-Top-Box SoCs" select ARCH_HAS_RESET_CONTROLLER - select BCM7038_L1_IRQ - select BRCMSTB_L2_IRQ select GENERIC_IRQ_CHIP select PINCTRL help