linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] iio: light: add support for APDS9660 sensor
@ 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
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ 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] 6+ messages in thread
* [PATCH 0/2] iio: light: add support for APDS9660 sensor
@ 2015-07-07  3:22 Matt Ranostay
  2015-07-07  3:22 ` [PATCH 2/2] iio: light: add APDS9960 ALS + promixity driver Matt Ranostay
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Ranostay @ 2015-07-07  3:22 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

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       |  125 ++
 .../devicetree/bindings/iio/light/apds9960.txt     |   19 +
 drivers/iio/light/Kconfig                          |   12 +
 drivers/iio/light/Makefile                         |    1 +
 drivers/iio/light/apds9960.c                       | 1219 ++++++++++++++++++++
 5 files changed, 1376 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] 6+ messages in thread

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

Thread overview: 6+ 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 ` [PATCH v4 1/2] iio: light: DT binding docs for APDS9960 driver Matt Ranostay
2015-07-20  3:57 ` [PATCH 2/2] iio: light: add APDS9960 ALS + promixity driver Matt Ranostay
2015-07-29  4:28 ` [PATCH v4 0/2] iio: light: add support for APDS9660 sensor Matt Ranostay
2015-08-02 15:45   ` Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2015-07-07  3:22 [PATCH " Matt Ranostay
2015-07-07  3:22 ` [PATCH 2/2] iio: light: add APDS9960 ALS + promixity driver Matt Ranostay

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