aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/atmel_pwm.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-24atmel_pwm: set up only one PWM clock when allocating a clockHans-Christian Egtvedt1-2/+1
This patch will only setup one clock, if free, and return this clock to the caller. The previous solution would setup both clocks with the same prescaler and divider and return PWM_CPR_CLKB, thus taking both clocks in the same call without the caller knowing. Signed-off-by: Hans-Christian Egtvedt <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-06-27atmel_pwm: Rename the "mck" clock to "pwm_clk"Sedji Gaouaou1-1/+1
The name "mck" causes a conflict on AT91. Call it "pwm_clk" instead. Signed-off-by: Sedji Gaouaou <[email protected]> Signed-off-by: Haavard Skinnemoen <[email protected]>
2008-04-15misc: fix platform driver hotplug/coldplugKay Sievers1-0/+1
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable 'misc' platform drivers, to re-enable auto loading. [[email protected]: bugfix, registration fixes] Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-02-08Basic PWM driver for AVR32 and AT91David Brownell1-0/+409
PWM device setup, and a simple PWM driver exposing a programming interface giving access to each channel's full capabilities. Note that this doesn't support starting several channels in synch. [[email protected]: allocate platform device dynamically] [[email protected]: Kconfig fix] Signed-off-by: David Brownell <[email protected]> Signed-off-by: Haavard Skinnemoen <[email protected]> Cc: Andrew Victor <[email protected]> Cc: Nicolas Ferre <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>