#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/mfd/core.h>
#include <linux/mfd/lp8788.h>
#include <linux/module.h>
#include <linux/slab.h>
Go to the source code of this file.
|
int | lp8788_read_byte (struct lp8788 *lp, u8 reg, u8 *data) |
|
| EXPORT_SYMBOL_GPL (lp8788_read_byte) |
|
int | lp8788_read_multi_bytes (struct lp8788 *lp, u8 reg, u8 *data, size_t count) |
|
| EXPORT_SYMBOL_GPL (lp8788_read_multi_bytes) |
|
int | lp8788_write_byte (struct lp8788 *lp, u8 reg, u8 data) |
|
| EXPORT_SYMBOL_GPL (lp8788_write_byte) |
|
int | lp8788_update_bits (struct lp8788 *lp, u8 reg, u8 mask, u8 data) |
|
| EXPORT_SYMBOL_GPL (lp8788_update_bits) |
|
| MODULE_DEVICE_TABLE (i2c, lp8788_ids) |
|
| subsys_initcall (lp8788_init) |
|
| module_exit (lp8788_exit) |
|
| MODULE_DESCRIPTION ("TI LP8788 MFD Driver") |
|
| MODULE_AUTHOR ("Milo Kim") |
|
| MODULE_LICENSE ("GPL") |
|
#define MAX_LP8788_REGISTERS 0xA2 |
#define MFD_DEV_SIMPLE |
( |
|
_name | ) |
|
Value:{ \
.name = LP8788_DEV_##_name, \
}
Definition at line 23 of file lp8788.c.
#define MFD_DEV_WITH_ID |
( |
|
_name, |
|
|
|
_id |
|
) |
| |
Value:{ \
.name = LP8788_DEV_##_name, \
.id = _id, \
}
Definition at line 28 of file lp8788.c.
#define MFD_DEV_WITH_RESOURCE |
( |
|
_name, |
|
|
|
_resource, |
|
|
|
num_resource |
|
) |
| |
Value:{ \
.name = LP8788_DEV_##_name, \
.resources = _resource, \
.num_resources = num_resource, \
}
Definition at line 34 of file lp8788.c.
MODULE_AUTHOR |
( |
"Milo Kim" |
| ) |
|
MODULE_DESCRIPTION |
( |
"TI LP8788 MFD Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
lp8788_ids |
|
|
) |
| |
module_exit |
( |
lp8788_exit |
| ) |
|
subsys_initcall |
( |
lp8788_init |
| ) |
|