summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel_soc_pmic_chtwc.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-01-26 16:38:21 +0100
committerLee Jones <lee@kernel.org>2023-02-04 13:03:27 +0000
commit8d9ef69487e114f80e20ffbec14ca8684953fef0 (patch)
tree766e8e4c53dea01cd3eecfb0dd67633a83a11f85 /drivers/mfd/intel_soc_pmic_chtwc.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-stable-8d9ef69487e114f80e20ffbec14ca8684953fef0.tar.gz
linux-stable-8d9ef69487e114f80e20ffbec14ca8684953fef0.tar.bz2
linux-stable-8d9ef69487e114f80e20ffbec14ca8684953fef0.zip
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
Diffstat (limited to 'drivers/mfd/intel_soc_pmic_chtwc.c')
-rw-r--r--drivers/mfd/intel_soc_pmic_chtwc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/intel_soc_pmic_chtwc.c b/drivers/mfd/intel_soc_pmic_chtwc.c
index 9216f0d34206..d53dae255490 100644
--- a/drivers/mfd/intel_soc_pmic_chtwc.c
+++ b/drivers/mfd/intel_soc_pmic_chtwc.c
@@ -165,6 +165,14 @@ static const struct dmi_system_id cht_wc_model_dmi_ids[] = {
/* Non exact match to match all versions */
DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"),
},
+ }, {
+ /* Lenovo Yoga Tab 3 Pro YT3-X90F */
+ .driver_data = (void *)(long)INTEL_CHT_WC_LENOVO_YT3_X90,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
+ },
},
{ }
};