14397c98aSMike Frysinger /* 24397c98aSMike Frysinger * AD7879/AD7889 touchscreen (bus interfaces) 34397c98aSMike Frysinger * 44397c98aSMike Frysinger * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc. 54397c98aSMike Frysinger * 64397c98aSMike Frysinger * Licensed under the GPL-2 or later. 74397c98aSMike Frysinger */ 84397c98aSMike Frysinger 94397c98aSMike Frysinger #ifndef _AD7879_H_ 104397c98aSMike Frysinger #define _AD7879_H_ 114397c98aSMike Frysinger 124397c98aSMike Frysinger #include <linux/types.h> 134397c98aSMike Frysinger 144397c98aSMike Frysinger struct ad7879; 154397c98aSMike Frysinger struct device; 16*404a24c3SDmitry Torokhov struct regmap; 174397c98aSMike Frysinger 188672bd93SDmitry Torokhov extern const struct dev_pm_ops ad7879_pm_ops; 198672bd93SDmitry Torokhov 20*404a24c3SDmitry Torokhov struct ad7879 *ad7879_probe(struct device *dev, struct regmap *regmap, 21*404a24c3SDmitry Torokhov int irq, u16 bustype, u8 devid); 224397c98aSMike Frysinger void ad7879_remove(struct ad7879 *); 234397c98aSMike Frysinger 244397c98aSMike Frysinger #endif 25