ad7879.h 518 B

123456789101112131415161718192021222324
  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. #ifndef _AD7879_H_
  8. #define _AD7879_H_
  9. #include <linux/pm.h>
  10. #include <linux/types.h>
  11. struct attribute_group;
  12. struct device;
  13. struct regmap;
  14. extern const struct attribute_group *ad7879_groups[];
  15. extern const struct dev_pm_ops ad7879_pm_ops;
  16. int ad7879_probe(struct device *dev, struct regmap *regmap,
  17. int irq, u16 bustype, u8 devid);
  18. #endif