linux/drivers/mfd/max77686.c

// SPDX-License-Identifier: GPL-2.0+
//
// max77686.c - mfd core driver for the Maxim 77686/802
//
// Copyright (C) 2012 Samsung Electronics
// Chiwoong Byun <[email protected]>
// Jonghwa Lee <[email protected]>
//
//This driver is based on max8997.c

#include <linux/export.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/pm_runtime.h>
#include <linux/module.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max77686.h>
#include <linux/mfd/max77686-private.h>
#include <linux/err.h>
#include <linux/of.h>

static const struct mfd_cell max77686_devs[] =;

static const struct mfd_cell max77802_devs[] =;

static bool max77802_pmic_is_accessible_reg(struct device *dev,
					    unsigned int reg)
{}

static bool max77802_rtc_is_accessible_reg(struct device *dev,
					   unsigned int reg)
{}

static bool max77802_is_accessible_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_pmic_is_precious_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_rtc_is_precious_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_is_precious_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_pmic_is_volatile_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_rtc_is_volatile_reg(struct device *dev, unsigned int reg)
{}

static bool max77802_is_volatile_reg(struct device *dev, unsigned int reg)
{}

static const struct regmap_config max77686_regmap_config =;

static const struct regmap_config max77802_regmap_config =;

static const struct regmap_irq max77686_irqs[] =;

static const struct regmap_irq_chip max77686_irq_chip =;

static const struct regmap_irq_chip max77802_irq_chip =;

static const struct of_device_id max77686_pmic_dt_match[] =;
MODULE_DEVICE_TABLE(of, max77686_pmic_dt_match);

static int max77686_i2c_probe(struct i2c_client *i2c)
{}

static int max77686_suspend(struct device *dev)
{}

static int max77686_resume(struct device *dev)
{}

static DEFINE_SIMPLE_DEV_PM_OPS(max77686_pm, max77686_suspend, max77686_resume);

static struct i2c_driver max77686_i2c_driver =;

module_i2c_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();