diff options
author | Holger Schurig <h.schurig@mn-solutions.de> | 2009-04-14 06:50:20 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:16:38 -0400 |
commit | c010dba89bc0f5585550877b1693d11d24063b6b (patch) | |
tree | 65a1c28690a5371c54259fb367b02392c32b36c6 /arch/arm/plat-mxc/Kconfig | |
parent | 6b91edde09fadde2657b11b454b88ae89c5b4cae (diff) |
imx: re-work of PWM, add i.MX21 support
* Kconfig enables now HAVE_PWM (this enables in turn the selection of
CONFIG_BACKLIGHT_PWM)
* changes CONFIG_ARCH_MXyy to CONFIG_MACH_MXyy
* fix some register names to match those of the reference manual
* write a stub code so that the PWM can be used to program the
LCD backlight
* convert from #ifdef CONFIG_ARCH_MXxx to cpu_is_mxXX()
* remove unneeded defines and fix 80-column "violations" of checkpatch.pl
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/Kconfig')
-rw-r--r-- | arch/arm/plat-mxc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/Kconfig b/arch/arm/plat-mxc/Kconfig index 61acd4ca9349..beeb01aa029c 100644 --- a/arch/arm/plat-mxc/Kconfig +++ b/arch/arm/plat-mxc/Kconfig | |||
@@ -48,6 +48,7 @@ config MXC_IRQ_PRIOR | |||
48 | config MXC_PWM | 48 | config MXC_PWM |
49 | tristate "Enable PWM driver" | 49 | tristate "Enable PWM driver" |
50 | depends on ARCH_MXC | 50 | depends on ARCH_MXC |
51 | select HAVE_PWM | ||
51 | help | 52 | help |
52 | Enable support for the i.MX PWM controller(s). | 53 | Enable support for the i.MX PWM controller(s). |
53 | 54 | ||