summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-02-06 21:35:41 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-02-11 21:08:34 +0300
commit445c21d2080f6ffaad3482409fe90e8ed22db6a2 (patch)
treedb992aec95eafa895f72966bc6bff21de610a98b /tools/perf/scripts/python/net_dropmonitor.py
parent73633ccbba38b9e7bc1ac0527f52cb421beb68f1 (diff)
downloadlinux-445c21d2080f6ffaad3482409fe90e8ed22db6a2.tar.xz
power: supply: bq24190_charger: Program charger with fwnode supplied ccc_ireg and cvc_vreg
So far the bq24190_charger driver has been relying on either the chips default constant_charge_current_max_ua and constant_charge_voltage_max_uv values, or on the BIOS or bootloader to program these for us. This does not happen on all boards, causing e.g. the wrong (too low) values to be used on Lenovo Yoga Tablet 2 830F/L and 1050F/L tablets. If power_supply_get_battery_info() provides us with values for these settings, then program the charger accordingly. And if the user later overrides these values then save the user-values so that these will be restored after a suspend/resume. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions