From patchwork Thu Jul 14 04:58:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 12917295 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 1A3F9C43334 for ; Thu, 14 Jul 2022 05:00: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=9wxQGqz0W6DefNbRwAIYefaiP7Ms5iXW38zf1n5Wpa8=; b=UJclbA/ERYbij8 J3hbcRFHX542xJFDHQthGmwSR3SrRqd/P2tcF2s3Vkv4Y0OExdB3CHP3gZWsq7bNlD2Mjk6CFMY03 JwIlDp2+O0xM+HwCt+K4MM+O32wUP32nkeztjxOdRYQtPQglzdYd5M04+oIqYXur+ho+awoo0wbiC 0126x4DxTUlNxIyXM6dipZQS2OBph0yocr90IqZyNv0HePmc4YXSSt3wY4znls/tjJfOoU7Z6g1E3 csRm0qUIFZqHouLbSVn/7gXhMyCnBpNpjlW+YT8lddbpR6etoWKyxgsklcpOMmk0Tr993FFKdGEzZ I40mlZ5lIgZJqnWk6wAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBqwQ-00ArwS-QE; Thu, 14 Jul 2022 04:59:10 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBqwN-00Artp-HJ for linux-arm-kernel@lists.infradead.org; Thu, 14 Jul 2022 04:59:09 +0000 Received: by mail-ed1-x530.google.com with SMTP id y4so942251edc.4 for ; Wed, 13 Jul 2022 21:59:05 -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:mime-version :content-transfer-encoding; bh=jCEVYf16lwb1KF40w2OMCVgwZaIGu/zjsq1217UED9g=; b=eaz9iQDpFK0Kw6InNh6G/vDGqF3aqZOtnzyGRu4x4t6EG6d8otp+XmzZ+YhZLi1Y4J w4bdTEthpWhsc3EOQ/VMisAM6HF1Eocsvl2vSgNWOBYiVJ9qJQfwCzVlb9KGPqDawJIS k8ieyGWVizbbEWimDnPhB6gzZ9OzW+FUvJzhxGHo1k4GTLXNkj+5tPGY8tMykN1CB3nj jfiBWDqM1PmBk3JOFDoR6VIq2+Mx9Gq09zoXHyUDlB7i+XEoIgxZT/thEH5LET9mw3Eg F21l2Wbs9yRhzCCHVPUj5jxd0+13IzXzBfPewUd0QB3x7UHZpBO4XXRXreyRJfU/J6QI DBXg== 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:mime-version :content-transfer-encoding; bh=jCEVYf16lwb1KF40w2OMCVgwZaIGu/zjsq1217UED9g=; b=UPXXcCc23wQ9sUxTImLadm/uHwVsKBfhMeKIA9WSa9QgD2bX14iSnUSwsQT7Q3nzn8 gLcX+3b2ZQaObkmbfXXGcYVQ1gHmwLQUpfA1O/0nEBoJuO+f7jsd4kqcpyDbfBpjssoO r2iSNAYUmT66PL8ItlbtGpL4/BvqPS0uWVufNTlfobvDgPK7TvAFgwlhpBwTOZxJFr6x 8D5wnY0IuCcvLbRmI7fkK6VWuvJNtTy7m13pnu2Yk7/n13yBo1uRdsnY2aDizV85BByH wUjSFn4SKA1jtwjLgiJxi4QkjegbSYZs/EpSg2bGoo5eoUtT03yM6reNPUMUyQ0797B0 kwfA== X-Gm-Message-State: AJIora/O71I/cyG3mCGCFPxrwyyMPqjC05zxzZ8lAjaSmVn037RuE0jh OXh0lYzggLW8zzMUt3h5omQ= X-Google-Smtp-Source: AGRyM1sPebOhpj1x11qR7ehO8PAeP550ykbtMojRaBATbpV9j56h8y1jUJ7zgiJv9ovYLiQdsVP8NQ== X-Received: by 2002:a05:6402:3707:b0:437:61f9:57a9 with SMTP id ek7-20020a056402370700b0043761f957a9mr9704499edb.1.1657774743805; Wed, 13 Jul 2022 21:59:03 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id q25-20020a1709066ad900b0072b2ef2757csm213571ejs.180.2022.07.13.21.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 21:59:03 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , William Zhang , Anand Gore , Kursad Oney , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] arm64: make ARCH_BCM4908 select ARCH_BCMBCA Date: Thu, 14 Jul 2022 06:58:58 +0200 Message-Id: <20220714045858.7786-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220713_215907_599541_77A44841 X-CRM114-Status: GOOD ( 11.72 ) 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 From: Rafał Miłecki BCA is a big set / family of devices sharing multiple hardware blocks. It covers BCM4908, BCM63xx, BCM68xx devices and more. Most of drivers that depend on ARCH_BCM4908 should actually depend on ARCH_BCMBCA. To make such transition easier, cleaner and breakage-free add a proper "select". Later on - if we decide to keep ARCH_BCM4908 - it may be moved under ARCH_BCMBCA menu. Keeping it may be helpful for limited compiling of DTS files and "default" Kconfig entires. Or we may just decide to drop it. Signed-off-by: Rafał Miłecki Acked-by: William Zhang --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 88ddc2e5b152..7fea6955944e 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -49,6 +49,7 @@ config ARCH_BCM2835 config ARCH_BCM4908 bool "Broadcom BCM4908 family" + select ARCH_BCMBCA select GPIOLIB help This enables support for the Broadcom BCM4906, BCM4908 and