mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-23 18:51:32 -05:00
Export a sysfs interface that would allow reading and writing touchscreen IC registers. With this interface many things can be done in usersapce such as firmware updates. An example tool that utilizes this interface for performing firmware updates can be found at [1]. [1] https://github.com/goodix/fwupdate_for_berlin_linux Signed-off-by: Charles Wang <charles.goodix@gmail.com> Link: https://lore.kernel.org/r/20240514115135.21410-1-charles.goodix@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
26 lines
561 B
C
26 lines
561 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Goodix Touchscreen Driver
|
|
* Copyright (C) 2020 - 2021 Goodix, Inc.
|
|
* Copyright (C) 2023 Linaro Ltd.
|
|
*
|
|
* Based on goodix_berlin_berlin driver.
|
|
*/
|
|
|
|
#ifndef __GOODIX_BERLIN_H_
|
|
#define __GOODIX_BERLIN_H_
|
|
|
|
#include <linux/pm.h>
|
|
|
|
struct device;
|
|
struct input_id;
|
|
struct regmap;
|
|
|
|
int goodix_berlin_probe(struct device *dev, int irq, const struct input_id *id,
|
|
struct regmap *regmap);
|
|
|
|
extern const struct dev_pm_ops goodix_berlin_pm_ops;
|
|
extern const struct attribute_group *goodix_berlin_groups[];
|
|
|
|
#endif
|