| 
									
										
										
										
											2008-08-05 16:14:15 +01:00
										 |  |  | /* arch/arm/mach-s3c2410/include/mach/gpio.h
 | 
					
						
							| 
									
										
										
										
											2007-02-12 00:53:15 -08:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2008-07-03 11:24:25 +01:00
										 |  |  |  * Copyright (c) 2008 Simtec Electronics | 
					
						
							|  |  |  |  *	http://armlinux.simtec.co.uk/
 | 
					
						
							|  |  |  |  *	Ben Dooks <ben@simtec.co.uk> | 
					
						
							| 
									
										
										
										
											2007-02-12 00:53:15 -08:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2008-07-03 11:24:25 +01:00
										 |  |  |  * S3C2410 - GPIO lib support | 
					
						
							| 
									
										
										
										
											2007-02-12 00:53:15 -08:00
										 |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							| 
									
										
										
										
											2008-07-03 11:24:25 +01:00
										 |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2007-02-12 00:53:15 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-03 11:24:25 +01:00
										 |  |  | #define gpio_get_value	__gpio_get_value
 | 
					
						
							|  |  |  | #define gpio_set_value	__gpio_set_value
 | 
					
						
							|  |  |  | #define gpio_cansleep	__gpio_cansleep
 | 
					
						
							| 
									
										
										
										
											2009-01-08 12:33:11 +00:00
										 |  |  | #define gpio_to_irq	__gpio_to_irq
 | 
					
						
							| 
									
										
										
										
											2007-02-12 00:53:15 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-11-10 10:59:32 +00:00
										 |  |  | /* some boards require extra gpio capacity to support external
 | 
					
						
							|  |  |  |  * devices that need GPIO. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define ARCH_NR_GPIOS	(256 + CONFIG_S3C24XX_GPIO_EXTRA)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-03 11:24:25 +01:00
										 |  |  | #include <asm-generic/gpio.h>
 | 
					
						
							| 
									
										
										
										
											2008-12-12 00:24:29 +00:00
										 |  |  | #include <mach/gpio-nrs.h>
 | 
					
						
							| 
									
										
										
										
											2009-05-13 22:52:24 +01:00
										 |  |  | #include <mach/gpio-fns.h>
 | 
					
						
							| 
									
										
										
										
											2008-12-12 00:24:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define S3C_GPIO_END	(S3C2410_GPIO_BANKH + 32)
 |