i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480
authorJeffrey Lin <jeffrey@icurse.nl>
Wed, 2 Sep 2020 04:51:37 +0000 (00:51 -0400)
committerWolfram Sang <wsa@kernel.org>
Wed, 9 Sep 2020 08:29:24 +0000 (10:29 +0200)
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@icurse.nl>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c

index e32ef3f..efab1e7 100644 (file)
@@ -1274,6 +1274,7 @@ static const struct {
        /*
         * Additional individual entries were added after verification.
         */
+       { "Latitude 5480",      0x29 },
        { "Vostro V131",        0x1d },
 };