blob: 26fdb22e0fc239e62d318aa3b1f0edf6e8d84c42 [file] [log] [blame]
Maurus Cuelenaere73e59b12010-05-04 13:12:41 +02001/* arch/arm/plat-samsung/include/plat/ts.h
Arnaud Patardce8877b2009-12-23 19:25:05 +00002 *
3 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8*/
9
10#ifndef __ASM_ARM_TS_H
11#define __ASM_ARM_TS_H
12
13struct s3c2410_ts_mach_info {
14 int delay;
15 int presc;
16 int oversampling_shift;
Naveen Krishna5bfdca12010-05-18 20:44:27 +090017 void (*cfg_gpio)(struct platform_device *dev);
Arnaud Patardce8877b2009-12-23 19:25:05 +000018};
19
20extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
21
Naveen Krishna5bfdca12010-05-18 20:44:27 +090022/* defined by architecture to configure gpio */
23extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
24
Arnaud Patardce8877b2009-12-23 19:25:05 +000025#endif /* __ASM_ARM_TS_H */