diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-02-01 14:07:05 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2022-02-01 14:55:12 +0100 |
commit | 66e31186cd2aa7ee325b64555321e2ba06f141ab (patch) | |
tree | 29f4409dfc401421e77a9f0306cdcd31243fc501 /block/blk-map.c | |
parent | 73b5ae341588ddb6480dff5471e66e4016be26a0 (diff) | |
download | linux-66e31186cd2aa7ee325b64555321e2ba06f141ab.tar.bz2 |
extcon: intel-cht-wc: Add support for registering a power_supply class-device
The bq25890 used on the Yogabook YB1-X90 / -X91 models relies on
the extcon-driver's BC-1.2 charger detection, and the bq25890 driver
expect this info to be available through a parent power_supply
class-device which models the detected charger (idem to how the Type-C
TCPM code registers a power_supply classdev for the connected charger).
Add support for registering the power_supply class-device expected
by this setup.
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions