aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2022-02-06 19:35:41 +0100
committerSebastian Reichel <[email protected]>2022-02-11 19:08:34 +0100
commit445c21d2080f6ffaad3482409fe90e8ed22db6a2 (patch)
treedb992aec95eafa895f72966bc6bff21de610a98b /tools/perf/scripts/python
parent73633ccbba38b9e7bc1ac0527f52cb421beb68f1 (diff)
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions