linux/drivers/mfd/intel_soc_pmic_mrfld.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Device access for Basin Cove PMIC
 *
 * Copyright (c) 2019, Intel Corporation.
 * Author: Andy Shevchenko <[email protected]>
 */

#include <linux/acpi.h>
#include <linux/interrupt.h>
#include <linux/mfd/core.h>
#include <linux/mfd/intel_soc_pmic.h>
#include <linux/mfd/intel_soc_pmic_mrfld.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

#include <asm/intel_scu_ipc.h>

/*
 * Level 2 IRQs
 *
 * Firmware on the systems with Basin Cove PMIC services Level 1 IRQs
 * without an assistance. Thus, each of the Level 1 IRQ is represented
 * as a separate RTE in IOAPIC.
 */
static struct resource irq_level2_resources[] =;

static const struct mfd_cell bcove_dev[] =;

static int bcove_ipc_byte_reg_read(void *context, unsigned int reg,
				    unsigned int *val)
{}

static int bcove_ipc_byte_reg_write(void *context, unsigned int reg,
				     unsigned int val)
{}

static const struct regmap_config bcove_regmap_config =;

static int bcove_probe(struct platform_device *pdev)
{}

static const struct acpi_device_id bcove_acpi_ids[] =;
MODULE_DEVICE_TABLE(acpi, bcove_acpi_ids);

static struct platform_driver bcove_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();