linux/drivers/hwmon/pmbus/q54sj108a2.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Driver for Delta modules, Q54SJ108A2 series 1/4 Brick DC/DC
 * Regulated Power Module
 *
 * Copyright 2020 Delta LLC.
 */

#include <linux/debugfs.h>
#include <linux/i2c.h>
#include <linux/kstrtox.h>
#include <linux/module.h>
#include <linux/of.h>
#include "pmbus.h"

#define STORE_DEFAULT_ALL
#define ERASE_BLACKBOX_DATA
#define READ_HISTORY_EVENT_NUMBER
#define READ_HISTORY_EVENTS
#define SET_HISTORY_EVENT_OFFSET
#define PMBUS_FLASH_KEY_WRITE

enum chips {};

enum {};

struct q54sj108a2_data {};

#define to_psu(x, y)

static struct pmbus_driver_info q54sj108a2_info[] =;

static ssize_t q54sj108a2_debugfs_read(struct file *file, char __user *buf,
				       size_t count, loff_t *ppos)
{}

static ssize_t q54sj108a2_debugfs_write(struct file *file, const char __user *buf,
					size_t count, loff_t *ppos)
{}

static const struct file_operations q54sj108a2_fops =;

static const struct i2c_device_id q54sj108a2_id[] =;

MODULE_DEVICE_TABLE(i2c, q54sj108a2_id);

static int q54sj108a2_probe(struct i2c_client *client)
{}

static const struct of_device_id q54sj108a2_of_match[] =;

MODULE_DEVICE_TABLE(of, q54sj108a2_of_match);

static struct i2c_driver q54sj108a2_driver =;

module_i2c_driver();

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