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
14struct attribute_group;
15struct device;
16struct regmap;
17
18extern const struct attribute_group *ad7879_groups[];
19extern const struct dev_pm_ops ad7879_pm_ops;
20
21int ad7879_probe(struct device *dev, struct regmap *regmap,
22		 int irq, u16 bustype, u8 devid);
23
24#endif
25