Skip to content
Commit 0b57e2e4 authored by Kate Hsuan's avatar Kate Hsuan Committed by Hans de Goede
Browse files

platform/x86: x86-android-tablets: Xiaomi pad2 RGB LED fwnode updates



Xiaomi pad2 RGB LED fwnode updates:

1. Set "label" instead "function" to change the LED classdev name from
   "rgb:indicator" to "mipad2:rgb:indicator" to match the usual
   triplet name format for LED classdevs.

2. Set the trigger to the new "bq27520-0-charging-orange-full-green"
   powersupply trigger type for multi-color LEDs.

3. Put the fwnode link for red before green in ktd2026_node_group[] so that
   multi_index becomes "red green blue".

Signed-off-by: default avatarKate Hsuan <hpa@redhat.com>
Reviewed-by: default avatarAndy Shevchenko <andy@kernel.org>
Co-developed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240504164105.114017-8-hdegoede@redhat.com
parent 492b1194
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment