aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/Kconfig
diff options
context:
space:
mode:
authorSong Hongyan <hongyan.song@intel.com>2017-03-03 21:44:32 +0800
committerJonathan Cameron <jic23@kernel.org>2017-03-04 18:45:26 +0000
commit59d0f2da35693bfbcf6ffb014213cb8e225c8928 (patch)
treede359752da0bee9076b7e25ca1308f6a2aa67a38 /drivers/iio/temperature/Kconfig
parentstaging: iio: meter: ade7753: Clean up includes (diff)
downloadlinux-dev-59d0f2da35693bfbcf6ffb014213cb8e225c8928.tar.xz
linux-dev-59d0f2da35693bfbcf6ffb014213cb8e225c8928.zip
iio: hid: Add temperature sensor support
Environmental temperature sensor is a hid defined sensor, it measures temperature. More information can be found in: http://www.usb.org/developers/hidpage/HUTRR39b.pdf According to IIO ABI definition, IIO_TEMP data output unit is milli degrees Celsius. Add the unit convert from degree to milli degree. Signed-off-by: Song Hongyan <hongyan.song@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/temperature/Kconfig')
-rw-r--r--drivers/iio/temperature/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/iio/temperature/Kconfig b/drivers/iio/temperature/Kconfig
index 3089e8d0a32d..5378976d6d27 100644
--- a/drivers/iio/temperature/Kconfig
+++ b/drivers/iio/temperature/Kconfig
@@ -19,6 +19,20 @@ config MAXIM_THERMOCOUPLE
This driver can also be built as a module. If so, the module will
be called maxim_thermocouple.
+config HID_SENSOR_TEMP
+ tristate "HID Environmental temperature sensor"
+ depends on HID_SENSOR_HUB
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ select HID_SENSOR_IIO_COMMON
+ select HID_SENSOR_IIO_TRIGGER
+ help
+ Say yes here to build support for the HID SENSOR
+ temperature driver
+
+ To compile this driver as a module, choose M here: the module
+ will be called hid-sensor-temperature.
+
config MLX90614
tristate "MLX90614 contact-less infrared sensor"
depends on I2C