Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: supply: Add Lenovo Yoga C630 EC driver
The Qualcomm Snapdragon-based Lenovo Yoga C630 has some sort of EC providing AC-adapter and battery status, as well as USB Type-C altmode notifications for Displayport operation. The Yoga C630 ships with Windows, where these operations primarily are implemented in ACPI, but due to various issues with the hardware representation therein it's not possible to run Linux on this information. As such this is a best-effort re-implementation of these operations, based on the register map expressed in ACPI and a fair amount of trial and error. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
- Loading branch information