commit | 79bcd5a4a66076a8a8dacd7f4a3be1952283aef4 | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Wed May 13 20:56:04 2020 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Fri May 29 00:39:16 2020 +0200 |
tree | e428a5180447805819165e87d40029c5c52ff7fa | |
parent | c4b12a2f3f3de670f6be5e96092a2cab0b877f1a [diff] |
power: supply: sbs-battery: add PEC support SBS batteries optionally have support for PEC. This enables PEC handling based on the implemented SBS version as suggested by the standard. The support for PEC is re-evaluated when the battery is hotplugged into the system, since there might be systems supporting batteries from different SBS generations. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>