.. | .. |
---|
8 | 8 | // Copyright (c) 2012 Marvell Technology Ltd. |
---|
9 | 9 | // Yunfan Zhang <yfzhang@marvell.com> |
---|
10 | 10 | |
---|
11 | | -#include <linux/module.h> |
---|
12 | | -#include <linux/param.h> |
---|
| 11 | +#include <linux/bits.h> |
---|
13 | 12 | #include <linux/err.h> |
---|
| 13 | +#include <linux/i2c.h> |
---|
| 14 | +#include <linux/module.h> |
---|
| 15 | +#include <linux/of_device.h> |
---|
| 16 | +#include <linux/param.h> |
---|
14 | 17 | #include <linux/platform_device.h> |
---|
| 18 | +#include <linux/regmap.h> |
---|
15 | 19 | #include <linux/regulator/driver.h> |
---|
| 20 | +#include <linux/regulator/fan53555.h> |
---|
16 | 21 | #include <linux/regulator/machine.h> |
---|
17 | 22 | #include <linux/regulator/of_regulator.h> |
---|
18 | | -#include <linux/of_device.h> |
---|
19 | | -#include <linux/i2c.h> |
---|
20 | 23 | #include <linux/slab.h> |
---|
21 | | -#include <linux/regmap.h> |
---|
22 | | -#include <linux/regulator/fan53555.h> |
---|
23 | 24 | |
---|
24 | 25 | /* Voltage setting */ |
---|
25 | 26 | #define FAN53555_VSEL0 0x00 |
---|