Merge tag 'gpio-v3.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6.git] / drivers / staging / ste_rmi4 / synaptics_i2c_rmi4.h
blob8c9166ba71c7d59d9c1e41cce18b492225716999
1 /**
3 * Synaptics Register Mapped Interface (RMI4) I2C Physical Layer Driver.
4 * Copyright (c) 2007-2010, Synaptics Incorporated
6 * Author: Js HA <js.ha@stericsson.com> for ST-Ericsson
7 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
8 * Copyright 2010 (c) ST-Ericsson AB
9 */
11 * This file is licensed under the GPL2 license.
13 *#############################################################################
14 * GPL
16 * This program is free software; you can redistribute it and/or modify it
17 * under the terms of the GNU General Public License version 2 as published
18 * by the Free Software Foundation.
20 * This program is distributed in the hope that it will be useful, but
21 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 * for more details.
25 *#############################################################################
28 #ifndef _SYNAPTICS_RMI4_H_INCLUDED_
29 #define _SYNAPTICS_RMI4_H_INCLUDED_
31 /**
32 * struct synaptics_rmi4_platform_data - contains the rmi4 platform data
33 * @irq_number: irq number
34 * @irq_type: irq type
35 * @x flip: x flip flag
36 * @y flip: y flip flag
38 * This structure gives platform data for rmi4.
40 struct synaptics_rmi4_platform_data {
41 int irq_type;
42 bool x_flip;
43 bool y_flip;
46 #endif