#include <linux/delay.h>
#include <linux/iio/iio.h>
#include <linux/iio/driver.h>
#include <linux/iio/machine.h>
#include <linux/mfd/lp8788.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
Go to the source code of this file.
#define LP8788_ADC_CONF 0x60 |
#define LP8788_ADC_DONE 0x63 |
#define LP8788_ADC_RAW 0x61 |
#define LP8788_CHAN |
( |
|
_id, |
|
|
|
_type |
|
) |
| |
Value:{ \
.type = _type, \
.indexed = 1, \
.channel = LPADC_##_id, \
IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \
.datasheet_name = #_id, \
}
Definition at line 131 of file lp8788_adc.c.
MODULE_ALIAS |
( |
"platform:lp8788-adc" |
| ) |
|
MODULE_AUTHOR |
( |
"Milo Kim" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Texas Instruments LP8788 ADC Driver" |
| ) |
|
module_platform_driver |
( |
lp8788_adc_driver |
| ) |
|