[PATCH v2] i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

From: Jeffrey Lin
Date: Wed Sep 02 2020 - 01:00:27 EST


Value of /sys/devices/platform/lis3lv02d/position when
Horizontal: (36,-108,-1152)
Left elevated: (-432,-126,-1062)
Front elevated: (36,594,-936)
Upside down: (-126,-252,1098)

Signed-off-by: Jeffrey Lin <jeffrey@xxxxxxxxx>
Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>
---

Changes in v2:
- Added Jean's Reviewed-by

drivers/i2c/busses/i2c-i801.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index e32ef3f01fe8..efab1e71ad6a 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -1274,6 +1274,7 @@ static const struct {
/*
* Additional individual entries were added after verification.
*/
+ { "Latitude 5480", 0x29 },
{ "Vostro V131", 0x1d },
};

--
2.28.0