linux/drivers/hwmon/pmbus/ir35221.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Hardware monitoring driver for IR35221
 *
 * Copyright (C) IBM Corporation 2017.
 */

#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include "pmbus.h"

#define IR35221_MFR_VIN_PEAK
#define IR35221_MFR_VOUT_PEAK
#define IR35221_MFR_IOUT_PEAK
#define IR35221_MFR_TEMP_PEAK
#define IR35221_MFR_VIN_VALLEY
#define IR35221_MFR_VOUT_VALLEY
#define IR35221_MFR_IOUT_VALLEY
#define IR35221_MFR_TEMP_VALLEY

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

static int ir35221_probe(struct i2c_client *client)
{}

static const struct i2c_device_id ir35221_id[] =;

MODULE_DEVICE_TABLE(i2c, ir35221_id);

static struct i2c_driver ir35221_driver =;

module_i2c_driver();

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