linux/drivers/mfd/vx855.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Linux multi-function-device driver (MFD) for the integrated peripherals
 * of the VIA VX855 chipset
 *
 * Copyright (C) 2009 VIA Technologies, Inc.
 * Copyright (C) 2010 One Laptop per Child
 * Author: Harald Welte <[email protected]>
 * All rights reserved.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/mfd/core.h>

/* offset into pci config space indicating the 16bit register containing
 * the power management IO space base */
#define VX855_CFG_PMIO_OFFSET

/* ACPI I/O Space registers */
#define VX855_PMIO_ACPI
#define VX855_PMIO_ACPI_LEN

/* Processor Power Management */
#define VX855_PMIO_PPM
#define VX855_PMIO_PPM_LEN

/* General Purpose Power Management */
#define VX855_PMIO_GPPM
#define VX855_PMIO_R_GPI
#define VX855_PMIO_R_GPO
#define VX855_PMIO_GPPM_LEN

#define VSPIC_MMIO_SIZE

static struct resource vx855_gpio_resources[] =;

static const struct mfd_cell vx855_cells[] =;

static int vx855_probe(struct pci_dev *pdev,
				 const struct pci_device_id *id)
{}

static void vx855_remove(struct pci_dev *pdev)
{}

static const struct pci_device_id vx855_pci_tbl[] =;
MODULE_DEVICE_TABLE(pci, vx855_pci_tbl);

static struct pci_driver vx855_pci_driver =;

module_pci_driver();

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