1. 17 Apr, 2019 2 commits
  2. 08 Apr, 2013 1 commit
    • Lars-Peter Clausen's avatar
      hwmon: (adt7410) Add support for the adt7310/adt7320 · 51c2a487
      Lars-Peter Clausen authored
      The adt7310/adt7320 is the SPI version of the adt7410/adt7420. The register map
      layout is a bit different, i.e. the register addresses differ between the two
      variants, but the bit layouts of the individual registers are identical. So both
      chip variants can easily be supported by the same driver. The issue of non
      matching register address layouts is solved by a simple look-up table which
      translates the I2C addresses to the SPI addresses.
      The patch moves the bulk of the adt7410 driver to a common module that will be
      shared by the adt7410 and adt7310 drivers. This common module implements the
      driver logic and uses a set of virtual functions to perform IO access. The
      adt7410 and adt7310 driver modules provide proper implementations of these IO
      accessor functions for I2C respective SPI.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Reviewed-by: default avatarHartmut Knaack <knaack.h@gmx.de>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
  3. 04 Mar, 2013 1 commit
  4. 24 Sep, 2012 1 commit
    • Hartmut Knaack's avatar
      hwmon: Driver for ADT7410 · 983b97be
      Hartmut Knaack authored
      This patch brings basic support for the Analog Devices ADT7410 temperature
      sensor. The following functionality has been implemented:
        * get current temperature
        * get/set minimum, maximum and critical temperature
        * get/set hysteresis
        * get alarm events for minimum, maximum and critical temperature
      All implemented sysfs attributes have been sucessfully tested at temperatures
      of 15°C to 40°C.
      Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>