public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/5] BH1770GLC, SFH7770 and APDS990x als / proximity sensor drivers
@ 2010-10-08 13:41 Samu Onkalo
  2010-10-08 13:42 ` [PATCHv2 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor Samu Onkalo
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Samu Onkalo @ 2010-10-08 13:41 UTC (permalink / raw)
  To: linux-i2c, linux-kernel, jic23, alan

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-10-11 13:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-08 13:41 [PATCHv2 0/5] BH1770GLC, SFH7770 and APDS990x als / proximity sensor drivers Samu Onkalo
2010-10-08 13:42 ` [PATCHv2 1/5] misc: Driver for bh1770glc / sfh7770 ALS and proximity sensor Samu Onkalo
2010-10-08 14:35   ` Jonathan Cameron
2010-10-11  6:16     ` Onkalo Samu
2010-10-11 13:35       ` Jonathan Cameron
2010-10-08 13:42 ` [PATCHv2 2/5] misc: update bhsfh driver to Kconfig and Makefile Samu Onkalo
2010-10-08 14:25   ` Jonathan Cameron
2010-10-11  6:17     ` Onkalo Samu
2010-10-11 13:36       ` Jonathan Cameron
2010-10-09 23:43   ` Randy Dunlap
2010-10-08 13:42 ` [PATCHv2 3/5] misc: Driver for APDS990X ALS and proximity sensors Samu Onkalo
2010-10-08 14:46   ` Jonathan Cameron
2010-10-08 13:42 ` [PATCHv2 4/5] misc: update apds990x driver to Kconfig and Makefile Samu Onkalo
2010-10-09 23:43   ` Randy Dunlap
2010-10-08 13:42 ` [PATCHv2 5/5] Documentation: Short descriptions for bhsfh and apds990x drivers Samu Onkalo
2010-10-08 14:07   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox