diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2021-02-03 21:57:13 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-04 10:21:43 +0100 |
commit | 6b49dea4fd9c539f5fea61f6a203ec1349292a26 (patch) | |
tree | 66adafd36fe512a52e2e7b3a44cbfcde326f1269 /drivers/platform/surface/aggregator/ssh_packet_layer.c | |
parent | 503325f84bc0ee3a07b0831ee59d6eae84cfa695 (diff) |
platform/x86: ideapad-laptop: add "always on USB charging" control support
Certain models have a so-called "always on USB charging" feature,
which enables USB charging even when the computer is turned off
or suspended, and which may be controlled/queried using the
SALS/HALS ACPI methods. Expose this functionality via a new device
attribute (usb_charging). Tested on: Lenovo YOGA 520-14IKB 80X8
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-28-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.c')
0 files changed, 0 insertions, 0 deletions