linux/drivers/spi/spi-clps711x.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 *  CLPS711X SPI bus driver
 *
 *  Copyright (C) 2012-2016 Alexander Shiyan <[email protected]>
 */

#include <linux/io.h>
#include <linux/clk.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/mfd/syscon.h>
#include <linux/mfd/syscon/clps711x.h>
#include <linux/spi/spi.h>

#define DRIVER_NAME

#define SYNCIO_FRMLEN(x)
#define SYNCIO_TXFRMEN

struct spi_clps711x_data {};

static int spi_clps711x_prepare_message(struct spi_controller *host,
					struct spi_message *msg)
{}

static int spi_clps711x_transfer_one(struct spi_controller *host,
				     struct spi_device *spi,
				     struct spi_transfer *xfer)
{}

static irqreturn_t spi_clps711x_isr(int irq, void *dev_id)
{}

static int spi_clps711x_probe(struct platform_device *pdev)
{}

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

static struct platform_driver clps711x_spi_driver =;
module_platform_driver();

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