From patchwork Tue Nov 28 18:26:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13471538 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 E4930C4167B for ; Tue, 28 Nov 2023 18:27:24 +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=wAjLlXggxNHj11gbyQ6J7c6g9XqNUmndkxXwkKrhPU0=; b=rV3NjPWxexe0wu C1VefWVBZ3FrRONkBYV1u6Z0itpCm7UvbZ9uCCD5X4YyYtbTB8tDBuSfsofPT0VviOiAyJQPomsK6 7cmOm0gYeAVsIOdlfkgOpg/eqqhG0azcJ+rbqeWNpifVWm/Uw+V+5+VZdTEkEZZO2Plw/nmHZGBWV VzxwHLftrEwx01TRUkr/Bb6dANJaHll5SyUpGmrBAHwPyq7+hMff4X87qhZo8oOIpDI7q729G8pKn E004uXnP109Hhpb9YeefrqtFKsvGIIFhtgxZKXzylCuBke5RFRxzvPJIXA8+TOLOd/Ki0TRI1eChd XhJrUR4u+MbZA/sNNUYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r82nP-0064t9-14; Tue, 28 Nov 2023 18:26:55 +0000 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r82nM-0064r8-0P for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 18:26:54 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f4d4:eef9:4487:4eb1]) by andre.telenet-ops.be with bizsmtp id FuSe2B00E2jytoH01uSec1; Tue, 28 Nov 2023 19:26:44 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1r82ms-00AHWm-F7; Tue, 28 Nov 2023 19:26:38 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1r82n8-00B9me-GS; Tue, 28 Nov 2023 19:26:38 +0100 From: Geert Uytterhoeven To: Nas Chung , Jackson Lee , Mauro Carvalho Chehab , Dafna Hirschfeld , Sebastian Fricke , Robert Beckett , Hans Verkuil , Nicolas Dufresne Cc: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH -next] media: chips-media: VIDEO_WAVE_VPU should depend on ARCH_K3 Date: Tue, 28 Nov 2023 19:26:36 +0100 Message-Id: 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-20231128_102652_329791_81FD1245 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. 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 Chips&Media Wave 5 Series multi-standard codec IP is currently only supported on Texas Instruments K3 J721S2 SoC. Hence add a dependency on ARCH_K3, to prevent asking the user about this driver when configuring a kernel without Texas Instruments K3 Multicore SoC support. Fixes: 9707a6254a8a6b97 ("media: chips-media: wave5: Add the v4l2 layer") Signed-off-by: Geert Uytterhoeven Reviewed-by: Nishanth Menon --- drivers/media/platform/chips-media/wave5/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/chips-media/wave5/Kconfig b/drivers/media/platform/chips-media/wave5/Kconfig index 77e7ae5c8f35f454..9ccc1f7e32f3874f 100644 --- a/drivers/media/platform/chips-media/wave5/Kconfig +++ b/drivers/media/platform/chips-media/wave5/Kconfig @@ -3,6 +3,7 @@ config VIDEO_WAVE_VPU tristate "Chips&Media Wave Codec Driver" depends on V4L_MEM2MEM_DRIVERS depends on VIDEO_DEV && OF + depends on ARCH_K3 || COMPILE_TEST select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_VMALLOC select V4L2_MEM2MEM_DEV