1. 03 1月, 2018 1 次提交
  2. 30 10月, 2017 2 次提交
  3. 01 9月, 2017 1 次提交
  4. 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
  5. 31 5月, 2017 1 次提交
  6. 01 5月, 2017 1 次提交
  7. 11 4月, 2017 1 次提交
  8. 03 2月, 2017 1 次提交
  9. 10 12月, 2016 2 次提交
  10. 03 12月, 2016 1 次提交
  11. 13 9月, 2016 1 次提交
  12. 09 9月, 2016 3 次提交
  13. 20 7月, 2016 1 次提交
  14. 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
  15. 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
  16. 28 6月, 2016 4 次提交
  17. 19 4月, 2016 3 次提交
  18. 09 3月, 2016 1 次提交
  19. 05 3月, 2016 2 次提交
  20. 19 12月, 2015 2 次提交
  21. 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
  22. 16 11月, 2015 1 次提交
  23. 14 10月, 2015 1 次提交
  24. 09 10月, 2015 1 次提交
  25. 13 9月, 2015 1 次提交
  26. 10 8月, 2015 1 次提交
  27. 22 6月, 2015 1 次提交
  28. 01 6月, 2015 2 次提交