aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndreas Dannenberg <[email protected]>2015-09-28 17:33:59 -0500
committerSebastian Reichel <[email protected]>2015-09-29 16:54:52 +0200
commit0cfbfde65aec4cd9ae4e7971f8a3e42c69e8e24f (patch)
tree5f0b0cc925d6b0b9b778c52dfbfe1f85bd4ca56c /tools/perf/scripts/python/call-graph-from-postgresql.py
parent138606ffe45511fa774e51df04f6da562ff9c44d (diff)
power: bq24257: Allow input current limit sysfs access
This patch allows reading and writing of the input current limit through the power supply's input_current_limit sysfs property. This allows userspace to see what charger was detected (if the D+/D- USB signal- based charger type detection is enabled) and to re-configure the maximum current drawn from the external supply at runtime based on system-level knowledge or user input. Note that upon charger disconnection and re-connection the limit configured through firmware becomes active again (or the D+/D- USB signal-based charger detection will be run again). Signed-off-by: Andreas Dannenberg <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions