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

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for Goodix 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 goodix_i2c_hid_timing_data {};

struct i2c_hid_of_goodix {};

static int goodix_i2c_hid_power_up(struct i2chid_ops *ops)
{}

static void goodix_i2c_hid_power_down(struct i2chid_ops *ops)
{}

static int i2c_hid_of_goodix_probe(struct i2c_client *client)
{}

static const struct goodix_i2c_hid_timing_data goodix_gt7375p_timing_data =;

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

static struct i2c_driver goodix_i2c_hid_ts_driver =;
module_i2c_driver();

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