1. 30 10月, 2017 1 次提交
  2. 01 9月, 2017 1 次提交
  3. 15 8月, 2017 1 次提交
    • A
      hwmon: (aspeed-pwm) add THERMAL dependency · d5553c26
      Arnd Bergmann 提交于
      With CONFIG_THERMAL=m, a built-in aspeed pwm tacho driver causes
      a link error:
      
      drivers/hwmon/aspeed-pwm-tacho.o: In function `aspeed_pwm_tacho_probe':
      aspeed-pwm-tacho.c:(.text+0x7f0): undefined reference to `thermal_of_cooling_device_register'
      
      This adds a dependency similar to what other hwmon drivers use,
      ensuring that the aspeed driver cannot be built-in in this
      case but has to be a module. With THERMAL=n, we still allow building it.
      
      Fixes: 2d7a548a ("drivers: hwmon: Support for ASPEED PWM/Fan tach")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      d5553c26
  4. 31 5月, 2017 1 次提交
  5. 01 5月, 2017 1 次提交
  6. 11 4月, 2017 1 次提交
  7. 03 2月, 2017 1 次提交
  8. 10 12月, 2016 2 次提交
  9. 03 12月, 2016 1 次提交
  10. 13 9月, 2016 1 次提交
  11. 09 9月, 2016 3 次提交
  12. 20 7月, 2016 1 次提交
  13. 13 7月, 2016 1 次提交
    • G
      hwmon: (tmp102) Convert to use regmap, and drop local cache · 28a340db
      Guenter Roeck 提交于
      By converting the driver to regmap, we can use regmap to cache non-volatile
      registers. Stop caching the temperature register; while potentially reading
      it more often can result in reading it more often than necessary, this is
      offset by the gain due to not re-reading the limit registers.
      
      A positive side effect of this change is that limit registers can now be
      read and updated before the first temperature conversion is complete.
      Acked-by: NNishanth Menon <nm@ti.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      28a340db
  14. 09 7月, 2016 1 次提交
    • G
      hwmon: (lm75) Convert to use regmap · e65365fe
      Guenter Roeck 提交于
      Convert to use regmap. Leave caching to regmap and drop the register
      update function. While this can result in additional read operations
      if the temperature register is read continuously, it avoids re-reading
      the limit registers and thus overall reduces complexity.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      e65365fe
  15. 28 6月, 2016 4 次提交
  16. 19 4月, 2016 3 次提交
  17. 09 3月, 2016 1 次提交
  18. 05 3月, 2016 2 次提交
  19. 19 12月, 2015 2 次提交
  20. 17 11月, 2015 1 次提交
    • A
      hwmon: (scpi) add thermal-of dependency · d42d5b6f
      Arnd Bergmann 提交于
      The newly added scpi thermal support is broken when the scpi driver
      is built-in but the thermal driver is a loadable module:
      
      drivers/built-in.o: In function `scpi_hwmon_probe':
      (.text+0x444d70): undefined reference to `thermal_zone_of_sensor_unregister'
      (.text+0x444d94): undefined reference to `thermal_zone_of_sensor_register'
      drivers/built-in.o: In function `scpi_hwmon_remove':
      (text+0x444e6c): undefined reference to `thermal_zone_of_sensor_unregister'
      
      This uses the same Kconfig trick that we have in a couple of other
      drivers already to ensure we can only select the driver in valid
      configurations when either THERMAL_OF is disabled, or when with a
      dependency on CONFIG_THERMAL that can force SCPI to be a loadable
      module in the case I was hitting.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 68acc77a ("hwmon: Support thermal zones registration for SCP temperature sensors")
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      d42d5b6f
  21. 16 11月, 2015 1 次提交
  22. 14 10月, 2015 1 次提交
  23. 09 10月, 2015 1 次提交
  24. 13 9月, 2015 1 次提交
  25. 10 8月, 2015 1 次提交
  26. 22 6月, 2015 1 次提交
  27. 01 6月, 2015 2 次提交
  28. 25 5月, 2015 1 次提交
    • P
      hwmon: Allow to compile dell-smm-hwmon driver without /proc/i8k · 039ae585
      Pali Rohár 提交于
      This patch splits CONFIG_I8K compile option to SENSORS_DELL_SMM and CONFIG_I8K.
      Option SENSORS_DELL_SMM is now used to enable compilation of dell-smm-hwmon
      driver and old CONFIG_I8K option to enable /proc/i8k interface in driver.
      
      So this change allows to compile dell-smm-hwmon driver without legacy /proc/i8k
      interface which is needed only for old Dell Inspirion models or for userspace
      i8kutils package.
      
      For backward compatibility when CONFIG_I8K is enabled then also SENSORS_DELL_SMM
      is enabled and so driver dell-smm-hwmon (with /proc/i8k) is compiled.
      Signed-off-by: NPali Rohár <pali.rohar@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      039ae585
  29. 05 4月, 2015 1 次提交