linux/drivers/mfd/simple-mfd-i2c.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Simple MFD - I2C
 *
 * Author(s):
 * 	Michael Walle <[email protected]>
 * 	Lee Jones <[email protected]>
 *
 * This driver creates a single register map with the intention for it to be
 * shared by all sub-devices.  Children can use their parent's device structure
 * (dev.parent) in order to reference it.
 *
 * Once the register map has been successfully initialised, any sub-devices
 * represented by child nodes in Device Tree or via the MFD cells in this file
 * will be subsequently registered.
 */

#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/mfd/core.h>
#include <linux/module.h>
#include <linux/of_platform.h>
#include <linux/regmap.h>

#include "simple-mfd-i2c.h"

static const struct regmap_config regmap_config_8r_8v =;

static int simple_mfd_i2c_probe(struct i2c_client *i2c)
{}

static const struct mfd_cell sy7636a_cells[] =;

static const struct simple_mfd_data silergy_sy7636a =;

static const struct mfd_cell max5970_cells[] =;

static const struct simple_mfd_data maxim_max5970 =;

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

static struct i2c_driver simple_mfd_i2c_driver =;
module_i2c_driver();

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