diff options
author | Kate Hsuan <hpa@redhat.com> | 2024-03-22 11:37:31 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-08 15:22:22 +0200 |
commit | fcc6220ddc7e54d8442287273d0cb8c415ada022 (patch) | |
tree | 54ff69b05badfda7f0340da7372b22618088f720 /drivers/platform/x86/quickstart.c | |
parent | fe7af61159b85c2e78b4626be282e7fc9c487d46 (diff) |
platform/x86: x86-android-tablets: Add swnode for Xiaomi pad2 indicator LED
There is a KTD2026 LED controller to manage the indicator LED for Xiaomi
pad2. The ACPI for it is not properly made so the kernel can't get
a correct description of it.
This work adds a description for this RGB LED controller and also sets
a trigger to indicate the charging event (bq27520-0-charging). When it
is charging, the indicator LED will be turned on.
Signed-off-by: Kate Hsuan <hpa@redhat.com>
Link: https://lore.kernel.org/r/20240322033736.9344-2-hpa@redhat.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/quickstart.c')
0 files changed, 0 insertions, 0 deletions