2019-05-24 18:04:09 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2010-06-30 16:40:52 +08:00
|
|
|
/*
|
|
|
|
* AD7879/AD7889 touchscreen (bus interfaces)
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _AD7879_H_
|
|
|
|
#define _AD7879_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
struct device;
|
2017-02-17 15:22:38 +08:00
|
|
|
struct regmap;
|
2010-06-30 16:40:52 +08:00
|
|
|
|
2011-11-14 16:32:09 +08:00
|
|
|
extern const struct dev_pm_ops ad7879_pm_ops;
|
|
|
|
|
2017-03-01 03:43:52 +08:00
|
|
|
int ad7879_probe(struct device *dev, struct regmap *regmap,
|
|
|
|
int irq, u16 bustype, u8 devid);
|
2010-06-30 16:40:52 +08:00
|
|
|
|
|
|
|
#endif
|