#include <linux/device.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/property.h>
#include <linux/mfd/da9052/da9052.h>
#include <linux/mfd/da9052/pdata.h>
#include <linux/mfd/da9052/reg.h>
static bool da9052_reg_readable(struct device *dev, unsigned int reg)
{ … }
static bool da9052_reg_writeable(struct device *dev, unsigned int reg)
{ … }
static bool da9052_reg_volatile(struct device *dev, unsigned int reg)
{ … }
static const int32_t tbat_lookup[255] = …;
static const u8 chan_mux[DA9052_ADC_VBBAT + 1] = …;
int da9052_adc_manual_read(struct da9052 *da9052, unsigned char channel)
{ … }
EXPORT_SYMBOL_GPL(…);
int da9052_adc_read_temp(struct da9052 *da9052)
{ … }
EXPORT_SYMBOL_GPL(…);
static const struct mfd_cell da9052_subdev_info[] = …;
static const struct mfd_cell da9052_tsi_subdev_info[] = …;
const struct regmap_config da9052_regmap_config = …;
EXPORT_SYMBOL_GPL(…);
static int da9052_clear_fault_log(struct da9052 *da9052)
{ … }
int da9052_device_init(struct da9052 *da9052, u8 chip_id)
{ … }
void da9052_device_exit(struct da9052 *da9052)
{ … }
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;