#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>
Go to the source code of this file.
#define MAX6642_REG_R_CONFIG 0x03 |
#define MAX6642_REG_R_LOCAL_HIGH 0x05 |
#define MAX6642_REG_R_LOCAL_TEMP 0x00 |
#define MAX6642_REG_R_LOCAL_TEMPL 0x11 |
#define MAX6642_REG_R_MAN_ID 0xFE |
#define MAX6642_REG_R_REMOTE_HIGH 0x07 |
#define MAX6642_REG_R_REMOTE_TEMP 0x01 |
#define MAX6642_REG_R_REMOTE_TEMPL 0x10 |
#define MAX6642_REG_R_STATUS 0x02 |
#define MAX6642_REG_W_CONFIG 0x09 |
#define MAX6642_REG_W_LOCAL_HIGH 0x0B |
#define MAX6642_REG_W_REMOTE_HIGH 0x0D |
MODULE_DESCRIPTION |
( |
"MAX6642 sensor driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max6642_id |
|
|
) |
| |
module_i2c_driver |
( |
max6642_driver |
| ) |
|