linux/drivers/input/touchscreen/goodix_berlin_i2c.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Goodix Berlin Touchscreen Driver
 *
 * Copyright (C) 2020 - 2021 Goodix, Inc.
 * Copyright (C) 2023 Linaro Ltd.
 *
 * Based on goodix_ts_berlin driver.
 */
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/input.h>

#include "goodix_berlin.h"

#define I2C_MAX_TRANSFER_SIZE

static const struct regmap_config goodix_berlin_i2c_regmap_conf =;

/* vendor & product left unassigned here, should probably be updated from fw info */
static const struct input_id goodix_berlin_i2c_input_id =;

static int goodix_berlin_i2c_probe(struct i2c_client *client)
{}

static const struct i2c_device_id goodix_berlin_i2c_id[] =;

MODULE_DEVICE_TABLE(i2c, goodix_berlin_i2c_id);

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

static struct i2c_driver goodix_berlin_i2c_driver =;
module_i2c_driver();

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