#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max77620.h>
#include <linux/init.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/slab.h>
static struct max77620_chip *max77620_scratch;
static const struct resource gpio_resources[] = …;
static const struct resource power_resources[] = …;
static const struct resource rtc_resources[] = …;
static const struct resource thermal_resources[] = …;
static const struct regmap_irq max77620_top_irqs[] = …;
static const struct mfd_cell max77620_children[] = …;
static const struct mfd_cell max20024_children[] = …;
static const struct mfd_cell max77663_children[] = …;
static const struct regmap_range max77620_readable_ranges[] = …;
static const struct regmap_access_table max77620_readable_table = …;
static const struct regmap_range max20024_readable_ranges[] = …;
static const struct regmap_access_table max20024_readable_table = …;
static const struct regmap_range max77620_writable_ranges[] = …;
static const struct regmap_access_table max77620_writable_table = …;
static const struct regmap_range max77620_cacheable_ranges[] = …;
static const struct regmap_access_table max77620_volatile_table = …;
static const struct regmap_config max77620_regmap_config = …;
static const struct regmap_config max20024_regmap_config = …;
static const struct regmap_range max77663_readable_ranges[] = …;
static const struct regmap_access_table max77663_readable_table = …;
static const struct regmap_range max77663_writable_ranges[] = …;
static const struct regmap_access_table max77663_writable_table = …;
static const struct regmap_config max77663_regmap_config = …;
static int max77620_irq_global_mask(void *irq_drv_data)
{ … }
static int max77620_irq_global_unmask(void *irq_drv_data)
{ … }
static struct regmap_irq_chip max77620_top_irq_chip = …;
static int max77620_get_fps_period_reg_value(struct max77620_chip *chip,
int tperiod)
{ … }
static int max77620_config_fps(struct max77620_chip *chip,
struct device_node *fps_np)
{ … }
static int max77620_initialise_fps(struct max77620_chip *chip)
{ … }
static int max77620_read_es_version(struct max77620_chip *chip)
{ … }
static void max77620_pm_power_off(void)
{ … }
static int max77620_probe(struct i2c_client *client)
{ … }
static int max77620_set_fps_period(struct max77620_chip *chip,
int fps_id, int time_period)
{ … }
static int max77620_i2c_suspend(struct device *dev)
{ … }
static int max77620_i2c_resume(struct device *dev)
{ … }
static const struct i2c_device_id max77620_id[] = …;
static DEFINE_SIMPLE_DEV_PM_OPS(max77620_pm_ops,
max77620_i2c_suspend, max77620_i2c_resume);
static struct i2c_driver max77620_driver = …;
builtin_i2c_driver(…) …;