blob: bfa4d3b8196708857a66a8ab16c07565885583be [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2011, The Linux Foundation. All rights reserved.
Stepan Moskovchenko93d79ec2011-09-21 16:52:16 -07002 *
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};