mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
(mds) add ds1621 driver from Christian Zuckschwerdt (zany@triq.net)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@935 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
bd1b923045
commit
bb4b723e68
14 files changed
+694
-6
No files matched your search
+16
@@ -1972,6 +1972,21 @@ static sensors_chip_feature mtp008_features[] =
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static sensors_chip_feature ds1621_features[] =
|
||||
{
|
||||
{ SENSORS_DS1621_TEMP, "temp", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, DS1621_SYSCTL_TEMP, VALUE(3), 1 },
|
||||
{ SENSORS_DS1621_TEMP_HYST, "temp_hyst", SENSORS_DS1621_TEMP,
|
||||
SENSORS_DS1621_TEMP, SENSORS_MODE_RW,
|
||||
DS1621_SYSCTL_TEMP, VALUE(2), 1 },
|
||||
{ SENSORS_DS1621_TEMP_OVER, "temp_over", SENSORS_DS1621_TEMP,
|
||||
SENSORS_DS1621_TEMP, SENSORS_MODE_RW,
|
||||
DS1621_SYSCTL_TEMP, VALUE(1), 1 },
|
||||
{ SENSORS_DS1621_ALARMS, "alarms", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, DS1621_SYSCTL_ALARMS, VALUE(1), 0 },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
sensors_chip_features sensors_chip_features_list[] =
|
||||
{
|
||||
{ SENSORS_LM78_PREFIX, lm78_features },
|
||||
@@ -2014,5 +2029,6 @@ sensors_chip_features sensors_chip_features_list[] =
|
||||
{ SENSORS_EEPROM_PREFIX, eeprom_features },
|
||||
{ SENSORS_LM87_PREFIX, lm87_features },
|
||||
{ SENSORS_MTP008_PREFIX, mtp008_features },
|
||||
{ SENSORS_DS1621_PREFIX, ds1621_features },
|
||||
{ 0 }
|
||||
};
|
||||
@@ -901,4 +901,13 @@
|
||||
#define SENSORS_MTP008_ALARMS 81 /* R */
|
||||
#define SENSORS_MTP008_BEEP 82 /* RW */
|
||||
|
||||
/* DS1621 chips. */
|
||||
|
||||
#define SENSORS_DS1621_PREFIX "ds1621"
|
||||
|
||||
#define SENSORS_DS1621_TEMP 51 /* R */
|
||||
#define SENSORS_DS1621_TEMP_HYST 52 /* RW */
|
||||
#define SENSORS_DS1621_TEMP_OVER 53 /* RW */
|
||||
#define SENSORS_DS1621_ALARMS 81 /* R */
|
||||
|
||||
#endif /* def LIB_SENSORS_CHIPS_H */
|
||||
Reference in new issue
Block a user