drivers/misc/c2port

Silicon Labs C2 microcontroller programming interface

A small in-kernel framework for talking to Silicon Labs' C2 (Chip-2-wire) programming and debug interface, used to flash and control 8051-family 8-bit microcontrollers from a host Linux system. The only in-tree user is a board glue driver for the Eurotech DuraMAR 2150, a ruggedized mobile router deployed in fleets of buses around 2010-2011.

deprecate conf=0.66 deploy=low replacement=none subsystem=misc category=bus-other
66%

recommendation

A candidate for future removal because the only board it actually supports is the Eurotech DuraMAR 2150, whose major deployments date back to 2011 with no modern hardware adopting this code. Recent commits are limited to janitorial cleanups like strncpy-to-strscpy and sysfs API churn rather than real feature work, and no new in-tree users have appeared. No removal patch series has been posted yet, so deprecation rather than immediate removal is the right next step.

repository signals

4 files
1,167 source lines
7 commits, 5y
+25 / −14 lines added / removed, 5y
5 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 7 total · active in 5/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: 1 commit · +1 −1 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: 1 commit · +1 −1 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: 2 commits · +20 −9 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: 1 commit · +1 −1 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: 2 commits · +2 −2 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent upstream activity exists, but it is small-scale API churn ('Calculate bin_attribute size through group callback') rather than evidence of active feature work or broad user demand.

  2. lore.kernel.org

    Another recent touch was a one-line hardening cleanup ('replace deprecated strncpy with strscpy'), reinforcing that current maintenance is mostly janitorial.

  3. silabs.com

    Silicon Labs still documents C2 as a programming/debug interface for some 8-bit MCU flows, so the underlying protocol is not wholly extinct.

  4. eurotech.com

    Eurotech's DuraMAR 2150 had real fleet deployment history (about 1,300 buses installed in 2011), which supports legacy field presence but points to an old, embedded/transport niche rather than new mainstream deployment.

codex reasoning notes (technical)

Local tree inspection via shell showed this directory is a real driver: generic C2 core plus the only in-tree client, c2port-duramar2150, for Eurotech DuraMAR 2150. lore_file_timeline on drivers/misc/c2port/core.c showed recent touches through 2025, but they are treewide API cleanups; cited lore URLs came from lore_file_timeline output. Web search found Silicon Labs still documents C2, so some niche legacy ecosystem remains, but the Linux-supported board here appears tied to old DuraMAR 2150 transport hardware with historical 2011 deployments and no clear modern replacement driver. No concrete removal series was found in the lore evidence gathered. That supports deprecate rather than remove.