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: 13738904 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (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 D98D716DEC3 for ; Mon, 22 Jul 2024 15:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721661962; cv=none; b=Kbzve/lcAV+uDZQi6w6VsgbGNWf7D0rvBYK04GWT79n2RCRj11LTsTEgkjK++EGbrGt0Y8J3bmKX0waQqcaqWYz0wYiNqZ8D5DUt0ZqKeHvwuW8f+yW5r2AYAdIYkoKLT0T7FZh7dp1Hm9j/nHypME3YjCo4vRgL19KbL8CRPPU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721661962; c=relaxed/simple; bh=6xfQa1A21+kGMuwNQAjYe8vvzACsGO5T8hs4EYkFhFc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=anjALkUKFbY349VxDrX/mVkmBFadIw5TQDTcQ7KrVkJx5B/fNgnDEHZcgvX0X9dg5eSiNnM9x7HUHjNldwRNDeo7pUmERP7bJpWJC97gXImMHSg+i2lJGtv8PrcT9gTM69XMOPtwQqT4fgWvPpu+4b1GClQ8RTKHJNi0WLcyVnk= 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.137.89 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 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 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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