diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/linux/platform_data/irda-pxaficp.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/linux/platform_data/irda-pxaficp.h')
| -rw-r--r-- | include/linux/platform_data/irda-pxaficp.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/platform_data/irda-pxaficp.h b/include/linux/platform_data/irda-pxaficp.h new file mode 100644 index 000000000000..3cd41f77dda4 --- /dev/null +++ b/include/linux/platform_data/irda-pxaficp.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #ifndef ASMARM_ARCH_IRDA_H | ||
| 2 | #define ASMARM_ARCH_IRDA_H | ||
| 3 | |||
| 4 | /* board specific transceiver capabilities */ | ||
| 5 | |||
| 6 | #define IR_OFF 1 | ||
| 7 | #define IR_SIRMODE 2 | ||
| 8 | #define IR_FIRMODE 4 | ||
| 9 | |||
| 10 | struct pxaficp_platform_data { | ||
| 11 | int transceiver_cap; | ||
| 12 | void (*transceiver_mode)(struct device *dev, int mode); | ||
| 13 | int (*startup)(struct device *dev); | ||
| 14 | void (*shutdown)(struct device *dev); | ||
| 15 | int gpio_pwdown; /* powerdown GPIO for the IrDA chip */ | ||
| 16 | bool gpio_pwdown_inverted; /* gpio_pwdown is inverted */ | ||
| 17 | }; | ||
| 18 | |||
| 19 | extern void pxa_set_ficp_info(struct pxaficp_platform_data *info); | ||
| 20 | |||
| 21 | #if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x) | ||
| 22 | void pxa2xx_transceiver_mode(struct device *dev, int mode); | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #endif | ||
