Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Tab 3 X90F to intel_cht_wc_models

The drivers for various CHT Whiskey Cove PMIC child-devices need to know
the model, since they have model specific behavior. The DMI match table
for this is shared between the child-device-drivers inside the MFD driver.

Add the Lenovo Yoga Tab 3 X90F, which is a previously unknown tablet
model with a CHT Whiskey Cove PMIC, to the intel_cht_wc_models enum and
to the DMI match table.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230126153823.22146-2-hdegoede@redhat.com

authored by

Hans de Goede and committed by
Lee Jones
8d9ef694 1b929c02

+9
+8
drivers/mfd/intel_soc_pmic_chtwc.c
··· 165 165 /* Non exact match to match all versions */ 166 166 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), 167 167 }, 168 + }, { 169 + /* Lenovo Yoga Tab 3 Pro YT3-X90F */ 170 + .driver_data = (void *)(long)INTEL_CHT_WC_LENOVO_YT3_X90, 171 + .matches = { 172 + DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"), 173 + DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"), 174 + DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"), 175 + }, 168 176 }, 169 177 { } 170 178 };
+1
include/linux/mfd/intel_soc_pmic.h
··· 18 18 INTEL_CHT_WC_GPD_WIN_POCKET, 19 19 INTEL_CHT_WC_XIAOMI_MIPAD2, 20 20 INTEL_CHT_WC_LENOVO_YOGABOOK1, 21 + INTEL_CHT_WC_LENOVO_YT3_X90, 21 22 }; 22 23 23 24 /**