linux/drivers/mfd/atc260x-core.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Core support for ATC260x PMICs
 *
 * Copyright (C) 2019 Manivannan Sadhasivam <[email protected]>
 * Copyright (C) 2020 Cristian Ciocaltea <[email protected]>
 */

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

#define ATC260X_CHIP_REV_MAX

struct atc260x_init_regs {};

static void regmap_lock_mutex(void *__mutex)
{}

static void regmap_unlock_mutex(void *__mutex)
{}

static const struct regmap_config atc2603c_regmap_config =;

static const struct regmap_config atc2609a_regmap_config =;

static const struct regmap_irq atc2603c_regmap_irqs[] =;

static const struct regmap_irq atc2609a_regmap_irqs[] =;

static const struct regmap_irq_chip atc2603c_regmap_irq_chip =;

static const struct regmap_irq_chip atc2609a_regmap_irq_chip =;

static const struct resource atc2603c_onkey_resources[] =;

static const struct resource atc2609a_onkey_resources[] =;

static const struct mfd_cell atc2603c_mfd_cells[] =;

static const struct mfd_cell atc2609a_mfd_cells[] =;

static const struct atc260x_init_regs atc2603c_init_regs =;

static const struct atc260x_init_regs atc2609a_init_regs =;

static void atc260x_cmu_reset(struct atc260x *atc260x)
{}

static void atc260x_dev_init(struct atc260x *atc260x)
{}

/**
 * atc260x_match_device(): Setup ATC260x variant related fields
 *
 * @atc260x: ATC260x device to setup (.dev field must be set)
 * @regmap_cfg: regmap config associated with this ATC260x device
 *
 * This lets the ATC260x core configure the MFD cells and register maps
 * for later use.
 */
int atc260x_match_device(struct atc260x *atc260x, struct regmap_config *regmap_cfg)
{}
EXPORT_SYMBOL_GPL();

/**
 * atc260x_device_probe(): Probe a configured ATC260x device
 *
 * @atc260x: ATC260x device to probe (must be configured)
 *
 * This function lets the ATC260x core register the ATC260x MFD devices
 * and IRQCHIP. The ATC260x device passed in must be fully configured
 * with atc260x_match_device, its IRQ set, and regmap created.
 */
int atc260x_device_probe(struct atc260x *atc260x)
{}
EXPORT_SYMBOL_GPL();

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