]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
power: supply: add Huawei Matebook E Go psy driver
authorPengyu Luo <mitltlatltl@gmail.com>
Thu, 13 Mar 2025 10:34:35 +0000 (18:34 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 30 Apr 2025 22:34:12 +0000 (00:34 +0200)
commitcfe769670e82c2bdd1cd8b6e4dbe8614b6429211
treec1feb066e9fbef19af4734ed665039e10ea71615
parentfbc1d056d3f3d417bc9df521cb45a0f51758b64a
power: supply: add Huawei Matebook E Go psy driver

On the Huawei Matebook E Go tablet the EC provides access to the adapter
and battery status. Add the driver to read power supply status on the
tablet.

This driver is inspired by the following drivers:
        drivers/power/supply/lenovo_yoga_c630_battery.c
        drivers/platform/arm64/acer-aspire1-ec.c
        drivers/acpi/battery.c
        drivers/acpi/ac.c

base-commit: 613af589b566093ce7388bf3202fca70d742c166

Signed-off-by: Pengyu Luo <mitltlatltl@gmail.com>
Link: https://lore.kernel.org/r/20250313103437.108772-1-mitltlatltl@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/ABI/testing/sysfs-class-power-gaokun [new file with mode: 0644]
MAINTAINERS
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/huawei-gaokun-battery.c [new file with mode: 0644]