platform/x86: dell-lis3lv02d: Add Precision M4800
PATCH 1/1 platform/x86: dell-lis3lv02d: Add Precision M4800
The Dell Precision M4800 has an accelerometer on the i801 SMBus which is not described by ACPI, so the driver currently skips it:
dell_lis3lv02d: accelerometer is present on SMBus but its address is unknown, skipping registration
Reading the WHO_AM_I register at address 0x29 returns 0x33 (LIS3DC), the same address as the sibling Precision M6800. With this entry the sensor is detected and reports sane values:
lis3lv02d: 8 bits 3DC sensor found
--- drivers/platform/x86/dell/dell-lis3lv02d.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/dell-lis3lv02d.c +1 -0
@@ -52,6 +52,7 @@ static const struct dmi_system_id lis3lv02d_devices[] __initconst = {DELL_LIS3LV02D_DMI_ENTRY ("Latitude E6530" ,0x29 ),DELL_LIS3LV02D_DMI_ENTRY ("Precision 3540" ,0x29 ),DELL_LIS3LV02D_DMI_ENTRY ("Precision 3551" ,0x29 ), +DELL_LIS3LV02D_DMI_ENTRY ("Precision M4800" ,0x29 ),DELL_LIS3LV02D_DMI_ENTRY ("Precision M6800" ,0x29 ),DELL_LIS3LV02D_DMI_ENTRY ("Vostro V131" ,0x1d ), DELL_LIS3LV02D_DMI_ENTRY("Vostro 5568", 0x29),
Signature · 1 line
2.56.0
Ilpo Järvinen
maintainerQuoted 10 lines · Rosen Penev
The Dell Precision M4800 has an accelerometer on the i801 SMBus which is not described by ACPI, so the driver currently skips it:
dell_lis3lv02d: accelerometer is present on SMBus but its address is unknown, skipping registrationReading the
WHO_AM_Iregister at address0x29returns0x33(LIS3DC), the same address as the sibling Precision M6800. With this entry the sensor is detected and reports sane values:[...]
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] platform/x86: dell-lis3lv02d: Add Precision M4800
commit: 83a2e41dd85b426008016c09f56523cf5951b3da
--
i.