summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/bmg160_spi.c
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2020-03-16 09:34:03 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-04-19 18:56:13 +0300
commit1579fc067f6e4f958e06db6bf3d170b753cd36d0 (patch)
treeadbed36b522a254cb4f60b7bbd58dd78335b0bec /drivers/iio/gyro/bmg160_spi.c
parentccd428e42b807a1269d0477dd89c90136065617c (diff)
downloadlinux-1579fc067f6e4f958e06db6bf3d170b753cd36d0.tar.xz
iio/gyro/bmg160: Add support for BMI088 chip
The BMI088 is pin-compatible with the BMI055, and provides both gyro and accel functions. The gyro part is similar to the BMI055 and this adds the chip to the list of supported devices for the gyro part. The accel part of the chip is not compatible with anything existing already. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/bmg160_spi.c')
-rw-r--r--drivers/iio/gyro/bmg160_spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/gyro/bmg160_spi.c b/drivers/iio/gyro/bmg160_spi.c
index 182a59c42507..03e80bb2601a 100644
--- a/drivers/iio/gyro/bmg160_spi.c
+++ b/drivers/iio/gyro/bmg160_spi.c
@@ -37,6 +37,7 @@ static int bmg160_spi_remove(struct spi_device *spi)
static const struct spi_device_id bmg160_spi_id[] = {
{"bmg160", 0},
{"bmi055_gyro", 0},
+ {"bmi088_gyro", 0},
{}
};