]> Git Repo - linux.git/commit
ACPI: video: Add Dell UART backlight controller detection
authorHans de Goede <[email protected]>
Wed, 14 Aug 2024 19:01:57 +0000 (21:01 +0200)
committerRafael J. Wysocki <[email protected]>
Mon, 19 Aug 2024 13:58:35 +0000 (15:58 +0200)
commitcd8e468efb4fb2742e06328a75b282c35c1abf8d
tree5a85f807d3d40123620db23a66e6313d84ef87b4
parent47ac09b91befbb6a235ab620c32af719f8208399
ACPI: video: Add Dell UART backlight controller detection

Dell All In One (AIO) models released after 2017 use a backlight
controller board connected to an UART.

In DSDT this uart port will be defined as:

   Name (_HID, "DELL0501")
   Name (_CID, EisaId ("PNP0501")

Commit 484bae9e4d6a ("platform/x86: Add new Dell UART backlight driver")
has added support for this, but I neglected to tie this into
acpi_video_get_backlight_type().

Now the first AIO has turned up which has not only the DSDT bits for this,
but also an actual controller attached to the UART, yet it is not using
this controller for backlight control.

Add support to acpi_video_get_backlight_type() for a new dell_uart
backlight type. So that the existing infra to override the backlight
control method on the commandline or with DMI quirks can be used.

Fixes: 484bae9e4d6a ("platform/x86: Add new Dell UART backlight driver")
Cc: All applicable <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/acpi/video_detect.c
include/acpi/video.h
This page took 0.056146 seconds and 4 git commands to generate.