All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] iio: light: add support for APDS9660 sensor
@ 2015-07-20  3:57 ` Matt Ranostay
  0 siblings, 0 replies; 10+ messages in thread
From: Matt Ranostay @ 2015-07-20  3:57 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, devicetree, marex, Matt Ranostay

This patchset adds support for the APDS9960 ALS + proximity + gesture
sensor.

Included support for the various adjustable settings and controls:
 * Falling and rising ALS + proximity thresholds events
 * Gain controls
 * ALS time integration

Changes from v3:
 * Added interrupt client mode document reference in DT bindings
 * Add missing dep for CONFIG_REGMAP_I2C in respective Kconfig
 * Changed from iio_trigger_poll_chained() to irq_work queue
 * Changed channel masks to prevent channels that can't be polled from
   having sysfs entries
 * Renamed regmap_field declarations with apds9660_* prefix 
 * Added available channel masks and removed unneeded buffer copy in
   poll function
 * Remove unneeded default regmap values in apds9960_reg_defaults 
 * Clear interrupts from ALS and proximity sensor seperately to avoid
   race condition
 * Changed max threshold values to a macro define, and prevent values
   less than 0
 * Avoid needlessly checking the APDS9960_REG_GFLVL value until we read
   all the FIFO from the count value. Note this can save up to 32 
   superfluous i2c reads per gesture engine entry
 
Matt Ranostay (2):
  iio: light: DT binding docs for APDS9960 driver
  iio: light: add APDS9960 ALS + promixity driver

 .../ABI/testing/sysfs-bus-iio-light-apds9960       |    7 +
 .../devicetree/bindings/iio/light/apds9960.txt     |   22 +
 drivers/iio/light/Kconfig                          |   13 +
 drivers/iio/light/Makefile                         |    1 +
 drivers/iio/light/apds9960.c                       | 1191 ++++++++++++++++++++
 5 files changed, 1234 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-light-apds9960
 create mode 100644 Documentation/devicetree/bindings/iio/light/apds9960.txt
 create mode 100644 drivers/iio/light/apds9960.c

-- 
1.9.1

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

end of thread, other threads:[~2015-08-02 15:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20  3:57 [PATCH v4 0/2] iio: light: add support for APDS9660 sensor Matt Ranostay
2015-07-20  3:57 ` Matt Ranostay
2015-07-20  3:57 ` [PATCH v4 1/2] iio: light: DT binding docs for APDS9960 driver Matt Ranostay
2015-07-20  3:57   ` Matt Ranostay
2015-07-20  3:57 ` [PATCH 2/2] iio: light: add APDS9960 ALS + promixity driver Matt Ranostay
2015-07-20  3:57   ` Matt Ranostay
2015-07-29  4:28 ` [PATCH v4 0/2] iio: light: add support for APDS9660 sensor Matt Ranostay
2015-07-29  4:28   ` Matt Ranostay
2015-08-02 15:45   ` Jonathan Cameron
2015-08-02 15: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.