summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-platform-asus-wmi
diff options
context:
space:
mode:
authorLuke D. Jones <luke@ljones.dev>2023-06-30 08:35:45 +0300
committerHans de Goede <hdegoede@redhat.com>2023-07-12 18:01:31 +0300
commit77ee9d299e6d69a75e9a3e15a1f09cd7c8f88ff0 (patch)
treebd27641279e5d311cf342d8ec0355eb1a92de799 /Documentation/ABI/testing/sysfs-platform-asus-wmi
parent9204fc5071bf8b237d455e0c271c37729682a7ff (diff)
downloadlinux-77ee9d299e6d69a75e9a3e15a1f09cd7c8f88ff0.tar.xz
platform/x86: asus-wmi: add support for showing charger mode
Expose a WMI method in sysfs platform for showing which connected charger the laptop is currently using. Signed-off-by: Luke D. Jones <luke@ljones.dev> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230630053552.976579-2-luke@ljones.dev Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-platform-asus-wmi')
-rw-r--r--Documentation/ABI/testing/sysfs-platform-asus-wmi10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi b/Documentation/ABI/testing/sysfs-platform-asus-wmi
index a77a004a1baa..eb29e3023c7b 100644
--- a/Documentation/ABI/testing/sysfs-platform-asus-wmi
+++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi
@@ -98,3 +98,13 @@ Description:
Enable an LCD response-time boost to reduce or remove ghosting:
* 0 - Disable,
* 1 - Enable
+
+What: /sys/devices/platform/<platform>/charge_mode
+Date: Jun 2023
+KernelVersion: 6.5
+Contact: "Luke Jones" <luke@ljones.dev>
+Description:
+ Get the current charging mode being used:
+ * 1 - Barrel connected charger,
+ * 2 - USB-C charging
+ * 3 - Both connected, barrel used for charging \ No newline at end of file