All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1]  iio:light: Add support for APDS9930 ALS and proximity
@ 2015-04-08 15:28 Cristina Ciocan
  2015-04-08 15:28 ` [PATCH v2 1/1] iio:light: Avago APDS9930 ALS and proximity sensor Cristina Ciocan
  0 siblings, 1 reply; 3+ messages in thread
From: Cristina Ciocan @ 2015-04-08 15:28 UTC (permalink / raw)
  To: jic23; +Cc: knaack.h, lars, pmeerw, linux-iio, Cristina Ciocan

Hello,

This patch adds support for APDS9930. I am not sure about integrating it with
APDS9300 which is similar, I am waiting for reviews and if that is the case, I
shall integrate it in the next patch set.

I kept the threshold changing in the driver because I also adapt the ALS gain,
which leads to different values on the CH0 channel under the same light
conditions, thus the thresholds need adapting as well. The userspace can only
read these thresholds from sysfs, not change them.

Changes since v1:
	- ALS code cleanup
	- added proximity support

Cristina Ciocan (1):
  iio:light: Avago APDS9930 ALS and proximity sensor

 drivers/iio/light/Kconfig    |   10 +
 drivers/iio/light/Makefile   |    1 +
 drivers/iio/light/apds9930.c | 1097 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1108 insertions(+)
 create mode 100644 drivers/iio/light/apds9930.c

--
1.8.1.2


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

end of thread, other threads:[~2015-04-09 13:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08 15:28 [PATCH v2 0/1] iio:light: Add support for APDS9930 ALS and proximity Cristina Ciocan
2015-04-08 15:28 ` [PATCH v2 1/1] iio:light: Avago APDS9930 ALS and proximity sensor Cristina Ciocan
2015-04-09 13:10   ` 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.