X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-at91%2Finclude%2Fmach%2Fboard.h;h=e852609d802f18a94dc4371d2300a5cc3df1b82d;hb=a7307bf22557e1e029df0ea6f2a2973de4d9c135;hp=acd60f2a0724ad6c67f29f77eb0df7f4ed1d7988;hpb=1de481ded98d1d48e2a4102a5aa549e3c4d18ee3;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-at91/include/mach/board.h b/arch/arm/mach-at91/include/mach/board.h index acd60f2a072..e852609d802 100644 --- a/arch/arm/mach-at91/include/mach/board.h +++ b/arch/arm/mach-at91/include/mach/board.h @@ -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);