Skip to content

Commit 2ce3262

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: video: Add "vendor" quirks for 3 Lenovo x86 Android tablets
Like the Xiaomi Mi Pad 2 these 3 Lenovo x86 Android tablet models also use a TI LP8557 backlight controller in direct I2C brightness register control mode. Add "vendor" quirks for these 3 models to disable the non-working native / acpi_video backlight devices. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 22c11b8 commit 2ce3262

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

drivers/acpi/video_detect.c

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,38 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
801801
* devices do not use vendor control in the typical meaning of
802802
* vendor specific SMBIOS or ACPI calls being used.
803803
*/
804+
{
805+
.callback = video_detect_force_vendor,
806+
/* Lenovo Yoga Book X90F / X90L */
807+
.matches = {
808+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
809+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
810+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
811+
},
812+
},
813+
{
814+
.callback = video_detect_force_vendor,
815+
/*
816+
* Lenovo Yoga Tablet 2 830F/L or 1050F/L (The 8" and 10"
817+
* Lenovo Yoga Tablet 2 use the same mainboard)
818+
*/
819+
.matches = {
820+
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp."),
821+
DMI_MATCH(DMI_PRODUCT_NAME, "VALLEYVIEW C0 PLATFORM"),
822+
DMI_MATCH(DMI_BOARD_NAME, "BYT-T FFD8"),
823+
/* Partial match on beginning of BIOS version */
824+
DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
825+
},
826+
},
827+
{
828+
.callback = video_detect_force_vendor,
829+
/* Lenovo Yoga Tab 3 Pro YT3-X90F */
830+
.matches = {
831+
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
832+
DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
833+
DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
834+
},
835+
},
804836
{
805837
.callback = video_detect_force_vendor,
806838
/* Xiaomi Mi Pad 2 */

0 commit comments

Comments
 (0)