linux/drivers/input/touchscreen/zet6223.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2016, Jelle van der Waa <[email protected]>
 */

#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/input/touchscreen.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/regulator/consumer.h>
#include <linux/unaligned.h>

#define ZET6223_MAX_FINGERS
#define ZET6223_MAX_PKT_SIZE

#define ZET6223_CMD_INFO
#define ZET6223_CMD_INFO_LENGTH
#define ZET6223_VALID_PACKET

#define ZET6223_POWER_ON_DELAY_MSEC

struct zet6223_ts {};

static int zet6223_start(struct input_dev *dev)
{}

static void zet6223_stop(struct input_dev *dev)
{}

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

static void zet6223_power_off(void *_ts)
{}

static int zet6223_power_on(struct zet6223_ts *ts)
{}

static int zet6223_query_device(struct zet6223_ts *ts)
{}

static int zet6223_probe(struct i2c_client *client)
{}

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

static const struct i2c_device_id zet6223_id[] =;
MODULE_DEVICE_TABLE(i2c, zet6223_id);

static struct i2c_driver zet6223_driver =;
module_i2c_driver();

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