drivers/misc/keba

KEBA CP500 industrial PLC system FPGA and LAN9252 EtherCAT support

Vendor-specific support for KEBA's CP500-family programmable logic controllers, industrial control units sold under the KeControl C5 line (CP 505/x and CP 520/x). The code talks to a system FPGA over PCIe and to a Microchip LAN9252 EtherCAT slave controller used on those boards for factory automation and machine control.

keep conf=0.92 deploy=low replacement=none subsystem=misc category=platform-vendor
92%

recommendation

It should stay because the directory is new (added in 2024), actively maintained with follow-up bug fixes, and KEBA still sells the CP 505/x and CP 520/x controllers it enables as of 2025. No generic upstream driver covers this board-specific hardware, so removing it would simply break a shipping industrial product.

repository signals

4 files
1,348 source lines
16 commits, 5y
+1,457 / −79 lines added / removed, 5y
5 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 16 total · active in 7/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: 1 commit · +473 −0 2024-07: 1 commit · +1 −0 2024-08: 1 commit · +4 −10 2024-09: 0 commits · +0 −0 2024-10: 9 commits · +923 −35 2024-11: 1 commit · +1 −0 2024-12: 1 commit · +45 −24 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: 2 commits · +10 −10 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lkml.org

    Post-merge upstream maintenance continued in late 2024 with a bug fix for module unload in the KEBA misc driver.

  2. lwn.net

    The upstream patch series introduced KEBA CP500 support as PCIe-FPGA-based support for KEBA PLCs, showing the driver is for real industrial hardware rather than dead legacy code.

  3. lkml.org

    The LAN9252 companion driver was added in October 2024 for KEBA CP500 devices, indicating recent feature growth rather than deprecation.

  4. keba.com

    KEBA's current product page still lists CP 505/x and CP 520/x-class KeControl C5 control units, consistent with CP500-family hardware still being sold in 2025.

codex reasoning notes (technical)

Real driver directory: contains PCI/SPI driver code and Kconfig entries for KEBA_CP500 and KEBA_LAN9252. Local `rg`/file read showed cp500.c and lan9252.c are hardware drivers. Local `git -c safe.directory=... log -- drivers/misc/keba` showed the directory was introduced in 2024 and had a substantive fix on 2024-12-14, with only later 2026 touches being treewide allocator churn, so it is young and still maintained. Lore MCP was unavailable and `lei` was missing, so lore history was approximated via web search to LKML/LWN pages: web search found the initial upstreaming series and the later bug-fix patch; no removal/deprecation discussion was found in those lore-oriented searches. The KEBA product page was obtained via web search and shows CP 505/x and CP 520/x in the live catalog, so hardware is still sold new in 2025. Industrial PLC/controller hardware is real but niche, so deployments today are low rather than medium/high. No natural upstream replacement driver exists; this is board/vendor-specific enablement for KEBA CP500 hardware.