linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iio:gyro:bmg160 Gyro Sensor driver
@ 2014-08-05 21:57 Srinivas Pandruvada
  2014-08-05 21:57 ` [PATCH v3 1/2] " Srinivas Pandruvada
  2014-08-05 21:57 ` [PATCH v3 2/2] iio:gyro:bmg160 documentation Srinivas Pandruvada
  0 siblings, 2 replies; 8+ messages in thread
From: Srinivas Pandruvada @ 2014-08-05 21:57 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, Srinivas Pandruvada

v3
- Suport Only Runtime PM no fallback method. Driver will still work but
chip will be in power on mode.
- Add comment for enable disable trigger/event sequence, how they work
in reverse order using runtime pm calls

v2:
- Add device id in any-motion trigger
- Removed string comparison for trigger name to identify trigger source
- Prevent disabling any motion interrupts when both any motion trigger
and events are on, but any one of them is disabled via sysfs
- Switch on chan->type
- Created new function to raw read axis
- Explanation why need to power on for changing sampling freq and scale

v1:
- Runtime PM: Removed module parameter for delay configuration
Use RTPM autosuspend delay feature. This allows sysfs configuration of
autosuspend time.

- Trigger
As suggested, there are two triggers:
- data_ready : Trigger which will allow all gyro periodic sampled data to
be received by user space
- any-motion: When used, will configure the chipset so that data is
pushed only when there is any motion, allowing system to enter deeper idle
power states

- Events
ROC type events will send direction instead of either.
Also both events and data triggers can be enabled together.

- Addition of unbuffered TEMP read interface

- Misc error message corrections as suggested by Peter Meerwald

TBD: Add sysfs attribute to trigger to configure thresholds.
Currently the triggers don't have feature to add sysfs attributes
unlike IIO device. But this has to be a RFC patch on top. 

v0:
Base version for review

Srinivas Pandruvada (2):
  iio:gyro:bmg160 Gyro Sensor driver
  iio:gyro:bmg160 documentation

 .../ABI/testing/sysfs-bus-iio-gyro-bmg160          |    7 +
 drivers/iio/gyro/Kconfig                           |   11 +
 drivers/iio/gyro/Makefile                          |    1 +
 drivers/iio/gyro/bmg160.c                          | 1211 ++++++++++++++++++++
 4 files changed, 1230 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-gyro-bmg160
 create mode 100644 drivers/iio/gyro/bmg160.c

-- 
1.7.11.7


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

end of thread, other threads:[~2014-08-26 17:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05 21:57 [PATCH v3 0/2] iio:gyro:bmg160 Gyro Sensor driver Srinivas Pandruvada
2014-08-05 21:57 ` [PATCH v3 1/2] " Srinivas Pandruvada
2014-08-07 10:39   ` Jonathan Cameron
2014-08-08  2:47     ` Srinivas Pandruvada
2014-08-12 19:06     ` Srinivas Pandruvada
2014-08-19 19:51       ` Jonathan Cameron
2014-08-26 17:37         ` Jonathan Cameron
2014-08-05 21:57 ` [PATCH v3 2/2] iio:gyro:bmg160 documentation 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).