blob: ae8aa1428e56b7de7ca2af89956ed7b677dd6ba0 [file] [log] [blame]
Thomas Gleixner80503b22019-05-24 12:04:09 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Mike Frysinger4397c982010-06-30 01:40:52 -07002/*
3 * AD7879/AD7889 touchscreen (bus interfaces)
4 *
5 * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc.
Mike Frysinger4397c982010-06-30 01:40:52 -07006 */
7
8#ifndef _AD7879_H_
9#define _AD7879_H_
10
11#include <linux/types.h>
12
Mike Frysinger4397c982010-06-30 01:40:52 -070013struct device;
Dmitry Torokhov404a24c2017-02-16 23:22:38 -080014struct regmap;
Mike Frysinger4397c982010-06-30 01:40:52 -070015
Dmitry Torokhov8672bd92011-11-14 00:32:09 -080016extern const struct dev_pm_ops ad7879_pm_ops;
17
Dmitry Torokhov4e340252017-02-28 11:43:52 -080018int ad7879_probe(struct device *dev, struct regmap *regmap,
19 int irq, u16 bustype, u8 devid);
Mike Frysinger4397c982010-06-30 01:40:52 -070020
21#endif