Thread (1 message) 1 message, 1 author, 2012-07-04

Re: [PATCH 5/8] HID-Sensors: Added accelerometer 3D

From: David Herrmann <hidden>
Date: 2012-07-04 21:27:38
Also in: linux-iio

Hi Srinivas

On Wed, Jul 4, 2012 at 9:52 PM, srinivas pandruvada
[off-list ref] wrote:
quoted hunk
Added usage id processing for Accelerometer 3D.This uses IIO
interfaces for triggerred 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 <redacted>
---
 drivers/staging/iio/accel/Kconfig               |   10 +
 drivers/staging/iio/accel/Makefile              |    3 +
 drivers/staging/iio/accel/hid-sensor-accel-3d.c |  451 +++++++++++++++++++++++
 3 files changed, 464 insertions(+), 0 deletions(-)
 create mode 100644 drivers/staging/iio/accel/hid-sensor-accel-3d.c
diff --git a/drivers/staging/iio/accel/Kconfig b/drivers/staging/iio/accel/Kconfig
index 5ab7167..6ab1efa 100644
--- a/drivers/staging/iio/accel/Kconfig
+++ b/drivers/staging/iio/accel/Kconfig
@@ -102,4 +102,14 @@ config SCA3000
          Say yes here to build support for the VTI SCA3000 series of SPI
          accelerometers. These devices use a hardware ring buffer.

+config HID_SENSOR_ACCEL_3D
+       depends on HID_SENSOR_HUB
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
+       select HID_SENSOR_IIO_COMMON
+       tristate "HID Acelerometers 3D"
+       help
+         Say yes here to build support for the HID SENSOR
+         accelerometers 3G.
Maybe it's just me missing something, but why do all the Kconfig
entries mention "3G" instead of "3D"? I couldn't find any other place
where "3G" is used, only lots of "3D". What does 3G stand for?

Or maybe I just didn't pay enough attention.. ;)
Regards
David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help