Merge tag 'linux-can-next-for-4.12-20170427' of git://git.kernel.org/pub/scm/linux...
[linux-2.6/btrfs-unstable.git] / include / linux / platform_data / touchscreen-s3c2410.h
blob71eccaa9835d0ea18549019fbf5d7df98e0291bc
1 /*
2 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef __TOUCHSCREEN_S3C2410_H
10 #define __TOUCHSCREEN_S3C2410_H
12 struct s3c2410_ts_mach_info {
13 int delay;
14 int presc;
15 int oversampling_shift;
16 void (*cfg_gpio)(struct platform_device *dev);
19 extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
20 extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
22 /* defined by architecture to configure gpio */
23 extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
25 #endif /*__TOUCHSCREEN_S3C2410_H */