]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/platform_data/irda-pxaficp.h
1 #ifndef ASMARM_ARCH_IRDA_H
2 #define ASMARM_ARCH_IRDA_H
4 /* board specific transceiver capabilities */
10 struct pxaficp_platform_data
{
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 */
19 extern void pxa_set_ficp_info(struct pxaficp_platform_data
*info
);
21 #if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)
22 void pxa2xx_transceiver_mode(struct device
*dev
, int mode
);