Re: [PATCH 0/2] power: supply: Lenovo Yoga C630 EC

From: Steev Klimaszewski
Date: Wed Aug 10 2022 - 00:05:10 EST



On 8/9/22 10:04 PM, Bjorn Andersson wrote:
This adds binding and driver for the Lenovo Yoga C630 Embedded Controller, to
provide battery information and DisplayPort support.

Bjorn Andersson (2):
dt-bindings: power: supply: Add Lenovo Yoga C630 EC
power: supply: Add Lenovo Yoga C630 EC driver

.../power/supply/lenovo,yoga-c630-ec.yaml | 88 +++
drivers/power/supply/Kconfig | 11 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/yoga-c630-ec.c | 547 ++++++++++++++++++
4 files changed, 647 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/lenovo,yoga-c630-ec.yaml
create mode 100644 drivers/power/supply/yoga-c630-ec.c

It will be so nice to drop the "some-battery" patches that I've been carrying in my kernel sources since 5.7 :D

Tested-by: Steev Klimaszewski <steev@xxxxxxxx>