-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: hid-sensors: Added Gyroscope 3D
Added usage id processing for Gyroscope 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>
- Loading branch information
srinivas pandruvada
authored and
Jonathan Cameron
committed
Sep 6, 2012
1 parent
45fe6f7
commit c5bdbef
Showing
5 changed files
with
442 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ obj-y += light/ | |
obj-y += frequency/ | ||
obj-y += dac/ | ||
obj-y += common/ | ||
obj-y += gyro/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# IIO Digital Gyroscope Sensor drivers configuration | ||
# | ||
menu "Digital gyroscope sensors" | ||
|
||
config HID_SENSOR_GYRO_3D | ||
depends on HID_SENSOR_HUB | ||
select IIO_BUFFER | ||
select IIO_TRIGGERED_BUFFER | ||
select HID_SENSOR_IIO_COMMON | ||
tristate "HID Gyroscope 3D" | ||
help | ||
Say yes here to build support for the HID SENSOR | ||
Gyroscope 3D. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# | ||
# Makefile for industrial I/O gyroscope sensor drivers | ||
# | ||
|
||
obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o |
Oops, something went wrong.