1. 17 6月, 2009 1 次提交
  2. 14 4月, 2009 1 次提交
    • J
      hwmon: sht15 humidity sensor driver · 251eb40f
      Jonathan Cameron 提交于
      Data sheet at:
      http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf
      
      These sensors communicate over a 2 wire bus running a device specific
      protocol.  The complexity of the driver is mainly due to handling the
      substantial delays between requesting a reading and the device pulling the
      data line low to indicate that the data is available.  This is handled by
      an interrupt that is disabled under all other conditions.
      
      I wasn't terribly clear on the best way to handle this, so comments on
      that aspect would be particularly welcome!
      
      Interpretation of the temperature depends on knowing the supply voltage.
      If configured in a board config as a regulator consumer this is obtained
      from the regulator subsystem.  If not it should be provided in the
      platform data.
      
      I've placed this driver in the hwmon subsystem as it is definitely a
      device that may be used for hardware monitoring and with it's relatively
      slow response times (up to 120 millisecs to get a reading) a caching
      strategy certainly seems to make sense!
      Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      251eb40f
  3. 07 4月, 2009 2 次提交
  4. 01 4月, 2009 3 次提交
  5. 31 3月, 2009 4 次提交
  6. 12 3月, 2009 1 次提交
  7. 16 1月, 2009 2 次提交
  8. 07 1月, 2009 6 次提交
  9. 13 11月, 2008 2 次提交
  10. 17 10月, 2008 2 次提交
  11. 24 9月, 2008 1 次提交
  12. 25 8月, 2008 1 次提交
  13. 15 8月, 2008 1 次提交
    • M
      hwmon: ADC124S501 generic driver · d42139a3
      Marc Pignat 提交于
      SPI driver for analog to digital converters national semiconductor
      ADC081S101, ADC124S501, ...
      
      Code for 8 channels by Tobias Himmer.
      
      This driver adds support for National Semiconductor ADC<bb><c>S<sss> chip
      family, where:
      
       * bb  is the resolution in number of bits (8, 10, 12)
       * c   is the number of channels (1, 2, 4, 8)
       * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
         kSPS and 101 for 1 MSPS)
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NMarc Pignat <marc.pignat@hevs.ch>
      Cc: Tobias Himmer <tobias@himmer-online.de>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Jean Delvare <khali@linux-fr.org>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d42139a3
  14. 07 8月, 2008 3 次提交
  15. 01 8月, 2008 2 次提交
    • D
      hwmon: (lm75) add new-style driver binding · 9ebd3d82
      David Brownell 提交于
      More LM75 updates:
      
       - Teach the LM75 driver to use new-style driver binding:
      
           * Create a second driver struct, using new-style driver binding
             methods cribbed from the legacy code.
      
           * Add a MODULE_DEVICE_TABLE (for "newER-style binding")
      
           * The legacy probe logic delegates its work to this new code.
      
           * The legacy driver now uses the name "lm75_legacy".
      
       - More careful initialization.  Chips are put into 9-bit mode so
         the current interconversion routines will never fail.
      
       - Save the original chip configuration, and restore it on exit.
         (Among other things, this normally turns off the mode where
         the chip is constantly sampling ... and thus saves power.)
      
      So the new-style code should catch all chips that boards declare,
      while the legacy code catches others.  This particular coexistence
      strategy may need some work yet ... legacy modes might best be set
      up explicitly by some tool not unlike "sensors-detect".  (Or else
      completely eradicated...)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      9ebd3d82
    • D
      hwmon: (lm75) cleanup/reorg · 01a52397
      David Brownell 提交于
      Minor cleanup and reorg of the lm75 code.
      
       - Kconfig provides a larger list of lm75-compatible chips
      
       - A top comment now says what the driver does (!) ... as in, just
         what sort of sensor is this??
      
       - Section comments now delineate the various sections of the driver:
         hwmon attributes, driver binding, register access, module glue.
         One driver binding function moved out of the attribute section,
         as did the driver struct itself.
      
       - Minor tweaks to legacy probe logic:  correct a comment, and
         remove a pointless variable.
      
       - Whitespace, linelength, and comment fixes.
      
      This patch should include no functional changes.  It's preparation
      for adding new-style (driver model) I2C driver binding.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NLaurent Pinchart <laurentp@cse-semaphore.com>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      01a52397
  16. 25 5月, 2008 1 次提交
  17. 20 3月, 2008 1 次提交
  18. 19 2月, 2008 1 次提交
  19. 08 2月, 2008 4 次提交
  20. 08 11月, 2007 1 次提交