blob: 6970f47ee95230b5092e20c4ce860bdab5186f29 [file] [log] [blame]
Stepan Moskovchenko93d79ec2011-09-21 16:52:16 -07001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13/* struct ks8851_pdata - platform data definition for a KS8851 device
14 * @irq_gpio - GPIO pin number for the KS8851 IRQ line
15 * @rst_gpio - GPIO pin number for the KS8851 Reset line
16 *
17 * Platform data may be omitted (or individual GPIO numbers set to -1) to
18 * avoid doing any GPIO configuration in the driver.
19 */
20struct ks8851_pdata {
21 int irq_gpio;
22 int rst_gpio;
23};