#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>
#include "lm75.h"
Go to the source code of this file.
#define ALARMS_FROM_REG |
( |
|
val | ) |
|
#define DS1621_ALARM_TEMP_HIGH 0x40 |
#define DS1621_ALARM_TEMP_LOW 0x20 |
#define DS1621_COM_START 0xEE /* no data */ |
#define DS1621_COM_STOP 0x22 /* no data */ |
#define DS1621_REG_CONF 0xAC /* byte, RW */ |
#define DS1621_REG_CONFIG_1SHOT 0x01 |
#define DS1621_REG_CONFIG_DONE 0x80 |
#define DS1621_REG_CONFIG_NVB 0x10 |
#define DS1621_REG_CONFIG_POLARITY 0x02 |
MODULE_DESCRIPTION |
( |
"DS1621 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ds1621_id |
|
|
) |
| |
module_i2c_driver |
( |
ds1621_driver |
| ) |
|