From patchwork Tue Oct 19 21:58:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12571251 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 B4BF0C433F5 for ; Tue, 19 Oct 2021 22:10:04 +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 729F86128B for ; Tue, 19 Oct 2021 22:10:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 729F86128B 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=IjtZu2/XIwIRVQMS5fIHdj8UCLdos7xLH5lYbfZ9fJA=; b=ZEaU0eF7y0GIE+ E95sP63KsuaQT3R9TS2A+vyh7luHr0Tb6mTFxEsXdQVG6VA7FMYeOCFQ2OXuCYoAqyB/jeVWQkXvp Pn50DxNWgZJqIDeTwTh6okafXP7Fn1Fb6gEWfgMtgXhgP9w19HTfk5XECIdJ6Asrwug7TuceulsZ+ tMCVjhLyge6/tfLiHkPKWKwxYvCcw5HmJqhUMMN9DGN4ob+6G2nZxC7d4mzzTOgofALpJ2Mz+/Gr7 IjcAB/UrUycsg2QPetZd47gFHiTgh4nFfNTQtokfcZdBQBmHEe+Gvw8SX1+Rnz+VaanOVSuvUoQyF 0TkrwKqVNAnOoAALghBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcxGz-002mY3-Iq; Tue, 19 Oct 2021 22:07:54 +0000 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcx8k-002iyt-MB for linux-arm-kernel@lists.infradead.org; Tue, 19 Oct 2021 21:59:24 +0000 Received: by mail-pg1-x52a.google.com with SMTP id 136so862227pgc.2 for ; Tue, 19 Oct 2021 14:59:22 -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=cvv2iZxij6FWrFEEKivGkcFAPGtCwuGKeJ0S/lB+6EU=; b=puyoSqrav3ko0lxLZDxOgj+HF1tMBUhtqeS8ibOhQkHM6TZio2/uRT9KT/AchkliH3 ojpy87guSLAevK+3haRFgpyrMyenPSCxA/7CDUwQNDghnHe1BonrgUntG+wx2GlzwV/w oFvg2SQa2sTNuLN0OS3TC4d3u9P4F1+jU/4NjMmAYds3xMymzYbZQUKXh08AQeHsIQH9 dV/8N7WeiA8dANrE6ZS4h4KRMuKbWSFgIchErMO0d7Hm/o+TRrcvYGkoyZTAvnJ5RpNP 0LlcwFaFC1omp4VwK4XmrfAMSm9glKW0hKMXS4zWp6DlQlGaNwhi7U2NTaQPz0k7a1mi Y7nw== 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=cvv2iZxij6FWrFEEKivGkcFAPGtCwuGKeJ0S/lB+6EU=; b=ifh5NA4cMSqSVIOOvWnXkHmyUUlQJnpKqKmgfbyGvwM/v6le5N49lQxDEcaXnWb/cs wnKbT5mUHjIRcgmyPxEGahE/3qdv8Dw2+YYuaXAzh1UtJ57suO6/JC+3ZICwsLu/Yjjp Ymhjj4wV7yBq8Gn8YrcOvkWeAkWObDCVNANt44vLSeIpZpEtVuYMI/lrEwUNiZn9rlt+ bX3EmvfIXlPczTaIStNYHOBuDBDoz56iEBwtZ49HPzYl6vJCSy6WJikdkasQ4194J3OC 3Ut8qoZYHHMi0wVhpLB0wKVfKamOW09GCH+LYUY8LrvUGRa94HnJpjZzoFw9VgoLPiqg EHzg== X-Gm-Message-State: AOAM532ESeBkhbxStqGS6+K+T5VX2mQwMGtUNN4vSC3aunKRYta7i6/I VVOswRw59pqwV0P+/ceCLKw= X-Google-Smtp-Source: ABdhPJxhzjt2b4JpAP5y08pLkv/ZLh6VuVP+HWQ9UgMTyxUq1vcrNg8BwCWVmSqBUvmU5OQowhuk1Q== X-Received: by 2002:a63:3d8c:: with SMTP id k134mr30384423pga.394.1634680762159; Tue, 19 Oct 2021 14:59:22 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id bf7sm139325pjb.14.2021.10.19.14.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 14:59:21 -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 v5 13/14] ARM: bcm: Removed forced select of interrupt controllers Date: Tue, 19 Oct 2021 14:58:54 -0700 Message-Id: <20211019215855.1920099-14-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211019215855.1920099-1-f.fainelli@gmail.com> References: <20211019215855.1920099-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-20211019_145922_777763_3024DA2C X-CRM114-Status: GOOD ( 13.29 ) 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/arm/mach-bcm/Kconfig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 2890e61b2b46..bd3f82788ebc 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -161,7 +161,6 @@ config ARCH_BCM2835 select ARM_TIMER_SP804 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 select BCM2835_TIMER - select BRCMSTB_L2_IRQ select PINCTRL select PINCTRL_BCM2835 select MFD_CORE @@ -209,9 +208,6 @@ config ARCH_BRCMSTB select ARM_GIC select ARM_ERRATA_798181 if SMP select HAVE_ARM_ARCH_TIMER - select BCM7038_L1_IRQ - select BRCMSTB_L2_IRQ - select BCM7120_L2_IRQ select ZONE_DMA if ARM_LPAE select SOC_BRCMSTB select SOC_BUS