mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-25 12:14:33 +00:00
GL518SM driver
To be done: support for GL518SM revision 0x80 and GL520SM Kyösti, if you have some time soon, could you please test it? git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@56 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
0e8799ff27
commit
5dd41b1046
10 files changed
+1332
-15
No files matched your search
@@ -83,6 +83,7 @@ extern void sensors_deregister_entry(int id);
|
||||
#define I2C_DRIVERID_I2CPROC 1001
|
||||
#define I2C_DRIVERID_LM78 1002
|
||||
#define I2C_DRIVERID_LM75 1003
|
||||
#define I2C_DRIVERID_GL518 1004
|
||||
|
||||
/* Sysctl IDs */
|
||||
#ifdef DEV_HWMON
|
||||
@@ -131,4 +132,22 @@ struct sensors_chips_data {
|
||||
|
||||
#define LM75_SYSCTL_TEMP 1200 /* Degrees Celcius * 10 */
|
||||
|
||||
#define GL518_SYSCTL_VDD 1000 /* Volts * 100 */
|
||||
#define GL518_SYSCTL_VIN1 1001
|
||||
#define GL518_SYSCTL_VIN2 1002
|
||||
#define GL518_SYSCTL_VIN3 1003
|
||||
#define GL518_SYSCTL_FAN1 1101 /* RPM */
|
||||
#define GL518_SYSCTL_FAN2 1102
|
||||
#define GL518_SYSCTL_TEMP 1200 /* Degrees Celcius * 10 */
|
||||
#define GL518_SYSCTL_FAN_DIV 2000 /* 1, 2, 4 or 8 */
|
||||
#define GL518_SYSCTL_ALARMS 2001 /* bitvector */
|
||||
|
||||
#define GL518_ALARM_VDD 0x01
|
||||
#define GL518_ALARM_VIN1 0x02
|
||||
#define GL518_ALARM_VIN2 0x04
|
||||
#define GL518_ALARM_VIN3 0x08
|
||||
#define GL518_ALARM_TEMP 0x10
|
||||
#define GL518_ALARM_FAN1 0x20
|
||||
#define GL518_ALARM_FAN2 0x40
|
||||
|
||||
#endif /* def SENSORS_SENSORS_H */
|
||||
Reference in new issue
Block a user