Thomas Gleixner | 80503b2 | 2019-05-24 12:04:09 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Mike Frysinger | 4397c98 | 2010-06-30 01:40:52 -0700 | [diff] [blame] | 2 | /* |
| 3 | * AD7879/AD7889 touchscreen (bus interfaces) |
| 4 | * |
| 5 | * Copyright (C) 2008-2010 Michael Hennerich, Analog Devices Inc. |
Mike Frysinger | 4397c98 | 2010-06-30 01:40:52 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _AD7879_H_ |
| 9 | #define _AD7879_H_ |
| 10 | |
| 11 | #include <linux/types.h> |
| 12 | |
Mike Frysinger | 4397c98 | 2010-06-30 01:40:52 -0700 | [diff] [blame] | 13 | struct device; |
Dmitry Torokhov | 404a24c | 2017-02-16 23:22:38 -0800 | [diff] [blame] | 14 | struct regmap; |
Mike Frysinger | 4397c98 | 2010-06-30 01:40:52 -0700 | [diff] [blame] | 15 | |
Dmitry Torokhov | 8672bd9 | 2011-11-14 00:32:09 -0800 | [diff] [blame] | 16 | extern const struct dev_pm_ops ad7879_pm_ops; |
| 17 | |
Dmitry Torokhov | 4e34025 | 2017-02-28 11:43:52 -0800 | [diff] [blame] | 18 | int ad7879_probe(struct device *dev, struct regmap *regmap, |
| 19 | int irq, u16 bustype, u8 devid); |
Mike Frysinger | 4397c98 | 2010-06-30 01:40:52 -0700 | [diff] [blame] | 20 | |
| 21 | #endif |