drivers/media/platform/sunxi/sun4i-csi

Allwinner A10/A20 Camera Sensor Interface (CSI)

The parallel camera sensor interface block built into Allwinner's A10 and A20 application processors, early-2010s ARM SoCs widely used in cheap tablets, set-top boxes, mini-PCs, and hobbyist single-board computers. It captures video frames from an attached image sensor and feeds them to the kernel's video stack.

keep-annotate conf=0.72 deploy=low replacement=none subsystem=media category=media-camera-tv
72%

recommendation

Worth keeping but documenting its niche: the A10 and A20 chips it serves are 2011-2012 vintage and no longer designed into new products, yet the code was still receiving stable-tree fixes as late as November 2024, so it is actively maintained for the community of hobbyists running these older boards. There is no in-tree successor that covers the same hardware, so removing it would strand existing users with no migration path.

repository signals

6 files
1,353 source lines
25 commits, 5y
+65 / −57 lines added / removed, 5y
14 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 25 total · active in 16/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +4 −2 2021-05: 0 commits · +0 −0 2021-06: 1 commit · +9 −7 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 1 commit · +1 −3 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 3 commits · +2 −8 2022-02: 0 commits · +0 −0 2022-03: 2 commits · +2 −1 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: 3 commits · +5 −5 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: 2 commits · +3 −2 2023-02: 2 commits · +5 −5 2023-03: 1 commit · +2 −4 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 · +3 −5 2023-11: 1 commit · +8 −3 2023-12: 1 commit · +1 −1 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: 2 commits · +13 −1 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 1 commit · +1 −1 2024-10: 1 commit · +0 −2 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. lore.kernel.org

    `sun4i_csi.c` was still receiving stable-tree touches in late 2024, indicating ongoing maintenance rather than abandonment.

  2. cateee.net

    LKDDb ties `CONFIG_VIDEO_SUN4I_CSI` specifically to `allwinner,sun4i-a10-csi1` and `allwinner,sun7i-a20-csi0`, limiting supported hardware to A10/A20-era sunxi parts.

  3. en.wikipedia.org

    The A1X family containing A10 is an early-2010s SoC family used in tablets, set-top boxes, mini-PCs, and SBCs; it includes CSI connectivity.

  4. en.wikipedia.org

    Wikipedia lists A10 and A20 as 2011/2012-era Allwinner A-series application processors aimed at tablets/smart TV/mini-PC markets, supporting the view that this is legacy hardware rather than a current-volume platform.

codex reasoning notes (technical)

Local source read via `exec_command` showed the driver only matches `allwinner,sun4i-a10-csi1` and `allwinner,sun7i-a20-csi0`; no in-tree replacement for the same hardware was evident, so `replacement_driver` is null. `lore_file_timeline` on `drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c` showed 2021-2024 activity with 2024 stable backports (source 1), which argues against deprecation/removal now. Web search + open fetched LKDDb (source 2) and Wikipedia pages (sources 3-4); together they show the supported chips are old A10/A20 consumer-era SoCs, so deployments are likely low and new 2025 design wins are unlikely. No concrete removal discussion was found; failed `lore_regex`/`lei` attempts did not produce contradictory evidence.