summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2021-06-16 11:51:24 -0700
committerSebastian Reichel <sre@kernel.org>2021-07-16 15:54:34 +0200
commit56d629af09b9d4db9792257165844287ecce0a98 (patch)
treeea61aeac6953176b43166d979b1d2062bc71691e /tools/perf/scripts/python/flamegraph.py
parent5176a18bb5e1596d46c34c4700ac67b74f88f704 (diff)
downloadcachepc-linux-56d629af09b9d4db9792257165844287ecce0a98.tar.gz
cachepc-linux-56d629af09b9d4db9792257165844287ecce0a98.zip
power: supply: PCHG: Peripheral device charger
This patch adds a driver for PCHG (Peripheral CHarGer). PCHG is a framework managing power supplies for peripheral devices. This driver creates a sysfs node for each peripheral charge port: /sys/class/power_supply/peripheral<n> where <n> is the index of a charge port. For example, when a stylus is connected to a NFC/WLC port, the node returns: /sys/class/power_supply/peripheral0/ capacity=50 charge_type=Standard scope=Device status=Charging type=Battery Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions