2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-27 08:05:27 +08:00
linux-next/drivers/staging/iio
Laurentiu Palcu 609acefa46 staging: iio: light: isl29018: add support for isl29023 and isl29035
Intersil chips ISL29018, ISL29023 and ISL29035 are very similar. They're
all ambience light sensors. The ISL29018, however, is also a proximity
sensor. The registers are similar too:

-------------+----------+----------
AVAILABLE IN | ADDR REG | NAME
   290xx     |          |
-------------+----------+----------
     18/23/35|       00h| COMMANDI
     18/23/35|       01h| COMMANDII (B4-7 are used only in 29018 for proximity)
     18/23/35|       02h| DATALSB
     18/23/35|       03h| DATAMSB
     18/23/35|       04h| INT_LT_LSB
     18/23/35|       05h| INT_LT_MSB
     18/23/35|       06h| INT_HT_LSB
     18/23/35|       07h| INT_HT_MSB
        18/23|       08h| TEST
           35|       0Fh| ID
-------------+----------+-----------

So, this patch will add support for ISL29023 and ISL29035 to the
existing isl29018 driver. Since these 2 chips don't have proximity
detection, the proximity sysfs attribute is not needed.

Also, for ISL29035, since it has an ID register, make use of it in order
to properly detect the chip and clear the brownout bit.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-08-30 11:12:36 +01:00
..
accel staging: iio: accel: Add blank lines between declarations and code 2014-08-07 10:11:33 +01:00
adc staging:iio:adc:Kconfig: Let MXS_LRADC depend on HAS_IOMEM 2014-07-13 19:44:02 +01:00
addac First round of IIO new driver, functionality and cleanups for the 3.16 cycle. 2014-04-26 08:12:25 -07:00
cdc staging: iio: Fix typo in iio 2014-04-23 21:44:41 +01:00
Documentation staging: iio: remove duplicate case labels 2014-07-07 17:15:13 +01:00
frequency staging:iio: Remove ad5930/ad9850/ad9852/ad9910/ad9951 dummy drivers 2014-08-19 20:25:10 +01:00
gyro staging: iio: adis16060: Fix coding style problem 2014-08-07 11:14:00 +01:00
impedance-analyzer staging: iio: ad5933: fix sparse warnings 2014-07-27 14:33:07 +01:00
light staging: iio: light: isl29018: add support for isl29023 and isl29035 2014-08-30 11:12:36 +01:00
magnetometer staging: iio: hmc5843_core: fix sparse warnings 2014-08-02 17:33:09 +01:00
meter iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained() 2014-06-14 16:25:59 +01:00
resolver staging: iio: adis16240: fix sparse warnings regarding incorrect argument type 2014-08-02 17:42:00 +01:00
trigger iio:trigger: Introduce the use of devm_kzalloc 2014-07-07 18:12:02 +01:00
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy_buffer.c staging:iio:simple-dummy: Remove redundant call to iio_sw_buffer_preenable() 2013-10-16 19:15:40 +01:00
iio_simple_dummy_events.c staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
iio_simple_dummy.c staging: iio: fix coding style by adding blank lines in iio_simple_dummy 2014-06-14 16:19:10 +01:00
iio_simple_dummy.h staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
Kconfig staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER 2014-06-07 11:45:21 +01:00
Makefile
ring_hw.h
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00