General-purpose input/output pins are the simple digital signal lines exposed by SoCs, embedded boards, and I2C/SPI expander chips, used to drive LEDs, read buttons, and wire up sensors. This directory contains the Linux GPIO subsystem and per-chip drivers covering everything from Raspberry Pi headers to industrial controllers.
It should stay in the kernel because this is the active GPIO subsystem itself, not a legacy driver. The tree saw nearly 2,000 substantive commits from over 300 authors in the last five years, MAINTAINERS lists it as actively maintained, and GPIO-bearing hardware ships in volume today on everything from Raspberry Pi headers to industrial SoCs.
repository signals
225files
91,711source lines
1,977commits, 5y
+44,494 / −23,762lines added / removed, 5y
344authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 1,977 total · active in 61/61 months
Kernel documentation describes GPIO as a current, broad subsystem with controller-driver APIs (`gpio_chip`), IRQ integration, DT/ACPI mappings, and active driver documentation.
Current Raspberry Pi boards still expose a 40-pin GPIO header, showing GPIO-backed hardware remains in new products and deployments.
codex reasoning notes (technical)
Keep: this is the live GPIO subsystem, not a niche legacy driver. Prompt-provided history already shows very high recent churn (1954 substantive commits in 5y, most recent 2026-04-10, 326 authors), which is inconsistent with deprecation/removal. Local shell inspection of MAINTAINERS confirmed `drivers/gpio/` is explicitly marked Maintained; cited MAINTAINERS URL is canonical recall of the kernel.org tree page corresponding to that local file. Kernel docs URL was obtained via web search (`turn0search0`). Raspberry Pi deployment URL was obtained via web search (`turn0search4`). I attempted lore removal-discussion queries (`lore_regex`) but they timed out, and `lei` was blocked by the sandbox socket restriction; with no positive removal signal and strong active-maintenance/deployment evidence, `keep` is the defensible recommendation.