linux/drivers/input/touchscreen/da9052_tsi.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * TSI driver for Dialog DA9052
 *
 * Copyright(c) 2012 Dialog Semiconductor Ltd.
 *
 * Author: David Dajun Chen <[email protected]>
 */
#include <linux/module.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>

#include <linux/mfd/da9052/reg.h>
#include <linux/mfd/da9052/da9052.h>

#define TSI_PEN_DOWN_STATUS

struct da9052_tsi {};

static void da9052_ts_adc_toggle(struct da9052_tsi *tsi, bool on)
{}

static irqreturn_t da9052_ts_pendwn_irq(int irq, void *data)
{}

static void da9052_ts_read(struct da9052_tsi *tsi)
{}

static irqreturn_t da9052_ts_datardy_irq(int irq, void *data)
{}

static void da9052_ts_pen_work(struct work_struct *work)
{}

static int da9052_ts_configure_gpio(struct da9052 *da9052)
{}

static int da9052_configure_tsi(struct da9052_tsi *tsi)
{}

static int da9052_ts_input_open(struct input_dev *input_dev)
{}

static void da9052_ts_input_close(struct input_dev *input_dev)
{}

static int da9052_ts_probe(struct platform_device *pdev)
{}

static void da9052_ts_remove(struct platform_device *pdev)
{}

static struct platform_driver da9052_tsi_driver =;

module_platform_driver();

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