linux/drivers/mfd/da9055-i2c.c

// SPDX-License-Identifier: GPL-2.0-or-later
 /* I2C access for DA9055 PMICs.
 *
 * Copyright(c) 2012 Dialog Semiconductor Ltd.
 *
 * Author: David Dajun Chen <[email protected]>
 */

#include <linux/module.h>
#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/of.h>

#include <linux/mfd/da9055/core.h>

static int da9055_i2c_probe(struct i2c_client *i2c)
{}

static void da9055_i2c_remove(struct i2c_client *i2c)
{}

/*
 * DO NOT change the device Ids. The naming is intentionally specific as both
 * the PMIC and CODEC parts of this chip are instantiated separately as I2C
 * devices (both have configurable I2C addresses, and are to all intents and
 * purposes separate). As a result there are specific DA9055 ids for PMIC
 * and CODEC, which must be different to operate together.
 */
static const struct i2c_device_id da9055_i2c_id[] =;
MODULE_DEVICE_TABLE(i2c, da9055_i2c_id);

static const struct of_device_id da9055_of_match[] =;

static struct i2c_driver da9055_i2c_driver =;

static int __init da9055_i2c_init(void)
{}
subsys_initcall(da9055_i2c_init);

static void __exit da9055_i2c_exit(void)
{}
module_exit(da9055_i2c_exit);

MODULE_AUTHOR();
MODULE_DESCRIPTION();