linux/drivers/hwmon/pmbus/xdpe12284.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Hardware monitoring driver for Infineon Multi-phase Digital VR Controllers
 *
 * Copyright (c) 2020 Mellanox Technologies. All rights reserved.
 */

#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regulator/driver.h>

#include "pmbus.h"

#define XDPE122_PROT_VR12_5MV
#define XDPE122_PROT_VR12_5_10MV
#define XDPE122_PROT_IMVP9_10MV
#define XDPE122_AMD_625MV
#define XDPE122_PAGE_NUM

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

static int xdpe122_identify(struct i2c_client *client,
			    struct pmbus_driver_info *info)
{}

static const struct regulator_desc __maybe_unused xdpe122_reg_desc[] =;

static struct pmbus_driver_info xdpe122_info =;

static int xdpe122_probe(struct i2c_client *client)
{}

static const struct i2c_device_id xdpe122_id[] =;

MODULE_DEVICE_TABLE(i2c, xdpe122_id);

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

static struct i2c_driver xdpe122_driver =;

module_i2c_driver();

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