[PATCH v2 0/1] iio:light: Add support for APDS9930 ALS and proximity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux