1. 17 4月, 2016 1 次提交
    • L
      iio: light: new driver for the ROHM BH1780 · 1f0477f1
      Linus Walleij 提交于
      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 <arnd@arndb.de>
      Cc: Ulf Hansson <ulf.hansson@linaro.org>
      Cc: Daniel Mack <daniel@caiaq.de>
      Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: NUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      1f0477f1
  2. 24 9月, 2015 1 次提交
  3. 31 8月, 2015 1 次提交
  4. 21 7月, 2015 2 次提交
  5. 19 7月, 2015 2 次提交
  6. 05 7月, 2015 2 次提交
  7. 21 6月, 2015 2 次提交
  8. 11 5月, 2015 3 次提交
  9. 26 4月, 2015 2 次提交
  10. 15 3月, 2015 1 次提交
  11. 14 2月, 2015 2 次提交
  12. 28 1月, 2015 1 次提交
  13. 01 1月, 2015 1 次提交
  14. 08 11月, 2014 1 次提交
  15. 11 9月, 2014 1 次提交
  16. 07 7月, 2014 2 次提交
  17. 22 2月, 2014 1 次提交
  18. 13 1月, 2014 1 次提交
  19. 01 1月, 2014 1 次提交
  20. 03 12月, 2013 1 次提交
  21. 09 11月, 2013 1 次提交
  22. 18 10月, 2013 1 次提交
  23. 15 9月, 2013 3 次提交
  24. 04 8月, 2013 2 次提交
  25. 28 1月, 2013 1 次提交
  26. 27 12月, 2012 1 次提交
  27. 07 9月, 2012 1 次提交
  28. 13 7月, 2012 1 次提交
    • P
      iio: add adjd_s311 I2C digital color sensor driver · bbdb822c
      Peter Meerwald 提交于
      sensor has 4 channels (10-bit each, R/G/B and clear), sensitivity
      and gain is controlled in the driver by ext_info integration_time
      and CHAN_INFO_HARDWAREGAIN
      
      driver supports triggered buffer and IIO_CHAN_INFO_RAW to get the
      sensor data
      
      v5: address comments by Jonathan Cameron
      * use macro for channel declaration
      * get timestamp right before measurement
      * cleanups
      
      v4: address comments by Lars-Peter Clausen
      * make sure trigger handler is exited with iio_trigger_notify_done()
        and IRQ_HANDLED
      * kfree()/kalloc() -> krealloc()
      
      v3:
      * fix warnings
      
      v2: address comments by Lars-Peter Clausen
      * buffer allocation now in update_scan_mode instead of in trigger
        handler
      * simplify trigger code (assume active_scan_mask is not empty, use
        for_each_set_bit, use iio_push_to_buffer)
      * reorder entry in Makefile and Kconfig
      * fix remove
      Signed-off-by: NPeter Meerwald <pmeerw@pmeerw.net>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      bbdb822c