From patchwork Mon Jul 22 15:28:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13738909 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 CEEA8C3DA5D for ; Mon, 22 Jul 2024 15:29:25 +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:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=KonnJMCJNKMbsqIztsu4NgrVI7d0xvlIGqyl1S21Aww=; b=vpY70zJPXqbyYqJ8TY2b0xVReT rBFR34i9pkX6LLH7p9s+qdrM4OymBh02LzGBrtu8kXpHtoSBf/7Ys8JCyO2vI8PxBgEBsOdPs6e9H OJr+QXxBV7cWSoWQuXSd9gKrtv/8axIunrGGlz1m/Ow0BNMDbRV/Jy1cmoZd+pSUF+tBCm2FSs349 N5msXDsGM9ZEctDvVlPfwcLqec6vsiRyz0WOHbvV5pIoI6ENIXHEBuK+5dmi5NRSoJHJ2vfOEmiAj ssG6rbnhUNRic0deCMI/iPx2dzjH7XrW5TZXCUh0b1W2bAGNoZwpxMu/jk1sNDxK9GWAQ8bgJeLwP iY020wdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVuyP-00000009x3l-3V7n; Mon, 22 Jul 2024 15:29:13 +0000 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVuxq-00000009ws0-44NE for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2024 15:28:40 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:173b:9414:53f5:de4c]) by xavier.telenet-ops.be with bizsmtp id qfUY2C0061wvoRx01fUYz0; Mon, 22 Jul 2024 17:28:35 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sVuxR-0031QM-Gg; Mon, 22 Jul 2024 17:28:32 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sVuxj-0025eF-Uh; Mon, 22 Jul 2024 17:28:31 +0200 From: Geert Uytterhoeven To: Jacopo Mondi , Mauro Carvalho Chehab , Florian Fainelli , Nick Hollinghurst , Naushir Patuck , Hans Verkuil , David Plowman Cc: linux-media@vger.kernel.org, kernel-list@raspberrypi.com, Broadcom internal kernel review list , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835 Date: Mon, 22 Jul 2024 17:28:28 +0200 Message-Id: <8e1c6c3a32919603072bb7278c66b4d469f7e762.1721661958.git.geert+renesas@glider.be> 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-20240722_082839_178469_C81EBA13 X-CRM114-Status: GOOD ( 10.76 ) 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 Currently, the Raspberry Pi PiSP Backend (BE) ISP is only present on the Broadcom BCM2712-based Raspberry Pi 5. Hence add a dependency on ARCH_BCM2835, to prevent asking the user about this driver when configuring a kernel without Broadcom BCM2835 family support. The dependency can be relaxed if/when the encoder appears on other SoC families. Fixes: 12187bd5d4f8c128 ("media: raspberrypi: Add support for PiSP BE") Signed-off-by: Geert Uytterhoeven Acked-by: FLorian Fainelli Acked-by: Jacopo Mondi --- drivers/media/platform/raspberrypi/pisp_be/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/raspberrypi/pisp_be/Kconfig b/drivers/media/platform/raspberrypi/pisp_be/Kconfig index 38c0f8305d620d83..46765a2e4c4d1573 100644 --- a/drivers/media/platform/raspberrypi/pisp_be/Kconfig +++ b/drivers/media/platform/raspberrypi/pisp_be/Kconfig @@ -2,6 +2,7 @@ config VIDEO_RASPBERRYPI_PISP_BE tristate "Raspberry Pi PiSP Backend (BE) ISP driver" depends on V4L_PLATFORM_DRIVERS depends on VIDEO_DEV + depends on ARCH_BCM2835 || COMPILE_TEST select VIDEO_V4L2_SUBDEV_API select MEDIA_CONTROLLER select VIDEOBUF2_DMA_CONTIG