linux/drivers/hid/i2c-hid/i2c-hid-of-elan.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for Elan touchscreens that use the i2c-hid protocol.
 *
 * Copyright 2020 Google LLC
 */

#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pm.h>
#include <linux/regulator/consumer.h>

#include "i2c-hid.h"

struct elan_i2c_hid_chip_data {};

struct i2c_hid_of_elan {};

static int elan_i2c_hid_power_up(struct i2chid_ops *ops)
{}

static void elan_i2c_hid_power_down(struct i2chid_ops *ops)
{}

static int i2c_hid_of_elan_probe(struct i2c_client *client)
{}

static const struct elan_i2c_hid_chip_data elan_ekth6915_chip_data =;

static const struct elan_i2c_hid_chip_data elan_ekth6a12nay_chip_data =;

static const struct elan_i2c_hid_chip_data ilitek_ili9882t_chip_data =;

static const struct elan_i2c_hid_chip_data ilitek_ili2901_chip_data =;

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

static struct i2c_driver elan_i2c_hid_ts_driver =;
module_i2c_driver();

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