drivers/platform/surface

Microsoft Surface platform integration and System Aggregator Module

Glue code for Microsoft Surface laptops, tablets, and 2-in-1s, covering everything from 5th-generation Surface devices onward. It talks to the Surface System Aggregator Module, the embedded controller Microsoft uses to expose batteries, thermals, platform profiles, tablet-mode and keyboard-detachment events, and similar laptop-specific functions that aren't handled through standard ACPI.

keep conf=0.88 deploy=medium replacement=none subsystem=platform category=platform-vendor
88%

recommendation

It should stay in the kernel because Microsoft is still selling new Surface Laptop and Surface Pro hardware in 2025, and the subtree is what makes Surface-specific features like the embedded controller, platform profiles, tablet-mode switches, and keyboard detachment work under Linux. Upstream activity is healthy, with substantive 2024 and 2025 patches modernizing the aggregator stack and adding device-tree support, and no other driver covers the same Surface-specific firmware interface.

repository signals

29 files
16,147 source lines
142 commits, 5y
+3,506 / −1,653 lines added / removed, 5y
36 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 142 total · active in 40/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 5 commits · +19 −46 2021-06: 13 commits · +840 −148 2021-07: 1 commit · +1 −3 2021-08: 3 commits · +8 −24 2021-09: 0 commits · +0 −0 2021-10: 8 commits · +103 −50 2021-11: 0 commits · +0 −0 2021-12: 1 commit · +7 −1 2022-01: 3 commits · +8 −13 2022-02: 2 commits · +10 −258 2022-03: 0 commits · +0 −0 2022-04: 2 commits · +9 −1 2022-05: 6 commits · +330 −142 2022-06: 8 commits · +1,201 −524 2022-07: 2 commits · +14 −2 2022-08: 10 commits · +66 −58 2022-09: 1 commit · +2 −1 2022-10: 0 commits · +0 −0 2022-11: 4 commits · +58 −6 2022-12: 10 commits · +144 −66 2023-01: 2 commits · +5 −12 2023-02: 0 commits · +0 −0 2023-03: 4 commits · +145 −41 2023-04: 0 commits · +0 −0 2023-05: 4 commits · +12 −2 2023-06: 1 commit · +1 −1 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 8 commits · +21 −27 2023-10: 1 commit · +1 −2 2023-11: 1 commit · +4 −1 2023-12: 5 commits · +13 −40 2024-01: 2 commits · +9 −2 2024-02: 0 commits · +0 −0 2024-03: 2 commits · +107 −24 2024-04: 0 commits · +0 −0 2024-05: 1 commit · +28 −14 2024-06: 0 commits · +0 −0 2024-07: 1 commit · +2 −2 2024-08: 7 commits · +212 −45 2024-09: 2 commits · +18 −3 2024-10: 1 commit · +9 −9 2024-11: 0 commits · +0 −0 2024-12: 4 commits · +14 −8 2025-01: 6 commits · +30 −30 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +4 −1 2025-04: 1 commit · +1 −1 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: 1 commit · +1 −1 2025-11: 3 commits · +4 −15 2025-12: 2 commits · +21 −3 2026-01: 1 commit · +5 −6 2026-02: 2 commits · +19 −20 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Upstream work remained active in 2024, including substantial platform/surface changes adding OF support to the Surface aggregator stack.

  2. lore.kernel.org

    Upstream maintenance continued in 2025 with API modernization of surface_platform_profile to devm_platform_profile_register().

  3. microsoft.com

    Microsoft was still marketing current Surface Laptop and Surface Pro business models, indicating the hardware family was still sold new in 2025/2026.

codex reasoning notes (technical)

Keep: this is an active platform driver subtree for Microsoft Surface devices, not legacy abandonware. Local Kconfig inspection via shell showed support for 5th-generation-and-later Surface systems and current features like platform profile, hot-plug, tablet switch, and detachment. Lore evidence was obtained with mcp__lore_http__.lore_activity on drivers/platform/surface/aggregator/core.c and drivers/platform/surface/surface_platform_profile.c; it showed substantive 2024-2025 work rather than removal prep. A lore removal-regex probe timed out, so absence of removal discussion is not proven, but the positive maintenance signal is strong. Market/deployment evidence came from web search on microsoft.com showing currently sold Surface Laptop and Surface Pro lines. No natural replacement driver covers the same Surface-specific EC/ACPI functionality, so deprecation/removal is not indicated.