drivers/platform/raspberrypi/vchiq-mmal

Raspberry Pi VideoCore VCHIQ MMAL camera transport

The kernel-side transport that lets Raspberry Pi boards based on Broadcom's BCM2835/VideoCore SoCs talk to the GPU's MMAL multimedia firmware, primarily to drive the original CSI camera modules through the older V4L2 camera interface. It powered the classic "raspistill/raspivid" camera workflow on Pi 1 through Pi 3-era boards before the libcamera-based stack took over.

keep-annotate conf=0.78 deploy=low replacement=none subsystem=platform category=media-camera-tv
78%

recommendation

Worth keeping but documenting as a legacy path. Upstream chose to destage rather than delete it in October 2025, and Raspberry Pi boards with CSI camera connectors (such as the Zero 2 W, with production committed through at least 2030) remain on sale. However, Raspberry Pi itself now treats this MMAL-based stack as the deprecated, unsupported way to use Pi cameras, having moved users to the libcamera/rpicam stack, so real-world deployments are dwindling and a clear "legacy" annotation would help packagers and admins.

repository signals

11 files
3,720 source lines
3 commits, 5y
+3,735 / −4 lines added / removed, 5y
3 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 3 total · active in 2/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 1 commit · +3,731 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +4 −4 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    Upstream discussion in October 2025 was to destage/move the VCHIQ MMAL driver into drivers/platform/raspberrypi, indicating active maintenance rather than removal.

  2. raspberrypi.com

    Raspberry Pi documents the legacy camera stack as deprecated for many years and now unsupported; newer camera support is through the libcamera/rpicam stack instead.

  3. raspberrypi.com

    Raspberry Pi Zero 2 W was still sold with CSI camera support and an obsolescence statement extending production to at least January 2030.

  4. raspberrypi.com

    Official Raspberry Pi camera documentation lists current camera modules and positions modern camera support around the newer libcamera-based stack.

codex reasoning notes (technical)

Real driver, not an asset/helper-only dir: local `exec_command` inspection showed Kconfig+Makefile and MMAL/VCHIQ transport code for the BCM2835 V4L2 camera path. Local `git show`/`git log` found only a 2025 destaging commit plus two 2026 treewide allocator cleanups, so recent substantive churn is low; however the 2025 patch thread URL was obtained via `web.search_query` and shows upstream chose to keep/destage it, not remove it. Raspberry Pi camera-software and camera-hardware pages were obtained via `web.search_query`; they show the legacy MMAL-based stack is deprecated/unsupported while Raspberry Pi camera-capable boards remain on sale. Conclusion: keep in-tree but annotate as legacy/low-deployment rather than deprecate/remove.