Expose a WMI method in sysfs platform for showing which connected charger the laptop is currently using.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -95,6 +95,9 @@ · 94 unmodified lines | |||
| 95 | /* Keyboard dock */ | 95 | /* Keyboard dock */ |
| 96 | #define ASUS_WMI_DEVID_KBD_DOCK 0x00120063 | 96 | #define ASUS_WMI_DEVID_KBD_DOCK 0x00120063 |
| 97 | 97 | ||
| 98 | /* Charging mode - 1=Barrel, 2=USB */ | ||
| 99 | #define ASUS_WMI_DEVID_CHARGE_MODE 0x0012006C | ||
| 100 | |||
| 98 | /* dgpu on/off */ | 101 | /* dgpu on/off */ |
| 99 | #define ASUS_WMI_DEVID_EGPU 0x00090019 | 102 | #define ASUS_WMI_DEVID_EGPU 0x00090019 |
| 100 | 103 | ||