#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include "pmbus.h"
Go to the source code of this file.
#define MAX8688_MFG_STATUS 0xd8 |
#define MAX8688_MFR_IOUT_PEAK 0xd5 |
#define MAX8688_MFR_TEMPERATURE_PEAK 0xd6 |
#define MAX8688_MFR_VOUT_PEAK 0xd4 |
#define MAX8688_STATUS_OC_FAULT (1 << 4) |
#define MAX8688_STATUS_OC_WARNING (1 << 12) |
#define MAX8688_STATUS_OT_FAULT (1 << 13) |
#define MAX8688_STATUS_OT_WARNING (1 << 14) |
#define MAX8688_STATUS_OV_FAULT (1 << 5) |
#define MAX8688_STATUS_OV_WARNING (1 << 8) |
#define MAX8688_STATUS_UC_FAULT (1 << 11) |
#define MAX8688_STATUS_UV_FAULT (1 << 9) |
#define MAX8688_STATUS_UV_WARNING (1 << 10) |
MODULE_AUTHOR |
( |
"Guenter Roeck" |
| ) |
|
MODULE_DESCRIPTION |
( |
"PMBus driver for Maxim MAX8688" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max8688_id |
|
|
) |
| |
module_i2c_driver |
( |
max8688_driver |
| ) |
|