blob: 6230d76bde5d1c69d3d28dc83f26bd2e5763d8ea [file] [log] [blame]
Naveen Kumar Gaddipati4780c8d2010-10-04 22:32:48 -07001/*
2 * Copyright (C) ST-Ericsson SA 2010
3 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
4 * License terms:GNU General Public License (GPL) version 2
5 */
6
7#ifndef _BU21013_H
8#define _BU21013_H
9
10/**
11 * struct bu21013_platform_device - Handle the platform data
Naveen Kumar Gaddipati4780c8d2010-10-04 22:32:48 -070012 * @touch_x_max: touch x max
13 * @touch_y_max: touch y max
14 * @cs_pin: chip select pin
Lee Jones31fbcda2012-09-28 10:29:07 +010015 * @touch_pin: touch gpio pin
Naveen Kumar Gaddipati4780c8d2010-10-04 22:32:48 -070016 * @ext_clk: external clock flag
17 * @x_flip: x flip flag
18 * @y_flip: y flip flag
19 * @wakeup: wakeup flag
20 *
21 * This is used to handle the platform data
22 */
23struct bu21013_platform_device {
Naveen Kumar Gaddipati4780c8d2010-10-04 22:32:48 -070024 int touch_x_max;
25 int touch_y_max;
26 unsigned int cs_pin;
Lee Jones31fbcda2012-09-28 10:29:07 +010027 unsigned int touch_pin;
Naveen Kumar Gaddipati4780c8d2010-10-04 22:32:48 -070028 bool ext_clk;
29 bool x_flip;
30 bool y_flip;
31 bool wakeup;
32};
33
34#endif