]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: isl29028: add isl29030 support
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>
Fri, 28 Apr 2017 15:55:58 +0000 (17:55 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 30 Apr 2017 16:26:04 +0000 (17:26 +0100)
commite530cc8408770e6451e4d5c5e8a2a45132689cc1
tree8bb08850cfa4d97cd3aefc8813c6608d5dfc3b16
parentd532e5b2bc4724b3c493c1be58e3f1686c1e4fe7
iio: isl29028: add isl29030 support

isl29030 is basically the same chip. The only difference
is the chip's first pin. For isl29028 its named ADDR0 and
can be used to change the chip's i2c address. For isl29030
on the other hand that pin is named Ials and is an analog
current output proportional to ALS/IR. This change is
irrelevant for the Linux driver.

This has been tested on Motorola Droid 4.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/i2c/trivial-devices.txt
drivers/iio/light/isl29028.c