]> Git Repo - linux.git/commit - drivers/iio/light/Makefile
iio: light: new driver for the ROHM BH1780
authorLinus Walleij <[email protected]>
Mon, 11 Apr 2016 12:12:04 +0000 (14:12 +0200)
committerJonathan Cameron <[email protected]>
Sat, 16 Apr 2016 19:51:50 +0000 (20:51 +0100)
commit1f0477f18306c018a954e4f333690a9d0f7efc76
tree9a63efe0dbd980be95e14f1a4c60d940c103673f
parentaa0eb886be79eb785bf675bd8031ec1611d3295a
iio: light: new driver for the ROHM BH1780

This is a reimplementation of the old misc device driver for the
ROHM BH1780 ambient light sensor (drivers/misc/bh1780gli.c).

Differences from the old driver:
- Uses the IIO framework
- Uses runtime PM to idle the hardware after 5 seconds
- No weird custom power management from userspace
- No homebrewn values in sysfs

This uses the same (undocumented) device tree compatible-string
as the old driver ("rohm,bh1780gli").

Cc: Arnd Bergmann <[email protected]>
Cc: Ulf Hansson <[email protected]>
Cc: Daniel Mack <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/bh1780.c [new file with mode: 0644]
This page took 0.042046 seconds and 4 git commands to generate.