summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatt Ranostay <matt@ranostay.consulting>2016-12-28 21:13:06 -0800
committerJonathan Cameron <jic23@kernel.org>2016-12-31 15:18:31 +0000
commitb257c1a45e9967ad84f9c5d40e657074d979ce70 (patch)
tree506fcd9bbc7085d50bcf7630de0139b0d5c5b284 /drivers
parent9b27c270d40335d407072815172f27293e63decb (diff)
downloadop-kernel-dev-b257c1a45e9967ad84f9c5d40e657074d979ce70.zip
op-kernel-dev-b257c1a45e9967ad84f9c5d40e657074d979ce70.tar.gz
iio: pulsedlight-lidar-lite-v2: add lidar-lite-v3 property
Signed-off-by: Matt Ranostay <matt@ranostay.consulting> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/proximity/pulsedlight-lidar-lite-v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
index 1fa9eef..20c16a0 100644
--- a/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
+++ b/drivers/iio/proximity/pulsedlight-lidar-lite-v2.c
@@ -326,12 +326,14 @@ static int lidar_remove(struct i2c_client *client)
static const struct i2c_device_id lidar_id[] = {
{"lidar-lite-v2", 0},
+ {"lidar-lite-v3", 0},
{ },
};
MODULE_DEVICE_TABLE(i2c, lidar_id);
static const struct of_device_id lidar_dt_ids[] = {
{ .compatible = "pulsedlight,lidar-lite-v2" },
+ { .compatible = "grmn,lidar-lite-v3" },
{ }
};
MODULE_DEVICE_TABLE(of, lidar_dt_ids);
OpenPOWER on IntegriCloud