Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670945 > unrolled thread
| Started by | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| First post | 2017-06-20 18:50 +0200 |
| Last post | 2017-06-20 18:50 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 2/3] iio: humidity: hdc100x: document compatible HDC10xx devices Jonathan Cameron <jic23@kernel.org> - 2017-06-20 18:50 +0200
| From | Jonathan Cameron <jic23@kernel.org> |
|---|---|
| Date | 2017-06-20 18:50 +0200 |
| Subject | Re: [PATCH v2 2/3] iio: humidity: hdc100x: document compatible HDC10xx devices |
| Message-ID | <tUuvN-2D0-21@gated-at.bofh.it> |
On Mon, 19 Jun 2017 11:01:05 -0500
Michael Stecklein <m-stecklein@ti.com> wrote:
> 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>
Applied to the togreg branch of iio.git. Initially pushed out as testing
for the autobuilders to play with it.
Thanks,
Jonathan
> ---
> drivers/iio/humidity/Kconfig | 3 ++-
> drivers/iio/humidity/hdc100x.c | 11 +++++++++++
> 2 files changed, 13 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
> index 14b9ce4..2c0fc9a 100644
> --- a/drivers/iio/humidity/Kconfig
> +++ b/drivers/iio/humidity/Kconfig
> @@ -31,7 +31,8 @@ config HDC100X
> select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for the Texas Instruments
> - HDC1000 and HDC1008 relative humidity and temperature sensors.
> + HDC1000, HDC1008, HDC1010, HDC1050, and HDC1080 relative
> + humidity and temperature sensors.
>
> To compile this driver as a module, choose M here: the module
> will be called hdc100x.
> diff --git a/drivers/iio/humidity/hdc100x.c b/drivers/iio/humidity/hdc100x.c
> index aa17115..6778bc7 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);
Back to top | Article view | linux.kernel
csiph-web