commit | 7222bd603dd2fe607794acd0c53025da1dbde21f | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Sat Jun 06 01:06:25 2020 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Fri Jun 19 18:39:43 2020 +0200 |
tree | 21670d30da79b210ebc9a48bd3093391d68caa46 | |
parent | 05e0430971543e6aeb328df1226dc52930171445 [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. Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>