diff options
author | srinivas pandruvada <srinivas.pandruvada@intel.com> | 2012-09-05 08:56:00 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-06 14:13:13 -0400 |
commit | 401ca24fb34aee0cedf9c4fef361e533224f15a1 (patch) | |
tree | 6841fc321a073643ebe8a4f9fd1a8c32fac13c3a /drivers/hid/Kconfig | |
parent | c8147d9ea19bfe7d8e569351bc7239e118dd6997 (diff) |
HID: sensors: introduce sensor framework
Adding processing for HID Sensor usage table as defined by
HID 1.12, Request #: HUTRR39, dated 05 May, 2011.
This driver uses HID driver framework to register, send and
receive events.
This uses MFD framework, so that actual processing for a
specific usage id can be done in a different driver. For
example an accelerometer driver can be a separate driver and
use the interface provided by this driver to register for
events.
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index fbf49503508d..f8d314060853 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -690,6 +690,20 @@ config HID_ZYDACRON | |||
690 | ---help--- | 690 | ---help--- |
691 | Support for Zydacron remote control. | 691 | Support for Zydacron remote control. |
692 | 692 | ||
693 | config HID_SENSOR_HUB | ||
694 | tristate "HID Sensors framework support" | ||
695 | depends on USB_HID | ||
696 | select MFD_CORE | ||
697 | default n | ||
698 | -- help--- | ||
699 | Support for HID Sensor framework. This creates a MFD instance | ||
700 | for a sensor hub and identifies all the sensors connected to it. | ||
701 | Each sensor is registered as a MFD cell, so that sensor specific | ||
702 | processing can be done in a separate driver. Each sensor | ||
703 | drivers can use the service provided by this driver to register | ||
704 | for events and handle data streams. Each sensor driver can format | ||
705 | data and present to user mode using input or IIO interface. | ||
706 | |||
693 | endmenu | 707 | endmenu |
694 | 708 | ||
695 | endif # HID | 709 | endif # HID |