linux/drivers/mfd/timberdale.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * timberdale.c timberdale FPGA MFD driver
 * Copyright (c) 2009 Intel Corporation
 */

/* Supports:
 * Timberdale FPGA
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/mfd/core.h>
#include <linux/property.h>
#include <linux/slab.h>

#include <linux/timb_gpio.h>

#include <linux/i2c.h>
#include <linux/platform_data/i2c-ocores.h>
#include <linux/platform_data/i2c-xiic.h>

#include <linux/spi/spi.h>
#include <linux/spi/xilinx_spi.h>
#include <linux/spi/max7301.h>
#include <linux/spi/mc33880.h>

#include <linux/platform_data/media/timb_radio.h>
#include <linux/platform_data/media/timb_video.h>

#include <linux/timb_dma.h>

#include <linux/ks8842.h>

#include "timberdale.h"

#define DRIVER_NAME

struct timberdale_device {};

/*--------------------------------------------------------------------------*/

static const struct property_entry timberdale_tsc2007_properties[] =;

static const struct software_node timberdale_tsc2007_node =;

static struct i2c_board_info timberdale_i2c_board_info[] =;

static struct xiic_i2c_platform_data
timberdale_xiic_platform_data =;

static struct ocores_i2c_platform_data
timberdale_ocores_platform_data =;

static const struct resource timberdale_xiic_resources[] =;

static const struct resource timberdale_ocores_resources[] =;

static const struct max7301_platform_data timberdale_max7301_platform_data =;

static const struct mc33880_platform_data timberdale_mc33880_platform_data =;

static struct spi_board_info timberdale_spi_16bit_board_info[] =;

static struct spi_board_info timberdale_spi_8bit_board_info[] =;

static struct xspi_platform_data timberdale_xspi_platform_data =;

static const struct resource timberdale_spi_resources[] =;

static struct ks8842_platform_data
	timberdale_ks8842_platform_data =;

static const struct resource timberdale_eth_resources[] =;

static struct timbgpio_platform_data
	timberdale_gpio_platform_data =;

static const struct resource timberdale_gpio_resources[] =;

static const struct resource timberdale_mlogicore_resources[] =;

static const struct resource timberdale_uart_resources[] =;

static const struct resource timberdale_uartlite_resources[] =;

static struct i2c_board_info timberdale_adv7180_i2c_board_info =;

static struct timb_video_platform_data
	timberdale_video_platform_data =;

static const struct resource
timberdale_radio_resources[] =;

static struct i2c_board_info timberdale_tef6868_i2c_board_info =;

static struct i2c_board_info timberdale_saa7706_i2c_board_info =;

static struct timb_radio_platform_data
	timberdale_radio_platform_data =;

static const struct resource timberdale_video_resources[] =;

static struct timb_dma_platform_data timb_dma_platform_data =;

static const struct resource timberdale_dma_resources[] =;

static const struct mfd_cell timberdale_cells_bar0_cfg0[] =;

static const struct mfd_cell timberdale_cells_bar0_cfg1[] =;

static const struct mfd_cell timberdale_cells_bar0_cfg2[] =;

static const struct mfd_cell timberdale_cells_bar0_cfg3[] =;

static const struct resource timberdale_sdhc_resources[] =;

static const struct mfd_cell timberdale_cells_bar1[] =;

static const struct mfd_cell timberdale_cells_bar2[] =;

static ssize_t fw_ver_show(struct device *dev,
			   struct device_attribute *attr, char *buf)
{}

static DEVICE_ATTR_RO(fw_ver);

/*--------------------------------------------------------------------------*/

static int timb_probe(struct pci_dev *dev,
	const struct pci_device_id *id)
{}

static void timb_remove(struct pci_dev *dev)
{}

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

static struct pci_driver timberdale_pci_driver =;

module_pci_driver();

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