lkml.org 
[lkml]   [2008]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAT91: atmel_pwm only available for certain AT91 processors
Only three of Atmel's AT91 processors (SAM9263, SAM9RL and CAP9)
include a PWM controller.
It should therefore only be possible to enable the misc/atmel_pwm.c
driver on those processors (and not all AT91 processors).

Signed-off-by: Andrew Victor <linux@maxim.org.za>
diff -urN -x CVS linux-2.6.27-rc7/drivers/misc/Kconfig linux-2.6/drivers/misc/Kconfig
--- linux-2.6.27-rc7/drivers/misc/Kconfig 2008-09-24 22:37:40.000000000 +0200
+++ linux-2.6/drivers/misc/Kconfig 2008-09-24 16:23:06.000000000 +0200
@@ -15,7 +15,7 @@

config ATMEL_PWM
tristate "Atmel AT32/AT91 PWM support"
- depends on AVR32 || ARCH_AT91
+ depends on AVR32 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9
help
This option enables device driver support for the PWM channels
on certain Atmel prcoessors. Pulse Width Modulation is used for
\
 
 \ /
  Last update: 2008-09-24 23:15    [W:0.316 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site