iio: pulsedlight-lidar-lite-v2: add lidar-lite-v3 property
authorMatt Ranostay <matt@ranostay.consulting>
Thu, 29 Dec 2016 05:13:06 +0000 (21:13 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 31 Dec 2016 15:18:31 +0000 (15:18 +0000)
Signed-off-by: Matt Ranostay <matt@ranostay.consulting>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c

index 1fa9eefa09828902ff294dc6f39e665a4c896f33..20c16a08c9d909c8b6937db21a857911a0c70e91 100644 (file)
@@ -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);