]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: lenovo_yoga_c630_battery: add Lenovo C630 driver
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 20 Jun 2024 22:23:51 +0000 (01:23 +0300)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 26 Jun 2024 13:37:14 +0000 (15:37 +0200)
commitdb9cc848128eb174b24a5dff82fc3e7589a3bf25
tree97c8e1059239b20d4e418bd4b522193c365c871c
parent427eb7854e13a56b3cdc7d8bfb38c3d4eb865a02
power: supply: lenovo_yoga_c630_battery: add Lenovo C630 driver

On the Lenovo Yoga C630 WOS laptop the EC provides access to the adapter
and battery status. Add the driver to read power supply status on the
laptop.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240621-yoga-ec-driver-v8-1-daae67d0233d@linaro.org
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/lenovo_yoga_c630_battery.c [new file with mode: 0644]