linux/drivers/hwmon/pmbus/xdp710.c

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

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

#define XDP710_REG_CFG
#define XDP710_V_SNS_CFG
#define XDP710_CS_RNG

/*
 * The table to map configuration register values
 * to sense resistor values
 */
static const int micro_ohm_rsense[] =;

static struct pmbus_driver_info xdp710_info =;

static int xdp710_probe(struct i2c_client *client)
{}

static const struct of_device_id xdp710_of_match[] =;

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

static struct i2c_driver xdp710_driver =;
module_i2c_driver();

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