diff options
| author | Olof Johansson <olof@lixom.net> | 2013-06-14 20:45:39 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2013-06-14 20:45:39 -0400 |
| commit | 38d77ff90a47d198d2fd3ebd766ee84eaa71a0d2 (patch) | |
| tree | 7adc209e84f7c45fba521d3430350d8a70ac4a75 /include/linux | |
| parent | 2c3165ebb641e0ff3faf1c87ed1c8fbd85871da0 (diff) | |
| parent | 159f8a0209aff155af7f6fcdedd4a4484dd19c23 (diff) | |
Merge tag 'renesas-gpio-rcar-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers
From Simon Horman:
Renesas ARM based SoC GPIO R-Car updates for v3.11
DT support to GPIO R-Car driver by Laurent Pinchart.
* tag 'renesas-gpio-rcar-for-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (131 commits)
gpio-rcar: Add DT support
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/gpio-rcar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-rcar.h b/include/linux/platform_data/gpio-rcar.h index b253f77a7ddf..2d8d69432813 100644 --- a/include/linux/platform_data/gpio-rcar.h +++ b/include/linux/platform_data/gpio-rcar.h | |||
| @@ -17,10 +17,13 @@ | |||
| 17 | #define __GPIO_RCAR_H__ | 17 | #define __GPIO_RCAR_H__ |
| 18 | 18 | ||
| 19 | struct gpio_rcar_config { | 19 | struct gpio_rcar_config { |
| 20 | unsigned int gpio_base; | 20 | int gpio_base; |
| 21 | unsigned int irq_base; | 21 | unsigned int irq_base; |
| 22 | unsigned int number_of_pins; | 22 | unsigned int number_of_pins; |
| 23 | const char *pctl_name; | 23 | const char *pctl_name; |
| 24 | unsigned has_both_edge_trigger:1; | ||
| 24 | }; | 25 | }; |
| 25 | 26 | ||
| 27 | #define RCAR_GP_PIN(bank, pin) (((bank) * 32) + (pin)) | ||
| 28 | |||
| 26 | #endif /* __GPIO_RCAR_H__ */ | 29 | #endif /* __GPIO_RCAR_H__ */ |
