All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] Added LTR501 Interrupt support
@ 2015-04-19  9:09 Kuppuswamy Sathyanarayanan
  2015-04-19  9:10 ` [PATCH v5 1/5] iio: ltr501: Add regmap support Kuppuswamy Sathyanarayanan
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Kuppuswamy Sathyanarayanan @ 2015-04-19  9:09 UTC (permalink / raw)
  To: jic23, pmeerw; +Cc: linux-iio, srinivas.pandruvada, sathyanarayanan.kuppuswamy

This patchset adds Integration time, sampling frequency, interrupt
and acpi enumeration support for LTR-501 chip.

Please let me know your review comments.

v1:
1. Added support to enable ALS & PS intterupts based 
   on threshold settings.
2. Added support to control intrrupt rate.
3. Added acpi enumeration support.

v2:
1. Removed persistance attribute from ext_channel and
   added support for IIO_EV_INFO_PERIOD.
2. Rebased my patches on top of Daniel's alignment fix.

v3:
1. Added a new ABI to define threshold interrupt persistence
   filter value.
2. Added Documentation for persistence filter iio ABI
3. Used IIO_EV_INFO_PERSISTENCE instead of IIO_EV_INFO_PERIOD
   in ltr501 driver.

v4:
1. Added regmap support to handle register bitwise updates easily.
2. Added support to change integration time from user code.
3. Modified threshold interrupt persistence code to use IIO_EV_INFO_PERIOD
   values.
4. Added support to change sampling frequency from user code
5. Addressed Jonathan's comments

v5:
1. Added const qualifier for sampling table, it table & reg_field
   variables.
2. Rebased patches on top of Daniel's checkpatch fix.
3. Renamed rate variable to sampling_period.

Kuppuswamy Sathyanarayanan (5):
  iio: ltr501: Add regmap support.
  iio: ltr501: Add integration time support
  iio: ltr501: Add interrupt support
  iio: ltr501: Add interrupt rate control support
  iio: ltr501: Add ACPI enumeration support

 drivers/iio/light/ltr501.c | 945 ++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 895 insertions(+), 50 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2015-06-27 23:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-19  9:09 [PATCH v5 0/5] Added LTR501 Interrupt support Kuppuswamy Sathyanarayanan
2015-04-19  9:10 ` [PATCH v5 1/5] iio: ltr501: Add regmap support Kuppuswamy Sathyanarayanan
2015-06-27 13:19   ` Hartmut Knaack
2015-04-19  9:10 ` [PATCH v5 2/5] iio: ltr501: Add integration time support Kuppuswamy Sathyanarayanan
2015-04-19 12:41   ` Jonathan Cameron
2015-06-27 13:35   ` Hartmut Knaack
2015-04-19  9:10 ` [PATCH v5 3/5] iio: ltr501: Add interrupt support Kuppuswamy Sathyanarayanan
2015-04-19 12:42   ` Jonathan Cameron
2015-06-27 21:34   ` Hartmut Knaack
2015-04-19  9:10 ` [PATCH v5 4/5] iio: ltr501: Add interrupt rate control support Kuppuswamy Sathyanarayanan
2015-04-19 12:44   ` Jonathan Cameron
2015-06-27 23:28   ` Hartmut Knaack
2015-04-19  9:10 ` [PATCH v5 5/5] iio: ltr501: Add ACPI enumeration support Kuppuswamy Sathyanarayanan
2015-04-19 12:45   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.