diff options
author | Artur Weber <[email protected]> | 2024-08-16 10:19:09 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2024-08-27 18:54:42 +0200 |
commit | ba7e053ec89f61be9d27bfb244de52849b5138aa (patch) | |
tree | 67cab61f987828c26b51e8be3bc4ccb88e42e538 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3a3acf839b2cedf092bdd1ff65b0e9895df1656b (diff) |
power: supply: max77693: Expose input current limit and CC current properties
There are two charger current limit registers:
- Fast charge current limit (which controls current going from the
charger to the battery);
- CHGIN input current limit (which controls current going into the
charger through the cable).
Add the necessary functions to retrieve the CHGIN input limit (from CHARGER
regulator) and maximum fast charge current values, and expose them as power
supply properties.
Tested-by: Henrik Grimler <[email protected]>
Signed-off-by: Artur Weber <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions