#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/mfd/core.h>
#include <linux/mfd/intel_soc_pmic.h>
#include <linux/platform_data/x86/soc.h>
#include <linux/pwm.h>
#include <linux/regmap.h>
#define CRYSTAL_COVE_MAX_REGISTER …
#define CRYSTAL_COVE_REG_IRQLVL1 …
#define CRYSTAL_COVE_REG_MIRQLVL1 …
#define CRYSTAL_COVE_IRQ_PWRSRC …
#define CRYSTAL_COVE_IRQ_THRM …
#define CRYSTAL_COVE_IRQ_BCU …
#define CRYSTAL_COVE_IRQ_ADC …
#define CRYSTAL_COVE_IRQ_CHGR …
#define CRYSTAL_COVE_IRQ_GPIO …
#define CRYSTAL_COVE_IRQ_VHDMIOCP …
static const struct resource pwrsrc_resources[] = …;
static const struct resource thermal_resources[] = …;
static const struct resource bcu_resources[] = …;
static const struct resource adc_resources[] = …;
static const struct resource charger_resources[] = …;
static const struct resource gpio_resources[] = …;
static struct mfd_cell crystal_cove_byt_dev[] = …;
static struct mfd_cell crystal_cove_cht_dev[] = …;
static const struct regmap_config crystal_cove_regmap_config = …;
static const struct regmap_irq crystal_cove_irqs[] = …;
static const struct regmap_irq_chip crystal_cove_irq_chip = …;
static struct pwm_lookup crc_pwm_lookup[] = …;
struct crystal_cove_config { … };
static const struct crystal_cove_config crystal_cove_config_byt_crc = …;
static const struct crystal_cove_config crystal_cove_config_cht_crc = …;
static int crystal_cove_i2c_probe(struct i2c_client *i2c)
{ … }
static void crystal_cove_i2c_remove(struct i2c_client *i2c)
{ … }
static void crystal_cove_shutdown(struct i2c_client *i2c)
{ … }
static int crystal_cove_suspend(struct device *dev)
{ … }
static int crystal_cove_resume(struct device *dev)
{ … }
static DEFINE_SIMPLE_DEV_PM_OPS(crystal_cove_pm_ops, crystal_cove_suspend, crystal_cove_resume);
static const struct acpi_device_id crystal_cove_acpi_match[] = …;
MODULE_DEVICE_TABLE(acpi, crystal_cove_acpi_match);
static struct i2c_driver crystal_cove_i2c_driver = …;
module_i2c_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;