linux/drivers/input/touchscreen/raspberrypi-ts.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Raspberry Pi firmware based touchscreen driver
 *
 * Copyright (C) 2015, 2017 Raspberry Pi
 * Copyright (C) 2018 Nicolas Saenz Julienne <[email protected]>
 */

#include <linux/io.h>
#include <linux/of.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/input/touchscreen.h>
#include <soc/bcm2835/raspberrypi-firmware.h>

#define RPI_TS_DEFAULT_WIDTH
#define RPI_TS_DEFAULT_HEIGHT

#define RPI_TS_MAX_SUPPORTED_POINTS

#define RPI_TS_FTS_TOUCH_DOWN
#define RPI_TS_FTS_TOUCH_CONTACT

#define RPI_TS_POLL_INTERVAL

#define RPI_TS_NPOINTS_REG_INVALIDATE

struct rpi_ts {};

struct rpi_ts_regs {};

static void rpi_ts_poll(struct input_dev *input)
{}

static void rpi_ts_dma_cleanup(void *data)
{}

static int rpi_ts_probe(struct platform_device *pdev)
{}

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

static struct platform_driver rpi_ts_driver =;
module_platform_driver();

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