imx: re-work of PWM, add i.MX21 support
authorHolger Schurig <h.schurig@mn-solutions.de>
Tue, 14 Apr 2009 10:50:20 +0000 (12:50 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 May 2009 14:16:38 +0000 (16:16 +0200)
commitc010dba89bc0f5585550877b1693d11d24063b6b
tree65a1c28690a5371c54259fb367b02392c32b36c6
parent6b91edde09fadde2657b11b454b88ae89c5b4cae
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>
arch/arm/plat-mxc/Kconfig
arch/arm/plat-mxc/pwm.c
This page took 0.029342 seconds and 5 git commands to generate.