1 # SPDX-License-Identifier: GPL-2.0
2 menuconfig BCM_VIDEOCORE
3 tristate "Broadcom VideoCore support"
5 depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
8 Support for Broadcom VideoCore services including
9 the BCM2835 family of products which is used
15 tristate "BCM2835 VCHIQ"
18 Broadcom BCM2835 and similar SoCs have a VPU called VideoCore. This config
19 enables the VCHIQ driver, which implements a messaging interface between
20 the kernel and the firmware running on VideoCore. Other drivers use this
21 interface to communicate to the VPU. More specifically, the VCHIQ driver is
22 used by audio/video and camera drivers as well as for implementing MMAL
23 API, which is in turn used by several multimedia services on the BCM2835
25 Defaults to Y when the Broadcom Videocore services are included in
26 the build, N otherwise.
31 bool "VCHIQ Character Driver"
33 Enable the creation of VCHIQ character driver. The cdev exposes ioctls used
34 by userspace libraries and testing tools to interact with VideoCore, via
35 the VCHIQ core driver (Check BCM2835_VCHIQ for more info).
36 This can be set to 'N' if the VideoCore communication is not needed by
37 userspace but only by other kernel modules (like bcm2835-audio). If not
38 sure, set this to 'Y'.
42 source "drivers/staging/vc04_services/bcm2835-audio/Kconfig"
44 source "drivers/staging/vc04_services/bcm2835-camera/Kconfig"
46 source "drivers/staging/vc04_services/vchiq-mmal/Kconfig"