xref: /linux/drivers/input/touchscreen/ad7879.h (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
180503b23SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
24397c98aSMike Frysinger /*
34397c98aSMike Frysinger  * AD7879/AD7889 touchscreen (bus interfaces)
44397c98aSMike Frysinger  *
54397c98aSMike Frysinger  * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
64397c98aSMike Frysinger  */
74397c98aSMike Frysinger 
84397c98aSMike Frysinger #ifndef _AD7879_H_
94397c98aSMike Frysinger #define _AD7879_H_
104397c98aSMike Frysinger 
11*a32fa435SDmitry Torokhov #include <linux/pm.h>
124397c98aSMike Frysinger #include <linux/types.h>
134397c98aSMike Frysinger 
14*a32fa435SDmitry Torokhov struct attribute_group;
154397c98aSMike Frysinger struct device;
16404a24c3SDmitry Torokhov struct regmap;
174397c98aSMike Frysinger 
18*a32fa435SDmitry Torokhov extern const struct attribute_group *ad7879_groups[];
198672bd93SDmitry Torokhov extern const struct dev_pm_ops ad7879_pm_ops;
208672bd93SDmitry Torokhov 
214e34025bSDmitry Torokhov int ad7879_probe(struct device *dev, struct regmap *regmap,
22404a24c3SDmitry Torokhov 		 int irq, u16 bustype, u8 devid);
234397c98aSMike Frysinger 
244397c98aSMike Frysinger #endif
25