[PATCH 11/22] cros_ec: Allow reading the battery-charge state

2021-07-05 Thread Simon Glass
Add a function to read this information from the EC. It is useful for determining whether the battery has enough charge to boot. Signed-off-by: Simon Glass --- drivers/misc/cros_ec.c | 17 + include/cros_ec.h | 8 2 files changed, 25 insertions(+) diff --git a/dr

Re: [PATCH 11/22] cros_ec: Allow reading the battery-charge state

2021-07-17 Thread Simon Glass
Add a function to read this information from the EC. It is useful for determining whether the battery has enough charge to boot. Signed-off-by: Simon Glass --- drivers/misc/cros_ec.c | 17 + include/cros_ec.h | 8 2 files changed, 25 insertions(+) Applied to u-bo