linux/drivers/mfd/max77714.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Maxim MAX77714 Core Driver
 *
 * Copyright (C) 2022 Luca Ceresoli
 * Author: Luca Ceresoli <[email protected]>
 */

#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max77714.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>

static const struct mfd_cell max77714_cells[] =;

static const struct regmap_range max77714_readable_ranges[] =;

static const struct regmap_range max77714_writable_ranges[] =;

static const struct regmap_access_table max77714_readable_table =;

static const struct regmap_access_table max77714_writable_table =;

static const struct regmap_config max77714_regmap_config =;

static const struct regmap_irq max77714_top_irqs[] =;

static const struct regmap_irq_chip max77714_irq_chip =;

/*
 * MAX77714 initially uses the internal, low precision oscillator. Enable
 * the external oscillator by setting the XOSC_RETRY bit. If the external
 * oscillator is not OK (probably not installed) this has no effect.
 */
static int max77714_setup_xosc(struct device *dev, struct regmap *regmap)
{}

static int max77714_probe(struct i2c_client *client)
{}

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

static struct i2c_driver max77714_driver =;
module_i2c_driver();

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