]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/input/bu21013.h
Merge branches 'for-4.0/upstream-fixes', 'for-4.1/genius', 'for-4.1/huion-uclogic...
[mirror_ubuntu-artful-kernel.git] / include / linux / input / bu21013.h
CommitLineData
4780c8df
NKG
1/*
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
4780c8df
NKG
12 * @touch_x_max: touch x max
13 * @touch_y_max: touch y max
14 * @cs_pin: chip select pin
31fbcda7 15 * @touch_pin: touch gpio pin
4780c8df
NKG
16 * @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 {
4780c8df
NKG
24 int touch_x_max;
25 int touch_y_max;
26 unsigned int cs_pin;
31fbcda7 27 unsigned int touch_pin;
4780c8df
NKG
28 bool ext_clk;
29 bool x_flip;
30 bool y_flip;
31 bool wakeup;
32};
33
34#endif