[PATCHv2 0/5] BH1770GLC, SFH7770 and APDS990x als / proximity sensor drivers

From: Samu Onkalo
Date: Fri Oct 08 2010 - 09:43:40 EST


Patch set contains two drivers. One for BH1770GLC / SFH7770 chips and
one for APDS990X chip.

Both drivers have similar sysfs based interface. Both supports
pm_runtime and regulator frame work. There is short documentation
for both drivers.

Unfortunately I can't promise data sheets to public access.

Changes in patch set version 2:
- sysfs naming convention changed
- sysfs sensor_range entries added
- "xxx yyy" sysfs entries changes to two separate entries
- 10x sysfs entry replaced with %d.%d
- const added to tables
- meaning of rate entries changed to Hertz
- various mutex corrections and comments
- cleaned up bracket
- rate selection selects closest one instead strict match
- Documentation updated to match changes
- Some bug fixes which I noticed in tests
- Some code cleanup
- EAGAIN is not returned in sysfs read. Instead wait for result or
timeout with -EIO (something is broken if timeout happens)

Tested on top of 2.6.36-rc5

Samu Onkalo (5):
misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor
misc: update bhsfh driver to Kconfig and Makefile
misc: Driver for APDS990X ALS and proximity sensors
misc: update apds990x driver to Kconfig and Makefile
Documentation: Short descriptions for bhsfh and apds990x drivers

Documentation/misc-devices/apds990x.txt | 152 ++++
Documentation/misc-devices/bhsfh.txt | 148 ++++
drivers/misc/Kconfig | 21 +
drivers/misc/Makefile | 2 +
drivers/misc/apds990x.c | 1303 ++++++++++++++++++++++++++++
drivers/misc/bhsfh.c | 1443 +++++++++++++++++++++++++++++++
include/linux/i2c/apds990x.h | 58 ++
include/linux/i2c/bhsfh.h | 42 +
8 files changed, 3169 insertions(+), 0 deletions(-)
create mode 100644 Documentation/misc-devices/apds990x.txt
create mode 100644 Documentation/misc-devices/bhsfh.txt
create mode 100644 drivers/misc/apds990x.c
create mode 100644 drivers/misc/bhsfh.c
create mode 100644 include/linux/i2c/apds990x.h
create mode 100644 include/linux/i2c/bhsfh.h

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