Magnus Damm | 119f5e4 | 2013-03-13 20:32:13 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Renesas R-Car GPIO Support |
| 3 | * |
| 4 | * Copyright (C) 2013 Magnus Damm |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | */ |
| 15 | |
| 16 | #ifndef __GPIO_RCAR_H__ |
| 17 | #define __GPIO_RCAR_H__ |
| 18 | |
| 19 | struct gpio_rcar_config { |
Laurent Pinchart | 36cb006 | 2013-05-10 16:48:36 +0200 | [diff] [blame^] | 20 | int gpio_base; |
Magnus Damm | 119f5e4 | 2013-03-13 20:32:13 +0900 | [diff] [blame] | 21 | unsigned int irq_base; |
| 22 | unsigned int number_of_pins; |
Laurent Pinchart | dc3465a | 2013-03-10 03:27:00 +0100 | [diff] [blame] | 23 | const char *pctl_name; |
Magnus Damm | 119f5e4 | 2013-03-13 20:32:13 +0900 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | #endif /* __GPIO_RCAR_H__ */ |