aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/chemical
diff options
context:
space:
mode:
authorTomasz Duszynski <tduszyns@gmail.com>2019-02-17 20:22:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:19:40 +0100
commit036aa1fee1cc8ba73705972df2f9b6824d9804df (patch)
treef1351a64847b4d57d401f2983787dfb153cedb65 /drivers/iio/chemical
parentiio: adc: ingenic: remove redundant dev_err call in ingenic_adc_probe() (diff)
downloadlinux-dev-036aa1fee1cc8ba73705972df2f9b6824d9804df.tar.xz
linux-dev-036aa1fee1cc8ba73705972df2f9b6824d9804df.zip
iio: chemical: pms7003: extend supported sensors list
Add other sensors to the compatible list. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical')
-rw-r--r--drivers/iio/chemical/pms7003.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/chemical/pms7003.c b/drivers/iio/chemical/pms7003.c
index db8e7b2327b3..23c9ab252470 100644
--- a/drivers/iio/chemical/pms7003.c
+++ b/drivers/iio/chemical/pms7003.c
@@ -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);