linux/drivers/input/touchscreen/tsc2007_core.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * drivers/input/touchscreen/tsc2007.c
 *
 * Copyright (c) 2008 MtekVision Co., Ltd.
 *	Kwangwoo Lee <[email protected]>
 *
 * Using code from:
 *  - ads7846.c
 *	Copyright (c) 2005 David Brownell
 *	Copyright (c) 2006 Nokia Corporation
 *  - corgi_ts.c
 *	Copyright (C) 2004-2005 Richard Purdie
 *  - omap_ts.[hc], ads7846.h, ts_osk.c
 *	Copyright (C) 2002 MontaVista Software
 *	Copyright (C) 2004 Texas Instruments
 *	Copyright (C) 2005 Dirk Behme
 */

#include <linux/module.h>
#include <linux/slab.h>
#include <linux/gpio/consumer.h>
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/mod_devicetable.h>
#include <linux/property.h>
#include <linux/platform_data/tsc2007.h>
#include "tsc2007.h"

int tsc2007_xfer(struct tsc2007 *tsc, u8 cmd)
{}

static void tsc2007_read_values(struct tsc2007 *tsc, struct ts_event *tc)
{}

u32 tsc2007_calculate_resistance(struct tsc2007 *tsc, struct ts_event *tc)
{}

bool tsc2007_is_pen_down(struct tsc2007 *ts)
{}

static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
{}

static void tsc2007_stop(struct tsc2007 *ts)
{}

static int tsc2007_open(struct input_dev *input_dev)
{}

static void tsc2007_close(struct input_dev *input_dev)
{}

static int tsc2007_get_pendown_state_gpio(struct device *dev)
{}

static int tsc2007_probe_properties(struct device *dev, struct tsc2007 *ts)
{}

static int tsc2007_probe_pdev(struct device *dev, struct tsc2007 *ts,
			      const struct tsc2007_platform_data *pdata,
			      const struct i2c_device_id *id)
{}

static void tsc2007_call_exit_platform_hw(void *data)
{}

static int tsc2007_probe(struct i2c_client *client)
{}

static const struct i2c_device_id tsc2007_idtable[] =;

MODULE_DEVICE_TABLE(i2c, tsc2007_idtable);

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

static struct i2c_driver tsc2007_driver =;

module_i2c_driver();

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