#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/regulator/of_regulator.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/mfd/tps65217.h>
Go to the source code of this file.
|
#define | TPS65217_REGULATOR(_name, _id, _ops, _n, _vr, _vm, _em, _t) |
|
#define | TPS65217_INFO(_nm, _min, _max, _f1, _f2) |
|
#define TPS65217_INFO |
( |
|
_nm, |
|
|
|
_min, |
|
|
|
_max, |
|
|
|
_f1, |
|
|
|
_f2 |
|
) |
| |
Value:{ \
.name = _nm, \
.min_uV = _min, \
.max_uV = _max, \
.vsel_to_uv = _f1, \
.uv_to_vsel = _f2, \
}
Definition at line 45 of file tps65217-regulator.c.
#define TPS65217_REGULATOR |
( |
|
_name, |
|
|
|
_id, |
|
|
|
_ops, |
|
|
|
_n, |
|
|
|
_vr, |
|
|
|
_vm, |
|
|
|
_em, |
|
|
|
_t |
|
) |
| |
Value:{ \
.name = _name, \
.id = _id, \
.ops = &_ops, \
.n_voltages = _n, \
.vsel_reg = _vr, \
.vsel_mask = _vm, \
.enable_mask = _em, \
.volt_table = _t, \
} \
Definition at line 30 of file tps65217-regulator.c.
MODULE_ALIAS |
( |
"platform:tps65217-pmic" |
| ) |
|
module_exit |
( |
tps65217_regulator_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
subsys_initcall |
( |
tps65217_regulator_init |
| ) |
|