Duy Truong | 790f06d | 2013-02-13 16:38:12 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2011, The Linux Foundation. All rights reserved. |
Stepan Moskovchenko | 93d79ec | 2011-09-21 16:52:16 -0700 | [diff] [blame] | 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 | */ |
| 20 | struct ks8851_pdata { |
| 21 | int irq_gpio; |
| 22 | int rst_gpio; |
| 23 | }; |