diff options
author | Kate Hsuan <hpa@redhat.com> | 2024-05-31 14:41:19 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-05-31 14:55:44 +0300 |
commit | f14aa5ea415b8add245e976bfab96a12986c6843 (patch) | |
tree | 5fc3eed124c07a7cd05a7d9b0178a11d67a98799 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
download | linux-f14aa5ea415b8add245e976bfab96a12986c6843.tar.xz |
leds: rgb: leds-ktd202x: Get device properties through fwnode to support ACPI
This LED controller is installed on a Xiaomi pad2 and it is an x86
platform. The original driver is based on the device tree and can't be
used for this ACPI based system. This patch migrated the driver to use
fwnode to access the properties. Moreover, the fwnode API supports the
device tree so this work won't affect the original implementations.
Signed-off-by: Kate Hsuan <hpa@redhat.com>
Tested-by: André Apitzsch <git@apitzsch.eu> # on BQ Aquaris M5
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240531114124.45346-2-hdegoede@redhat.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions