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

/*
 * Touchscreen driver for the tps6507x chip.
 *
 * Copyright (c) 2009 RidgeRun ([email protected])
 *
 * Credits:
 *
 *    Using code from tsc2007, MtekVision Co., Ltd.
 *
 * For licencing details see kernel-base/COPYING
 *
 * TPS65070, TPS65073, TPS650731, and TPS650732 support
 * 10 bit touch screen interface.
 */

#include <linux/module.h>
#include <linux/workqueue.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/mfd/tps6507x.h>
#include <linux/input/tps6507x-ts.h>
#include <linux/delay.h>

#define TSC_DEFAULT_POLL_PERIOD
#define TPS_DEFAULT_MIN_PRESSURE
#define MAX_10BIT

#define TPS6507X_ADCONFIG_CONVERT_TS
#define TPS6507X_ADCONFIG_POWER_DOWN_TS

struct ts_event {};

struct tps6507x_ts {};

static int tps6507x_read_u8(struct tps6507x_ts *tsc, u8 reg, u8 *data)
{}

static int tps6507x_write_u8(struct tps6507x_ts *tsc, u8 reg, u8 data)
{}

static s32 tps6507x_adc_conversion(struct tps6507x_ts *tsc,
				   u8 tsc_mode, u16 *value)
{}

/* Need to call tps6507x_adc_standby() after using A/D converter for the
 * touch screen interrupt to work properly.
 */

static s32 tps6507x_adc_standby(struct tps6507x_ts *tsc)
{}

static void tps6507x_ts_poll(struct input_dev *input_dev)
{}

static int tps6507x_ts_probe(struct platform_device *pdev)
{}

static struct platform_driver tps6507x_ts_driver =;
module_platform_driver();

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