[PATCH v1 0/2] power: supply: Add support for Surface RT battery and charger

From: Svyatoslav Ryhel

Date: Sat Apr 25 2026 - 14:20:17 EST


Add support for Embedded Controller found in the Microsoft Surface RT and
used to monitor battery cell and charger input status and properties.
Controller works both for UEFI and APX booting.

Jonas Schwöbel (1):
power: supply: Add support for Surface RT battery and charger

Svyatoslav Ryhel (1):
dt-bindings: embedded-controller: Document Surface RT EC

.../microsoft,surface-rt-ec.yaml | 63 +++
drivers/power/supply/Kconfig | 11 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/surface-rt-ec.c | 415 ++++++++++++++++++
4 files changed, 490 insertions(+)
create mode 100644 Documentation/devicetree/bindings/embedded-controller/microsoft,surface-rt-ec.yaml
create mode 100644 drivers/power/supply/surface-rt-ec.c

--
2.51.0