Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: raspberrypi: VIDEO_RASPBERRYPI_PISP_BE should depend on ARCH_BCM2835

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: 12187bd5d4f8 ("media: raspberrypi: Add support for PiSP BE")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: FLorian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

authored by

Geert Uytterhoeven and committed by
Hans Verkuil
c8ad7501 670cb8f8

+1
+1
drivers/media/platform/raspberrypi/pisp_be/Kconfig
··· 2 2 tristate "Raspberry Pi PiSP Backend (BE) ISP driver" 3 3 depends on V4L_PLATFORM_DRIVERS 4 4 depends on VIDEO_DEV 5 + depends on ARCH_BCM2835 || COMPILE_TEST 5 6 select VIDEO_V4L2_SUBDEV_API 6 7 select MEDIA_CONTROLLER 7 8 select VIDEOBUF2_DMA_CONTIG