From patchwork Mon Jul 22 15:25:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13738905 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 576E0C3DA5D for ; Mon, 22 Jul 2024 15:26:36 +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=V+HjkotHOQ5JNCg9XgeR4NnIWhFsSbpJ1I6jFWzP/i8=; b=oxF37s5SBjchGLYnq0aAhJrWgM 1oV+mMxJCoBNLaOms+xahS/Ukd/Bdu527zV1nzUtZBABiljQYz9HH4mTE3nugL+ePy/uPRQAmxqJ+ f/dHKUUptCIhD/LqNNTzLDCd0hqkTXxE2fSTg6CbGvDgv9k3OOfP5VWvMyGHF3dX7IROsOSyCUwZQ wPXjqe/DFW3/cL6/GXRnI+426rN/r9orkNM1W1W0Fjhenfnqy6kYtZJkFlhMuMOaR009SDFrd6FY2 wZJrKWir70Rv9KDErPlt+QNW+SLrrBnl/aTRj57I9P1kNhJ0CuB+tSDGEu1ezZCIgbOCMuoP3Dgi4 reg9cgkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVuvh-00000009wN0-1UFb; Mon, 22 Jul 2024 15:26:25 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sVuvJ-00000009wH4-22tz for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2024 15:26:03 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:173b:9414:53f5:de4c]) by laurent.telenet-ops.be with bizsmtp id qfRu2C00F1wvoRx01fRufC; Mon, 22 Jul 2024 17:25:57 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sVuut-0031Lx-SI; Mon, 22 Jul 2024 17:25:54 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sVuvC-0025cR-AJ; Mon, 22 Jul 2024 17:25:54 +0200 From: Geert Uytterhoeven To: Mauro Carvalho Chehab , Sebastian Fricke , Hans Verkuil , Devarsh Thakkar , Benjamin Gaignard , David Huang 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] media: imagination: VIDEO_E5010_JPEG_ENC should depend on ARCH_K3 Date: Mon, 22 Jul 2024 17:25:53 +0200 Message-Id: <8c124554f64cf107ac29280580e5e9ab68ea3193.1721661863.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_082601_686726_A2EE013D X-CRM114-Status: GOOD ( 10.29 ) 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 Imagination E5010 JPEG Encoder is only present on Texas Instruments K3 SoCs. Hence add a dependency on ARCH_K3, to prevent asking the user about this driver when configuring a kernel without TI K3 SoC support. The dependency can be relaxed if/when the encoder appears on other SoC families. Fixes: a1e2940458853d00 ("media: imagination: Add E5010 JPEG Encoder driver") Signed-off-by: Geert Uytterhoeven --- drivers/media/platform/imagination/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/imagination/Kconfig b/drivers/media/platform/imagination/Kconfig index 7139ae22219b43c6..a302c955483dca80 100644 --- a/drivers/media/platform/imagination/Kconfig +++ b/drivers/media/platform/imagination/Kconfig @@ -2,6 +2,7 @@ config VIDEO_E5010_JPEG_ENC tristate "Imagination E5010 JPEG Encoder Driver" depends on VIDEO_DEV + depends on ARCH_K3 || COMPILE_TEST select VIDEOBUF2_DMA_CONTIG select VIDEOBUF2_VMALLOC select V4L2_MEM2MEM_DEV