diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2021-06-16 11:51:24 -0700 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2021-07-16 15:54:34 +0200 |
commit | 56d629af09b9d4db9792257165844287ecce0a98 (patch) | |
tree | ea61aeac6953176b43166d979b1d2062bc71691e /fs/affs/super.c | |
parent | 5176a18bb5e1596d46c34c4700ac67b74f88f704 (diff) | |
download | linux-56d629af09b9d4db9792257165844287ecce0a98.tar.gz |
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 'fs/affs/super.c')
0 files changed, 0 insertions, 0 deletions