From patchwork Tue Sep 17 19:18:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13806432 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 7E19FCAC596 for ; Tue, 17 Sep 2024 19:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iX7BdyXyEKseaHvoeHfy59VsEhhm7BLq/GzuL5Qq8gA=; b=Cm8ZN4F/mDhV47DWmp+WgbOv/s DZ0icI1aRj61Z3Q9GHmY0izGj7okLHQ0tIB89Pg4u9+Ner5DOGVNpvR/Ud1IW+4tE9dvXdLQYycGp RGLgJJYddmjR7gjGIqhuUFOZsFCd/1RSUozYCkYOGguBpQwvRQaWYOVz1jDJ0rDmS0CO0B/oGtP4/ xjrgsPEtrBY8GzON8rKUQ08Zd+6vJ9wM5oQSBy5lw+EiUr306YNfE/eB/jIX+fzlRKwu3c+liR603 IHmVHuVoYCrbqbjadJWXp8yOg557A1u+ThvcfuTycJW8S8w174klKUqwyNp2YIgmj3ptBQq2aXxhO HzcAQNXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqdl3-00000006koO-40Bt; Tue, 17 Sep 2024 19:21:06 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqdij-00000006kLq-0jsJ for linux-arm-kernel@lists.infradead.org; Tue, 17 Sep 2024 19:18:42 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5c42f406e29so5142044a12.2 for ; Tue, 17 Sep 2024 12:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726600719; x=1727205519; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=iX7BdyXyEKseaHvoeHfy59VsEhhm7BLq/GzuL5Qq8gA=; b=HHTsnEzoGSZl5MK795+DhpIbz3L6PuOieszHwAihCxvHRkepspwp+W5qPS6pTHx68x 1O1oGCF561FVFK5MYs/+tjxdwfG6EDA9Uf0MS/OSVS4BlJhyFg/AV2AgiIshlnPmFSWa RJoKcwpxiUVDH/IgdCFggqZh9bbJs6ZpCIA21LEitVMip8vtwZ2dhVB6hrl1xLLqwjv4 d+ccTcsxOBJ3Y7HwbFCGK384RlSfWSMZWe0x/lhCgfSzRwTyRKRJ7fCnRrAuSm7GQmf+ DVH08UV/EA72c31PIjFp8IECAE/Bl63kMmfHrV0ndEbUyGSqAP9DAnnLeonKOj5OahH+ m7zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726600719; x=1727205519; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iX7BdyXyEKseaHvoeHfy59VsEhhm7BLq/GzuL5Qq8gA=; b=UJp/rYUy4/CvWyZAqgGY5fw5nrCTy9du8nbQLtEfkjxSKe5x8btTyASs2HfXeb+PHH pYFU3ibMbO4dQjA72tDCK7iM3tGIh4oBeMKYRBtFmnpQ4cERFETOHhFhcvWrD7wmRebO 4vTLjy0A/2z1iq3xqgii76nCsjPc4Okbm917leDCSIH/FwYLIgOMVSPAR2BqjYqrsRri GccP/foEgKRHlA3seVvUzQlcNUcTQWkahMsqIZJ7Bz40ChURcFzkYSLRsmsqWyC8+8cx ast5IdNq8yv/jIo60MGfzdxfPd/iAy5WIpoQ8plElOhne3wI1ACxF7f7Gy8XT/CCiFlK gQuQ== X-Gm-Message-State: AOJu0YymJ9OPJTsHFb46GmoNf4o0hM1ryEPJLg+hMucHl0M0s4t38C8n PUcV2BsU/AQ7HnPXPF7/F3vSmqADCOUpS8yEB4ZJfS/ZS5CsKJ7+rJC0NxH2A4o= X-Google-Smtp-Source: AGHT+IFKMcHxFj603IokkUERIgghRnzNx4gN9UOQXAxpeBpW8r5lWRvc1Ht/B68zzEtmcIrhPJ2Zrg== X-Received: by 2002:a17:907:e2df:b0:a8d:55ce:fb97 with SMTP id a640c23a62f3a-a90293dfc54mr2058055366b.11.1726600719299; Tue, 17 Sep 2024 12:18:39 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90610f4320sm482418366b.85.2024.09.17.12.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2024 12:18:37 -0700 (PDT) From: Linus Walleij Date: Tue, 17 Sep 2024 21:18:28 +0200 Subject: [PATCH 1/2] ARM: bcm: Add selects for the Cortex-A7 BCMBCA MIME-Version: 1.0 Message-Id: <20240917-bcm-arm-bcm6846-v1-1-236e29661f4c@linaro.org> References: <20240917-bcm-arm-bcm6846-v1-0-236e29661f4c@linaro.org> In-Reply-To: <20240917-bcm-arm-bcm6846-v1-0-236e29661f4c@linaro.org> To: Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Russell King , William Zhang , Anand Gore , Kursad Oney , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240917_121841_248376_5EDE92D5 X-CRM114-Status: GOOD ( 12.15 ) 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 The Cortex-A7 versions of BCMBCA have most of the stuff that the Cortex-A9 version has and it can be selected independently with the Cortex-A9 disabled, so make sure it will also select all needed features. Signed-off-by: Linus Walleij --- arch/arm/mach-bcm/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 7318d8789e24..39d1d713efe0 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -217,6 +217,11 @@ if ARCH_BCMBCA config ARCH_BCMBCA_CORTEXA7 bool "Cortex-A7 SoCs" + 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 A7 based chipset.