]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-avr32/arch-at32ap/portmux.h
[AVR32] Add Atmel SSC driver platform device to AT32AP architecture
[linux-2.6-omap-h63xx.git] / include / asm-avr32 / arch-at32ap / portmux.h
index 83c690571322af286ec19d6163691c3402efd792..9930871decde1e61bbb522b9d9243759263f773c 100644 (file)
  *
  * The following flags determine the initial state of the pin.
  */
-#define AT32_GPIOF_PULLUP      0x00000001      /* Enable pull-up */
-#define AT32_GPIOF_OUTPUT      0x00000002      /* Enable output driver */
-#define AT32_GPIOF_HIGH                0x00000004      /* Set output high */
+#define AT32_GPIOF_PULLUP      0x00000001      /* (not-OUT) Enable pull-up */
+#define AT32_GPIOF_OUTPUT      0x00000002      /* (OUT) Enable output driver */
+#define AT32_GPIOF_HIGH                0x00000004      /* (OUT) Set output high */
+#define AT32_GPIOF_DEGLITCH    0x00000008      /* (IN) Filter glitches */
 
 void at32_select_periph(unsigned int pin, unsigned int periph,
                        unsigned long flags);
 void at32_select_gpio(unsigned int pin, unsigned long flags);
+void at32_reserve_pin(unsigned int pin);
 
 #endif /* __ASM_ARCH_PORTMUX_H__ */