linux/drivers/hwmon/as370-hwmon.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Synaptics AS370 SoC Hardware Monitoring Driver
 *
 * Copyright (C) 2018 Synaptics Incorporated
 * Author: Jisheng Zhang <[email protected]>
 */

#include <linux/bitops.h>
#include <linux/hwmon.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>

#define CTRL
#define PD
#define EN
#define T_SEL
#define V_SEL
#define NMOS_SEL
#define PMOS_SEL
#define STS
#define BN_MASK
#define EOC

struct as370_hwmon {};

static void init_pvt(struct as370_hwmon *hwmon)
{}

static int as370_hwmon_read(struct device *dev, enum hwmon_sensor_types type,
			    u32 attr, int channel, long *temp)
{}

static umode_t
as370_hwmon_is_visible(const void *data, enum hwmon_sensor_types type,
		       u32 attr, int channel)
{}

static const struct hwmon_channel_info * const as370_hwmon_info[] =;

static const struct hwmon_ops as370_hwmon_ops =;

static const struct hwmon_chip_info as370_chip_info =;

static int as370_hwmon_probe(struct platform_device *pdev)
{}

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

static struct platform_driver as370_hwmon_driver =;
module_platform_driver();

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