diff options
author | Michael Stecklein <m-stecklein@ti.com> | 2017-06-19 18:01:05 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-07-01 11:16:38 +0200 |
commit | 8f4c9575a8e29f6ee0a45a1288eb4af9f215279d (patch) | |
tree | 949d9fc38f2f015798b0c65ab7fadafad800af1c /drivers/iio/humidity/hdc100x.c | |
parent | dt-bindings: iio: humidity: add bindings for HDC100x sensors (diff) | |
download | linux-8f4c9575a8e29f6ee0a45a1288eb4af9f215279d.tar.xz linux-8f4c9575a8e29f6ee0a45a1288eb4af9f215279d.zip |
iio: humidity: hdc100x: document compatible HDC10xx devices
Include datasheet links, add i2c_device_id entries, and update
kconfig help for compatible HDC10xx devices: HDC1000, HDC1008,
HDC1010, HDC1050, and HDC1080.
Signed-off-by: Michael Stecklein <m-stecklein@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/humidity/hdc100x.c')
-rw-r--r-- | drivers/iio/humidity/hdc100x.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c index aa17115f54c9..6778bc73d5c4 100644 --- a/drivers/iio/humidity/hdc100x.c +++ b/drivers/iio/humidity/hdc100x.c @@ -13,6 +13,12 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * + * Datasheets: + * http://www.ti.com/product/HDC1000/datasheet + * http://www.ti.com/product/HDC1008/datasheet + * http://www.ti.com/product/HDC1010/datasheet + * http://www.ti.com/product/HDC1050/datasheet + * http://www.ti.com/product/HDC1080/datasheet */ #include <linux/delay.h> @@ -414,6 +420,11 @@ static int hdc100x_remove(struct i2c_client *client) static const struct i2c_device_id hdc100x_id[] = { { "hdc100x", 0 }, + { "hdc1000", 0 }, + { "hdc1008", 0 }, + { "hdc1010", 0 }, + { "hdc1050", 0 }, + { "hdc1080", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, hdc100x_id); |