xref: /linux/drivers/input/touchscreen/ad7879.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * AD7879/AD7889 touchscreen (bus interfaces)
4  *
5  * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
6  */
7 
8 #ifndef _AD7879_H_
9 #define _AD7879_H_
10 
11 #include <linux/pm.h>
12 #include <linux/types.h>
13 
14 struct attribute_group;
15 struct device;
16 struct regmap;
17 
18 extern const struct attribute_group *ad7879_groups[];
19 extern const struct dev_pm_ops ad7879_pm_ops;
20 
21 int ad7879_probe(struct device *dev, struct regmap *regmap,
22 		 int irq, u16 bustype, u8 devid);
23 
24 #endif
25