[ARM] 5258/1: [AT91] PWM controller initialization
Add platform_devices and configuration of the PWM controller found on Atmel AT91CAP9, SAM9263 and SAM9RL processors. SAM9263 support by Sedji Gaouaou. Signed-off-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
e505240b6a
commit
bb1ad68b96
@@ -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,
|
||||
|
Reference in New Issue
Block a user