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: 13738907 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E16416DEDC for ; Mon, 22 Jul 2024 15:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721662119; cv=none; b=HRU6HhkvCKhs4Qnkk49+PZVBc5vEGFMuvAMW/DOQjNpFpz5I5OqkIiF2uoDVF//lXjbL/NCwAHC+5fSjzOGefLr/SWPuPTTVkkzr8t/IE7smISkloosN5fA2o5O8pNczHap+UMD8XYD03V14q0TxUlM66tnyN9drveZ7JK4mGmk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721662119; c=relaxed/simple; bh=s4xSezAlNEuN7kmXzjU1dtPvUMKRnoPYZqdJ5NX9UWg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=iNKKP8cT37QScaAO9uTqQ3GZ+8ScwhHIN0d0PBEMxLCCD8E2tPdgXeo62FskU1HO7UuLDH6A758ThLCNrCQ3/JYpdzEBrmgEDW20xEpoXQsurkzYyh7KY6ZYRh3VaB9Dp8FwRrAFtpFxoeSoABuboPgQJwW6YIRPDofLPiel9u4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org 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 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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