Skip to content

power: supply: Add support for Surface RT battery and charger

Svyatoslav Ryhel linux-devicetree linux-pm lkml 4 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesApplied
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Changes in v4 from the cover letter

- fixed REGS_TECHNOLOGY read size

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: embedded-controller: Document Surface RT ECDocumentation/devicetree/bindings/embedded-controller/microsoft,surface-rt-ec.yaml+63 -01 reply
2/2power: supply: Add support for Surface RT battery and chargerdrivers/power/supply/Kconfig drivers/power/supply/Makefile drivers/power/supply/surface-rt-ec.c+401 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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.

---
Changes in v4:
- fixed REGS_TECHNOLOGY read size

Changes in v3:
- fixed i2c_smbus_read_i2c_block_data read size

Changes in v2:
- srt_bat_get_string > i2c_smbus_read_i2c_block_data
- added devm_kasprintf return check
---

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          | 389 ++++++++++++++++++
 4 files changed, 464 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/embedded-controller/microsoft,surface-rt-ec.yaml
 create mode 100644 drivers/power/supply/surface-rt-ec.c
Signature · 1 line
2.51.0