diff options
author | Nam Cao <namcaov@gmail.com> | 2022-10-06 16:54:40 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-11-01 13:46:30 +0100 |
commit | d6643d7207c572c1b0305ed505101f15502c6c87 (patch) | |
tree | e257a1af044b93ca9d4596b73597e02986f023ef /drivers/i2c | |
parent | cdbf26251d3b35c4ccaea0c3a6de4318f727d3d2 (diff) | |
download | linux-rpi-d6643d7207c572c1b0305ed505101f15502c6c87.tar.gz linux-rpi-d6643d7207c572c1b0305ed505101f15502c6c87.tar.bz2 linux-rpi-d6643d7207c572c1b0305ed505101f15502c6c87.zip |
i2c: i801: add lis3lv02d's I2C address for Vostro 5568
Dell Vostro 5568 laptop has lis3lv02d, but its i2c address is not known
to the kernel. Add this address.
Output of "cat /sys/devices/platform/lis3lv02d/position" on Dell Vostro
5568 laptop:
- Horizontal: (-18,0,1044)
- Front elevated: (522,-18,1080)
- Left elevated: (-18,-360,1080)
- Upside down: (36,108,-1134)
Signed-off-by: Nam Cao <namcaov@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-i801.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c index e06509edc5f3..1fda1eaa6d6a 100644 --- a/drivers/i2c/busses/i2c-i801.c +++ b/drivers/i2c/busses/i2c-i801.c @@ -1243,6 +1243,7 @@ static const struct { */ { "Latitude 5480", 0x29 }, { "Vostro V131", 0x1d }, + { "Vostro 5568", 0x29 }, }; static void register_dell_lis3lv02d_i2c_device(struct i801_priv *priv) |