iio: humidity: add support to hts221 rh/temp combo device
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Thu, 13 Oct 2016 20:06:04 +0000 (22:06 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:34:09 +0000 (19:34 +0100)
commite4a70e3e7d846a8db8e20c18a4d8a6cf35bcf29c
treea49e2351f07ec49d96592ef4643f68ff8093d59c
parent4aee987380432c5814ef0275d4041de857dc0617
iio: humidity: add support to hts221 rh/temp combo device

Add support to STM HTS221 humidity + temperature sensor

http://www.st.com/resource/en/datasheet/hts221.pdf

- continuous mode support
- i2c support
- spi support
- trigger mode support

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/Kconfig
drivers/iio/humidity/Makefile
drivers/iio/humidity/hts221.h [new file with mode: 0644]
drivers/iio/humidity/hts221_buffer.c [new file with mode: 0644]
drivers/iio/humidity/hts221_core.c [new file with mode: 0644]
drivers/iio/humidity/hts221_i2c.c [new file with mode: 0644]
drivers/iio/humidity/hts221_spi.c [new file with mode: 0644]