linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] add timestamp channel for hid-sensors
@ 2021-01-05  7:21 Ye Xiang
  2021-01-05  7:21 ` [PATCH v3 1/6] iio: hid-sensor-accel-3d: Add timestamp channel for gravity sensor Ye Xiang
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Ye Xiang @ 2021-01-05  7:21 UTC (permalink / raw)
  To: jikos, jic23, srinivas.pandruvada
  Cc: linux-input, linux-iio, linux-kernel, Ye Xiang

This patch series add a timestamp channel for hid sensors,
including gravity sensor, gyro sensor, magnetometer sensor,
ambient light sensor, inclinometer sensor, and rotation sensor.

With this patch series, user can get the time when sensor yield
a sample.

---
v3:
  - hid-sensor-magn-3d: fix iio_val buffer len issue.
  - hid-sensor-accel-3d: refine commit message

v2:
  - remove unrelated changes.

Ye Xiang (6):
  iio: hid-sensor-accel-3d: Add timestamp channel for gravity sensor
  iio: hid-sensor-gyro-3d: Add timestamp channel
  iio: hid-sensor-als: Add timestamp channel
  iio: hid-sensor-magn-3d: Add timestamp channel
  iio: hid-sensor-incl-3d: Add timestamp channel
  iio: hid-sensor-rotation: Add timestamp channel

 drivers/iio/accel/hid-sensor-accel-3d.c       |  6 ++-
 drivers/iio/gyro/hid-sensor-gyro-3d.c         | 40 +++++++++-------
 drivers/iio/light/hid-sensor-als.c            | 39 ++++++++-------
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 48 ++++++++++++-------
 drivers/iio/orientation/hid-sensor-incl-3d.c  | 43 ++++++++++-------
 drivers/iio/orientation/hid-sensor-rotation.c | 46 ++++++++++--------
 6 files changed, 134 insertions(+), 88 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-10  7:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05  7:21 [PATCH v3 0/6] add timestamp channel for hid-sensors Ye Xiang
2021-01-05  7:21 ` [PATCH v3 1/6] iio: hid-sensor-accel-3d: Add timestamp channel for gravity sensor Ye Xiang
2021-01-05  7:21 ` [PATCH v3 2/6] iio: hid-sensor-gyro-3d: Add timestamp channel Ye Xiang
2021-01-05  7:22 ` [PATCH v3 3/6] iio: hid-sensor-als: " Ye Xiang
2021-01-05  7:22 ` [PATCH v3 4/6] iio: hid-sensor-magn-3d: " Ye Xiang
2021-01-05  7:22 ` [PATCH v3 5/6] iio: hid-sensor-incl-3d: " Ye Xiang
2021-01-05  7:22 ` [PATCH v3 6/6] iio: hid-sensor-rotation: " Ye Xiang
2021-01-05  8:53 ` [PATCH v3 0/6] add timestamp channel for hid-sensors Srinivas Pandruvada
2021-01-05  9:26   ` Ye, Xiang
2021-01-09 19:28     ` Jonathan Cameron
2021-01-10  7:11       ` Ye, Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).