aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAndreas Kemnade <[email protected]>2020-08-28 13:49:06 +0200
committerSebastian Reichel <[email protected]>2020-08-28 17:34:38 +0200
commit1426dffad0dd64af9b1fee810171feb485f9c2b2 (patch)
treeeb7f417c6b98ba80e81056fbecd0204024628e2f /scripts/gcc-plugins/cyc_complexity_plugin.c
parent395a7251dc2bf5eed2aab6960720a270b364871e (diff)
power: supply: Add support for RN5T618/RC5T619 charger and fuel gauge
Both chips have charger and a fuel gauge. This adds basic support for displaying the state of the battery and the input power, settings are not modified. There are some defaults set via OTP. Charging also starts after plugging USB. Known issues of the fuel gauge: There are drivers in the wild which disable the fuel gauge at shutdown. If a kernel is booted without fuel gauge support, after such a driver has been used, the fuel gauge will stay off and decalibrate. If this driver is used after that, it might display wrong values for charge level. Signed-off-by: Andreas Kemnade <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions