diff options
author | Jean-Francois Dagenais <jeff.dagenais@gmail.com> | 2020-05-13 21:56:11 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2020-05-29 01:39:34 +0300 |
commit | 182fc88268f3e33fb81cbb373b30d656daf0cb48 (patch) | |
tree | fbb02955e33f33475c314eea236d4905612e229d /fs/romfs | |
parent | f0318bc99c8107acddde3aa99a7f696c0999f37c (diff) | |
download | linux-182fc88268f3e33fb81cbb373b30d656daf0cb48.tar.xz |
power: supply: sbs-battery: add ability to disable charger broadcasts
In certain designs, it is possible to add a battery on a populated i2c
bus without an sbs compliant charger. In that case, the battery will
unnecessarily and sometimes undesirably master the bus trying to write
info in the charger.
It is observed in many occasion that these battery "broadcasts" are even
corrupting other ongoing master to slave communication. I.e. the
multi-master support in the battery is inadequate.
Thankfully, the CHARGER_MODE bit allows designers to disable that SBS
battery behaviour.
This needs to be done once when the battery is first seen on the bus.
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
[rebased code]
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions