]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: synopsys: VIDEO_DW_MIPI_CSI2RX should depend on ARCH_ROCKCHIP
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Jan 2026 19:10:09 +0000 (20:10 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 11 Mar 2026 00:05:38 +0000 (01:05 +0100)
The Synopsys DesignWare MIPI CSI-2 Receiver is currently only supported
on Rockchip RK3568 SoCs.  Hence add a dependency on ARCH_ROCKCHIP, to
prevent asking the user about this driver when configuring a kernel
without Rockchip platform support.

The dependency can be relaxed later, when adding support for appropriate
SoCs from other vendors (if any).

Fixes: 355a110040665e43 ("media: synopsys: add driver for the designware mipi csi-2 receiver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Michael Riesch <michael.riesch@collabora.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/synopsys/Kconfig

index e798ec00b1897560c7106849a41efa1604d857b3..8d0f5e3e8cd58eab2769d5703eff0c6015e24c10 100644 (file)
@@ -4,6 +4,7 @@ source "drivers/media/platform/synopsys/hdmirx/Kconfig"
 
 config VIDEO_DW_MIPI_CSI2RX
        tristate "Synopsys DesignWare MIPI CSI-2 Receiver"
+       depends on ARCH_ROCKCHIP || COMPILE_TEST
        depends on VIDEO_DEV
        depends on V4L_PLATFORM_DRIVERS
        depends on PM && COMMON_CLK