linux/drivers/hwmon/pmbus/mp5990.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Driver for MPS MP5990 Hot-Swap Controller
 */

#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include "pmbus.h"

#define MP5990_EFUSE_CFG
#define MP5990_VOUT_FORMAT

struct mp5990_data {};

#define to_mp5990_data(x)

static int mp5990_read_byte_data(struct i2c_client *client, int page, int reg)
{}

static int mp5990_read_word_data(struct i2c_client *client, int page,
				 int phase, int reg)
{}

static struct pmbus_driver_info mp5990_info =;

static int mp5990_probe(struct i2c_client *client)
{}

static const struct of_device_id mp5990_of_match[] =;

static const struct i2c_device_id mp5990_id[] =;
MODULE_DEVICE_TABLE(i2c, mp5990_id);

static struct i2c_driver mp5990_driver =;
module_i2c_driver();

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