linux/drivers/mfd/khadas-mcu.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for Khadas System control Microcontroller
 *
 * Copyright (C) 2020 BayLibre SAS
 *
 * Author(s): Neil Armstrong <[email protected]>
 */
#include <linux/bitfield.h>
#include <linux/i2c.h>
#include <linux/mfd/core.h>
#include <linux/mfd/khadas-mcu.h>
#include <linux/module.h>
#include <linux/regmap.h>

static bool khadas_mcu_reg_volatile(struct device *dev, unsigned int reg)
{}

static bool khadas_mcu_reg_writeable(struct device *dev, unsigned int reg)
{}

static const struct regmap_config khadas_mcu_regmap_config =;

static struct mfd_cell khadas_mcu_fan_cells[] =;

static struct mfd_cell khadas_mcu_cells[] =;

static int khadas_mcu_probe(struct i2c_client *client)
{}

#ifdef CONFIG_OF
static const struct of_device_id khadas_mcu_of_match[] =;
MODULE_DEVICE_TABLE(of, khadas_mcu_of_match);
#endif

static struct i2c_driver khadas_mcu_driver =;
module_i2c_driver();

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