drivers/media/platform/sunxi/sun6i-mipi-csi2

Allwinner A31 MIPI CSI-2 camera receiver

Handles the MIPI CSI-2 camera serial interface block found on Allwinner's A31, V3s, and related sun6i-family ARM SoCs, which shipped in tablets and embedded boards from roughly 2012 to 2014. It feeds image data from a MIPI camera sensor into the SoC's sun6i-csi capture pipeline so the system can grab video frames.

keep-annotate conf=0.76 last_sold=2014 deploy=low replacement=none subsystem=media category=media-camera-tv
76%

recommendation

Worth keeping but worth flagging as a niche, low-deployment driver. The code is relatively new upstream (added in 2022) and pairs with the existing sun6i-csi capture pipeline, so it is not abandoned legacy baggage; however, the underlying A31-class Allwinner SoCs date to 2012-2014 and survive mainly in hobbyist boards and older embedded gear, so ongoing demand is modest.

repository signals

5 files
899 source lines
17 commits, 5y
+956 / −38 lines added / removed, 5y
9 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 17 total · active in 11/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: 1 commit · +895 −0 2022-06: 0 commits · +0 −0 2022-07: 2 commits · +5 −3 2022-08: 2 commits · +17 −5 2022-09: 3 commits · +17 −8 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 1 commit · +2 −3 2023-01: 0 commits · +0 −0 2023-02: 2 commits · +5 −5 2023-03: 2 commits · +3 −5 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −1 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 1 commit · +4 −4 2023-11: 1 commit · +7 −3 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: 1 commit · +1 −1 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: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lwn.net

    April 15, 2022 patch series added the Allwinner A31 MIPI CSI-2 controller driver and related bindings/MAINTAINERS entries, showing the driver is relatively new upstream code rather than abandoned legacy baggage.

  2. lwn.net

    November 28, 2020 series describes the A31 MIPI CSI-2 controller as used on A31, V3s and probably V5, and includes V4L2 compliance results for the sun6i-csi + sun6i-mipi-csi2 pipeline.

  3. cateee.net

    LKDDb shows CONFIG_VIDEO_SUN6I_MIPI_CSI2 has been present from Linux 6.0 through current HEAD and matches DT compatible allwinner,sun6i-a31-mipi-csi2.

  4. linux-sunxi.org

    linux-sunxi documents the Allwinner A31 as a sun6i SoC released in December 2012.

  5. prnewswire.com

    Allwinner was still publicly marketing A31/A31s tablets in early 2014, supporting 2014 as roughly the tail end of wide new-device availability.

codex reasoning notes (technical)

Local source inspection via `rg`/`sed` showed this directory is a real platform driver with `module_platform_driver()` and only `allwinner,sun6i-a31-mipi-csi2` in its OF match table. Local `git log` showed the driver was introduced in 2022 and last touched in 2023, with only small API-adaptation fixes afterward; that argues against immediate removal but also against strong ongoing demand. Lore MCP was unavailable and `lei` was not installed, so lore history was approximated with web search results on LWN's mailing-list mirrors; those showed introduction/support discussions but no removal series. Deployment judgment is an inference from the cited A31 release/market-window sources plus the lack of a newer replacement driver for this exact block: the hardware is old and likely limited to legacy/embedded boards, so keep the driver but annotate it as low-deployment rather than deprecate/remove.