diff mbox series

i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

Message ID 20200616234130.814499-1-jeffrey@icurse.nl
State Needs Review / ACK
Headers show
Series i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480 | expand

Commit Message

Jeffrey Lin June 16, 2020, 11:41 p.m. UTC
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>
---
 drivers/i2c/busses/i2c-i801.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Wolfram Sang Aug. 5, 2020, 9:33 a.m. UTC | #1
On Tue, Jun 16, 2020 at 07:41:30PM -0400, Jeffrey Lin wrote:
> 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>

Jean?

> ---
>  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 fea644921a76..d7c802e20ae6 100644
> --- a/drivers/i2c/busses/i2c-i801.c
> +++ b/drivers/i2c/busses/i2c-i801.c
> @@ -1268,6 +1268,7 @@ static const struct {
>  	/*
>  	 * Additional individual entries were added after verification.
>  	 */
> +	{ "Latitude 5480",      0x29 },
>  	{ "Vostro V131",        0x1d },
>  };
>  
> -- 
> 2.27.0
>
diff mbox series

Patch

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