1. 11 1月, 2010 5 次提交
  2. 18 12月, 2009 1 次提交
  3. 17 12月, 2009 7 次提交
  4. 16 12月, 2009 11 次提交
  5. 15 12月, 2009 4 次提交
  6. 10 12月, 2009 12 次提交
    • J
      hwmon: (adt7475) Add VID support for the ADT7476 · 54fe4671
      Jean Delvare 提交于
      The ADT7476 has 5 dedicated pins for VID input, and the +12V input can
      optionally be used as a 6th VID pin. Add support for VID input.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      54fe4671
    • J
      hwmon: (adt7475) Add support for the ADT7476 · d8d2ee07
      Jean Delvare 提交于
      Add support for the Analog Devices ADT7476 chip. This chip is largely
      compatible with the ADT7473 and ADT7475, with additional features.
      In particular, it has 5 voltage inputs instead of 2, and VID input
      pins.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      d8d2ee07
    • J
      hwmon: (adt7475) Voltage attenuators can be bypassed · ebfaf1fb
      Jean Delvare 提交于
      It is possible to bypass the voltage attenuators on the +2.5V, Vccp,
      +5V and +12V voltage monitoring inputs. This is useful to connect
      other voltage channels than the ones the monitoring chip was
      originally designed for. When this feature is enabled, we must not
      include the scaling factors in our computations.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      ebfaf1fb
    • J
      hwmon: (adt7475) Print device information on probe · d07ca4ad
      Jean Delvare 提交于
      Print the device name and revision at probe time, as well as a list of
      all optional features which are available.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      d07ca4ad
    • J
      hwmon: (adt7475) Handle alternative pin functions · 378933c9
      Jean Delvare 提交于
      The TACH4 pin can be used for other functions, so fan4 may not always
      be available. Likewise, the PWM2 pin can be used for ALERT output, in
      which case pwm2 is not available
      
      For the ADT7490, the +2.5 Vin pin may also be used for other
      functions, in which case in0 is not available.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      378933c9
    • J
      hwmon: (adt7475) Move sysfs files removal to a separate function · 0f14480b
      Jean Delvare 提交于
      Move sysfs files removal to a separate function. The code is common to
      the device probing error path and the standard device removal path. As
      it will grow with future driver development, this avoids code
      duplication.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      0f14480b
    • J
      hwmon: (adt7475) Add support for the ADT7490 · 3d849981
      Jean Delvare 提交于
      Add support for the Analog Devices ADT7490 chip. This chip is largely
      compatible with the ADT7473 and ADT7475, with additional features.
      In particular, it has 6 voltage inputs instead of 2.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      3d849981
    • J
      hwmon: (adt7475) Improve device detection · d656b6fd
      Jean Delvare 提交于
      Check the value of register 0x3f as part of the device detection, to
      make it more robust.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      d656b6fd
    • J
      hwmon: (adt7475) Add missing static marker · 54ecb9e3
      Jean Delvare 提交于
      adt7475_attr_group is used internally only and can thus be marked
      static.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      54ecb9e3
    • J
      hwmon: (adt7475) Rework voltage inputs handling · cffb9dd0
      Jean Delvare 提交于
      Rework the handling of voltage inputs to make it possible and easy to
      support more inputs. This will be needed for the upcoming ADT7490
      support.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      cffb9dd0
    • J
      hwmon: (adt7475) Implement pwm_use_point2_pwm_at_crit · f99318b2
      Jean Delvare 提交于
      Implement the non-standard pwm_use_point2_pwm_at_crit sysfs attribute
      as the adt7473 driver did.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      f99318b2
    • J
      hwmon: (adt7475) Add support for the ADT7473 · b180d050
      Jean Delvare 提交于
      Add support for the ADT7473 to the adt7475 driver, and mark the
      adt7473 driver for removal. The ADT7473 and ADT7475 chips are almost
      the same chip and essentially compatible, so there's no point in
      having separate drivers for them.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Jordan Crouse <jordan@cosmicpenguin.net>
      Cc: "Darrick J. Wong" <djwong@us.ibm.com>
      b180d050