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