| 
									
										
										
										
											2005-10-28 16:39:33 +01:00
										 |  |  | #ifndef ASMARM_ARCH_IRDA_H
 | 
					
						
							|  |  |  | #define ASMARM_ARCH_IRDA_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* board specific transceiver capabilities */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define IR_OFF		1
 | 
					
						
							|  |  |  | #define IR_SIRMODE	2
 | 
					
						
							|  |  |  | #define IR_FIRMODE	4
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct pxaficp_platform_data { | 
					
						
							|  |  |  | 	int transceiver_cap; | 
					
						
							|  |  |  | 	void (*transceiver_mode)(struct device *dev, int mode); | 
					
						
							| 
									
										
										
										
											2008-04-12 20:08:16 +01:00
										 |  |  | 	int (*startup)(struct device *dev); | 
					
						
							|  |  |  | 	void (*shutdown)(struct device *dev); | 
					
						
							| 
									
										
										
										
											2009-07-17 12:50:43 +02:00
										 |  |  | 	int gpio_pwdown;		/* powerdown GPIO for the IrDA chip */ | 
					
						
							|  |  |  | 	bool gpio_pwdown_inverted;	/* gpio_pwdown is inverted */ | 
					
						
							| 
									
										
										
										
											2005-10-28 16:39:33 +01:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern void pxa_set_ficp_info(struct pxaficp_platform_data *info); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-02 13:53:45 +01:00
										 |  |  | #if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)
 | 
					
						
							|  |  |  | void pxa2xx_transceiver_mode(struct device *dev, int mode); | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-10-28 16:39:33 +01:00
										 |  |  | #endif
 |