aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2023-05-10 12:50:40 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-05-15 23:19:52 +0200
commit28ca77c9bb8c895ed13163d8b74dafdc90cf44e1 (patch)
treefb792cb4d4342bcee49ed44d02dd7e0e5009bafa /tools/perf/scripts/python/stackcollapse.py
parent67fce5963b202acc410776cc180c307192dca9d2 (diff)
power: supply: axp20x_usb_power: Simplify USB current limit handling
Handle the USB current limit with a lookup table and regmap field, which minimizes code duplication. Invalid or unlimited values are denoted by -1 entries, and can't be selected from userspace. Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions