]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
iio: chemical: pms7003: extend supported sensors list
authorTomasz Duszynski <tduszyns@gmail.com>
Sun, 17 Feb 2019 19:22:12 +0000 (20:22 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:40 +0000 (20:19 +0100)
Add other sensors to the compatible list.

Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/pms7003.c

index db8e7b2327b3e82f46b54429bced7c474c5617d9..23c9ab25247011354c7c1e9e123d5942d5d94ac1 100644 (file)
@@ -321,7 +321,12 @@ static int pms7003_probe(struct serdev_device *serdev)
 }
 
 static const struct of_device_id pms7003_of_match[] = {
+       { .compatible = "plantower,pms1003" },
+       { .compatible = "plantower,pms3003" },
+       { .compatible = "plantower,pms5003" },
+       { .compatible = "plantower,pms6003" },
        { .compatible = "plantower,pms7003" },
+       { .compatible = "plantower,pmsa003" },
        { }
 };
 MODULE_DEVICE_TABLE(of, pms7003_of_match);