#include <linux/module.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/slab.h>
#include <linux/regulator/max1586.h>
Go to the source code of this file.
#define I2C_V3_SELECT (0 << 5) |
#define I2C_V6_SELECT (1 << 5) |
#define MAX1586_V3_MAX_UV 1475000 |
#define MAX1586_V3_MAX_VSEL 31 |
#define MAX1586_V3_MIN_UV 700000 |
#define MAX1586_V6_MAX_UV 3000000 |
#define MAX1586_V6_MAX_VSEL 3 |
#define MAX1586_V6_MIN_UV 0 |
MODULE_AUTHOR |
( |
"Robert Jarzmik" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max1586_id |
|
|
) |
| |
module_exit |
( |
max1586_pmic_exit |
| ) |
|
subsys_initcall |
( |
max1586_pmic_init |
| ) |
|