Changeset 801

Show
Ignore:
Timestamp:
05/11/00 03:35:22 (9 years ago)
Author:
mds
Message:

(mds) Add adm1025 driver from Chen-Yuan Wu.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r800 r801  
    1515 
    16162.5.1 (2000????) 
     17  Module adm1025: new 
    1718  Module ddcmon: Fixed bus scan which could hang SMBus 
    1819  Module maxilife: Add support for Maxilife '99 (NBA) 
  • lm-sensors/trunk/CONTRIBUTORS

    r758 r801  
    5353  Designed the i2c structs, which made it possible to use the smbus-is- 
    5454  just-an-i2c-extension approach. 
     55* Chen-Yuan Wu <gwu@esoft.com> 
     56  Author of the adm1025 driver. 
  • lm-sensors/trunk/README

    r793 r801  
    4949 
    5050At least the following hardware sensor chips are supported: 
    51   Analog Devices ADM1021, ADM1022, and ADM9240 
     51  Analog Devices ADM1021, ADM1022, ADM1025, and ADM9240 
    5252  Asus AS99127F 
    5353  Dallas Semiconductor DS1780, DS75, and DS1775 
  • lm-sensors/trunk/doc/chips/SUMMARY

    r797 r801  
    4646        xeon            1       -       -       -       yes     no 
    4747          (xeon - no detection - requires force parameter) 
     48 
     49adm1025 
     50        adm1025         2       6       -       -       yes     no 
    4851 
    4952adm9240 
  • lm-sensors/trunk/kernel/chips/Module.mk

    r742 r801  
    2828                      $(MODULE_DIR)/thmc50.o \ 
    2929                      $(MODULE_DIR)/via686a.o \ 
    30                       $(MODULE_DIR)/ddcmon.o 
     30                      $(MODULE_DIR)/ddcmon.o \ 
     31                      $(MODULE_DIR)/adm1025.o 
    3132ifneq ($(shell if grep -q '^CONFIG_SENSORS_ADM1021=y' $(LINUX)/.config; then echo 1; fi),1) 
    3233KERNELCHIPSTARGETS += $(MODULE_DIR)/adm1021.o 
  • lm-sensors/trunk/kernel/include/sensors.h

    r790 r801  
    376376#define I2C_DRIVERID_DDCMON 1018 
    377377#define I2C_DRIVERID_VIA686A 1019 
     378#define I2C_DRIVERID_ADM1025 1020 
    378379 
    379380/* Sysctl IDs */ 
     
    577578#define ADM9240_ALARM_CHAS 0x1000 
    578579 
     580#define ADM1025_SYSCTL_IN0 1000 /* Volts * 100 */ 
     581#define ADM1025_SYSCTL_IN1 1001 
     582#define ADM1025_SYSCTL_IN2 1002 
     583#define ADM1025_SYSCTL_IN3 1003 
     584#define ADM1025_SYSCTL_IN4 1004 
     585#define ADM1025_SYSCTL_IN5 1005 
     586#define ADM1025_SYSCTL_RTEMP 1251 
     587#define ADM1025_SYSCTL_TEMP 1250        /* Degrees Celcius * 100 */ 
     588#define ADM1025_SYSCTL_ALARMS 2001      /* bitvector */ 
     589#define ADM1025_SYSCTL_ANALOG_OUT 2002 
     590#define ADM1025_SYSCTL_VID 2003 
     591 
     592#define ADM1025_ALARM_IN0 0x0001 
     593#define ADM1025_ALARM_IN1 0x0002 
     594#define ADM1025_ALARM_IN2 0x0004 
     595#define ADM1025_ALARM_IN3 0x0008 
     596#define ADM1025_ALARM_IN4 0x0100 
     597#define ADM1025_ALARM_IN5 0x0200 
     598#define ADM1025_ALARM_RTEMP 0x0020 
     599#define ADM1025_ALARM_TEMP 0x0010 
     600 
    579601#define LTC1710_SYSCTL_SWITCH_1 1000 
    580602#define LTC1710_SYSCTL_SWITCH_2 1001