linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] Adding PM support to hid sensor iio drivers
@ 2015-01-07 18:55 Srinivas Pandruvada
  2015-01-07 18:55 ` [PATCH 1/8] iio: hid_sensor_hub: Common PM functions Srinivas Pandruvada
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Srinivas Pandruvada @ 2015-01-07 18:55 UTC (permalink / raw)
  To: jkosina, jic23; +Cc: linux-iio, linux-input, Srinivas Pandruvada

Linux PM and runtime PM support.

Srinivas Pandruvada (8):
  iio: hid_sensor_hub: Common PM functions
  iio: hid-sensor-accel-3d: Introduce PM
  iio: hid-sensor-gyro-3d: Introduce PM
  iio: hid-sensor-als: Introduce PM
  iio: hid-sensor-prox: Introduce PM
  iio: hid-sensor-magn-3d: Introduce PM
  iio: hid-sensor-incl-3d: Introduce PM
  iio: hid-sensor-press: Introduce PM

 drivers/iio/accel/hid-sensor-accel-3d.c            |  8 +--
 .../iio/common/hid-sensors/hid-sensor-trigger.c    | 76 +++++++++++++++++++++-
 .../iio/common/hid-sensors/hid-sensor-trigger.h    |  5 ++
 drivers/iio/gyro/hid-sensor-gyro-3d.c              |  8 +--
 drivers/iio/light/hid-sensor-als.c                 |  9 +--
 drivers/iio/light/hid-sensor-prox.c                | 10 +--
 drivers/iio/magnetometer/hid-sensor-magn-3d.c      |  9 +--
 drivers/iio/orientation/hid-sensor-incl-3d.c       |  9 +--
 drivers/iio/pressure/hid-sensor-press.c            |  9 +--
 9 files changed, 86 insertions(+), 57 deletions(-)

-- 
1.9.3


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH] HID: hid-sensor-hub: Correct documentation
@ 2015-01-07  0:58 Srinivas Pandruvada
       [not found] ` <1420592328-9942-1-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Srinivas Pandruvada @ 2015-01-07  0:58 UTC (permalink / raw)
  To: jkosina, jic23; +Cc: linux-iio, linux-input, Srinivas Pandruvada

During changes to the interface, some documentation field comments
were missed. Added missing comments.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 include/linux/hid-sensor-hub.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/hid-sensor-hub.h b/include/linux/hid-sensor-hub.h
index 51f7cca..4173a8f 100644
--- a/include/linux/hid-sensor-hub.h
+++ b/include/linux/hid-sensor-hub.h
@@ -33,6 +33,8 @@
  * @units:		Measurment unit for this attribute.
  * @unit_expo:		Exponent used in the data.
  * @size:		Size in bytes for data size.
+ * @logical_minimum:	Logical minimum value for this attribute.
+ * @logical_maximum:	Logical maximum value for this attribute.
  */
 struct hid_sensor_hub_attribute_info {
 	u32 usage_id;
@@ -146,6 +148,7 @@ int sensor_hub_input_get_attribute_info(struct hid_sensor_hub_device *hsdev,
 
 /**
 * sensor_hub_input_attr_get_raw_value() - Synchronous read request
+* @hsdev:	Hub device instance.
 * @usage_id:	Attribute usage id of parent physical device as per spec
 * @attr_usage_id:	Attribute usage id as per spec
 * @report_id:	Report id to look for
@@ -160,6 +163,7 @@ int sensor_hub_input_attr_get_raw_value(struct hid_sensor_hub_device *hsdev,
 			u32 attr_usage_id, u32 report_id);
 /**
 * sensor_hub_set_feature() - Feature set request
+* @hsdev:	Hub device instance.
 * @report_id:	Report id to look for
 * @field_index:	Field index inside a report
 * @value:	Value to set
@@ -172,6 +176,7 @@ int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id,
 
 /**
 * sensor_hub_get_feature() - Feature get request
+* @hsdev:	Hub device instance.
 * @report_id:	Report id to look for
 * @field_index:	Field index inside a report
 * @value:	Place holder for return value
-- 
1.9.1


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

end of thread, other threads:[~2015-01-21 21:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-07 18:55 [PATCH 0/8] Adding PM support to hid sensor iio drivers Srinivas Pandruvada
2015-01-07 18:55 ` [PATCH 1/8] iio: hid_sensor_hub: Common PM functions Srinivas Pandruvada
2015-01-07 18:55 ` [PATCH 2/8] iio: hid-sensor-accel-3d: Introduce PM Srinivas Pandruvada
2015-01-07 18:55 ` [PATCH 3/8] iio: hid-sensor-gyro-3d: " Srinivas Pandruvada
2015-01-07 18:55 ` [PATCH 4/8] iio: hid-sensor-als: " Srinivas Pandruvada
2015-01-07 18:55 ` [PATCH 5/8] iio: hid-sensor-prox: " Srinivas Pandruvada
     [not found] ` <1420656960-7365-1-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-07 18:55   ` [PATCH 6/8] iio: hid-sensor-magn-3d: " Srinivas Pandruvada
2015-01-07 18:55   ` [PATCH 7/8] iio: hid-sensor-incl-3d: " Srinivas Pandruvada
2015-01-07 18:56   ` [PATCH 8/8] iio: hid-sensor-press: " Srinivas Pandruvada
2015-01-21 21:39   ` [PATCH 0/8] Adding PM support to hid sensor iio drivers Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2015-01-07  0:58 [PATCH] HID: hid-sensor-hub: Correct documentation Srinivas Pandruvada
     [not found] ` <1420592328-9942-1-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-01-07  0:58   ` [PATCH 2/8] iio: hid-sensor-accel-3d: Introduce PM Srinivas Pandruvada

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).