mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86: dell-lis3lv02d: Add Precision M4800
@ 2026-11-02  3:19 Rosen Penev
  0 siblings, 0 replies; only message in thread
From: Rosen Penev @ 2026-11-02  3:19 UTC (permalink / raw)
  To: platform-driver-x86; +Cc: Hans de Goede, Ilpo Järvinen, open list

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

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 drivers/platform/x86/dell/dell-lis3lv02d.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/dell/dell-lis3lv02d.c b/drivers/platform/x86/dell/dell-lis3lv02d.c
index fe52bcd896f7..ee61b08324ad 100644
--- a/drivers/platform/x86/dell/dell-lis3lv02d.c
+++ b/drivers/platform/x86/dell/dell-lis3lv02d.c
@@ -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),
-- 
2.56.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02  3:19 [PATCH] platform/x86: dell-lis3lv02d: Add Precision M4800 Rosen Penev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®