1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASMARM_ARCH_IRDA_H
3 #define ASMARM_ARCH_IRDA_H
5 /* board specific transceiver capabilities */
11 struct pxaficp_platform_data
{
13 void (*transceiver_mode
)(struct device
*dev
, int mode
);
14 int (*startup
)(struct device
*dev
);
15 void (*shutdown
)(struct device
*dev
);
16 int gpio_pwdown
; /* powerdown GPIO for the IrDA chip */
17 bool gpio_pwdown_inverted
; /* gpio_pwdown is inverted */
20 extern void pxa_set_ficp_info(struct pxaficp_platform_data
*info
);
22 #if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)
23 void pxa2xx_transceiver_mode(struct device
*dev
, int mode
);