diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-09-05 13:56:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-06 19:22:32 +0100 |
commit | bc1d57ba0669877819822c05861961bb1f348840 (patch) | |
tree | b28deef90e4d1c25d3a23adebb2e4f5d8c695dde /drivers/iio/magnetometer/Kconfig | |
parent | c5bdbef704ba4c71a4fa2edc94d1930afad3b4c6 (diff) | |
download | blackbird-op-linux-bc1d57ba0669877819822c05861961bb1f348840.tar.gz blackbird-op-linux-bc1d57ba0669877819822c05861961bb1f348840.zip |
iio: hid-sensors: Added Compass/Magnetometer 3D
Added usage id processing for Compass 3D. This uses IIO
interfaces for triggered buffer to present data to user
mode.This uses HID sensor framework for registering callback
events from the sensor hub.
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer/Kconfig')
-rw-r--r-- | drivers/iio/magnetometer/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig new file mode 100644 index 000000000000..c1f0cdd57037 --- /dev/null +++ b/drivers/iio/magnetometer/Kconfig @@ -0,0 +1,16 @@ +# +# Magnetometer sensors +# +menu "Magnetometer sensors" + +config HID_SENSOR_MAGNETOMETER_3D + depends on HID_SENSOR_HUB + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + select HID_SENSOR_IIO_COMMON + tristate "HID Magenetometer 3D" + help + Say yes here to build support for the HID SENSOR + Magnetometer 3D. + +endmenu |