xref: /linux/drivers/input/touchscreen/goodix_berlin.h (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
144362279SNeil Armstrong /* SPDX-License-Identifier: GPL-2.0-or-later */
244362279SNeil Armstrong /*
344362279SNeil Armstrong  * Goodix Touchscreen Driver
444362279SNeil Armstrong  * Copyright (C) 2020 - 2021 Goodix, Inc.
544362279SNeil Armstrong  * Copyright (C) 2023 Linaro Ltd.
644362279SNeil Armstrong  *
744362279SNeil Armstrong  * Based on goodix_berlin_berlin driver.
844362279SNeil Armstrong  */
944362279SNeil Armstrong 
1044362279SNeil Armstrong #ifndef __GOODIX_BERLIN_H_
1144362279SNeil Armstrong #define __GOODIX_BERLIN_H_
1244362279SNeil Armstrong 
1344362279SNeil Armstrong #include <linux/pm.h>
1444362279SNeil Armstrong 
1544362279SNeil Armstrong struct device;
1644362279SNeil Armstrong struct input_id;
1744362279SNeil Armstrong struct regmap;
1844362279SNeil Armstrong 
1944362279SNeil Armstrong int goodix_berlin_probe(struct device *dev, int irq, const struct input_id *id,
2044362279SNeil Armstrong 			struct regmap *regmap);
2144362279SNeil Armstrong 
2244362279SNeil Armstrong extern const struct dev_pm_ops goodix_berlin_pm_ops;
23*240801c5SCharles Wang extern const struct attribute_group *goodix_berlin_groups[];
2444362279SNeil Armstrong 
2544362279SNeil Armstrong #endif
26