]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-at91/include/mach/board.h
[ARM] 5259/2: [AT91] PWM LEDs on AT91SAM9263-EK
[linux-2.6-omap-h63xx.git] / arch / arm / mach-at91 / include / mach / board.h
index acd60f2a0724ad6c67f29f77eb0df7f4ed1d7988..e852609d802f18a94dc4371d2300a5cc3df1b82d 100644 (file)
@@ -132,6 +132,16 @@ struct atmel_uart_data {
 };
 extern void __init at91_add_device_serial(void);
 
+/*
+ * PWM
+ */
+#define AT91_PWM0      0
+#define AT91_PWM1      1
+#define AT91_PWM2      2
+#define AT91_PWM3      3
+
+extern void __init at91_add_device_pwm(u32 mask);
+
 /*
  * SSC -- accessed through ssc_request(id).  Drivers don't bind to SSC
  * platform devices.  Their SSC ID is part of their configuration data,
@@ -165,6 +175,7 @@ extern void __init at91_add_device_isi(void);
  /* LEDs */
 extern void __init at91_init_leds(u8 cpu_led, u8 timer_led);
 extern void __init at91_gpio_leds(struct gpio_led *leds, int nr);
+extern void __init at91_pwm_leds(struct gpio_led *leds, int nr);
 
 /* FIXME: this needs a better location, but gets stuff building again */
 extern int at91_suspend_entering_slow_clock(void);