1. 06 12月, 2012 2 次提交
    • G
      hwmon: (coretemp) Drop dependency on PCI for TjMax detection on Atom CPUs · 72cbdddc
      Guenter Roeck 提交于
      So far, we use the NM10 Express Chipset PCI chip ID to detect TjMax for
      Atom CPUs with model 0x1c. As it turns out, we can use the CPU stepping
      (x86_mask) for the same purpose; stepping is 10 for all model 0x1c CPUs
      with TjMax of 100 degrees C. This was verified by checking the output of
      /proc/cpuinfo for the respective CPUs (D4xx, D5xx, N4xx, N5xx).
      
      Other CPUs currently covered by the same code (Exx, Z6xx, Z2460) are not
      supported by the NM10 Express Chipset. Most of those CPUs have TjMax of 90
      degrees C, except for E6xxT models which have a TjMax of 110 degrees C.
      E6xxT CPUs can however not be detected by software.
      
      Calculate TjMax for Atom CPUs as follows. Note that the listed values are not
      correct in some cases (230, 330). tjmax_table is used for those to override
      the default values.
      
      ID	Stepping	TjMax		Models
      0x1c	10		100		D4xx, N4xx, D5xx, N5xx
      0x1c	not 10		90		Z5xx, N2xx, 230, 330, others
      0x26	-		90		Atom Tunnel Creek (Exx),
      					Lincroft (Z6xx)
      0x27	-		90		Atom Medfield (Z2460)
      0x36	-		100		Atom Cedar Trail (N2xxx, D2xxx)
      
      Also drop the module dependency on PCI.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      72cbdddc
    • G
      hwmon: (ads7828) add support for ADS7830 · 0962e0f1
      Guillaume Roguez 提交于
      The ADS7830 device is almost the same as the ADS7828,
      except that it does 8-bit sampling, instead of 12-bit.
      This patch extends the ads7828 driver to support this chip.
      Signed-off-by: NGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
      Signed-off-by: NVivien Didelot <vivien.didelot@savoirfairelinux.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      0962e0f1
  2. 24 9月, 2012 9 次提交
  3. 22 7月, 2012 2 次提交
  4. 30 5月, 2012 1 次提交
  5. 22 5月, 2012 1 次提交
  6. 16 4月, 2012 1 次提交
  7. 02 4月, 2012 3 次提交
    • A
      hwmon: (k10temp) Add support for AMD Trinity CPUs · fbc729a4
      Andre Przywara 提交于
      The on-chip northbridge's temperature sensor of the upcoming
      AMD Trinity CPUs works the same as for the previous CPUs.
      Since it has a different PCI-ID, we just add the new one to the list
      supported by k10temp.
      This allows to use the k10temp driver on those CPUs.
      Signed-off-by: NAndre Przywara <andre.przywara@amd.com>
      Cc: stable@vger.kernel.org # 3.0+
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      fbc729a4
    • G
      hwmon: (sht15) Fix Kconfig dependencies · be45d422
      Guenter Roeck 提交于
      sht15 depends on GPIOLIB, not on GENERIC_GPIO.
      
      This fixes the following build error, seen if GPIOLIB is not defined:
      
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_direction_input': => 293:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_direction_output': => 216:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_free': => 1000:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_get_value': => 296:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_request': => 946:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_set_value': => 218:2
      src/drivers/hwmon/sht15.c: error: implicit declaration of function 'gpio_to_irq': => 514:2
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      be45d422
    • G
      hwmon: (gpio-fan) Fix Kconfig dependencies · c1a12602
      Guenter Roeck 提交于
      gpio-fan depends on GPIOLIB, not on GENERIC_GPIO.
      
      This fixes the following build error, seen if GPIOLIB is not defined:
      
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_direction_output': => 372:3
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_free': => 130:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_get_value': => 79:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_request': => 98:2
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_set_value': => 156:3
      src/drivers/hwmon/gpio-fan.c: error: implicit declaration of function 'gpio_to_irq': => 114:2
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NSimon Guinot <sguinot@lacie.com>
      c1a12602
  8. 23 3月, 2012 4 次提交
  9. 20 3月, 2012 1 次提交
    • H
      hwmon: (sch56xx) Add support for the integrated watchdog (v2) · 312869ec
      Hans de Goede 提交于
      Add support for the watchdog integrated into the SMSC SCH5627 and
      SCH5636 superio-s. Since the watchdog is part of the hwmon logical device
      and thus shares ioports with it, the watchdog driver is integrated into the
      existing hwmon drivers for these.
      
      Note that this version of the watchdog support for sch56xx superio-s
      implements the watchdog chardev interface itself, rather then relying on
      the recently added watchdog core / watchdog_dev. This is done because
      currently some needed functionality is missing from watchdog_dev, as soon
      as this functionality is added (which is being discussed on the
      linux-watchdog mailinglist), I'll convert this driver over to using
      watchdog_dev.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      [guenter.roeck@ericsson.com: Added missing linux/slab.h include]
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      312869ec
  10. 19 3月, 2012 1 次提交
  11. 08 3月, 2012 2 次提交
  12. 17 1月, 2012 2 次提交
  13. 06 1月, 2012 1 次提交
  14. 17 11月, 2011 1 次提交
  15. 04 11月, 2011 2 次提交
  16. 25 10月, 2011 3 次提交
  17. 29 7月, 2011 1 次提交
  18. 28 7月, 2011 3 次提交