]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pxa: remove unused PWM register definitions, use generic PWM API
authorEric Miao <eric.miao@marvell.com>
Thu, 27 Nov 2008 09:08:42 +0000 (17:08 +0800)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:42:38 +0000 (14:42 +0800)
We now have generic PWM API for PXA, the PWM registers definitions are
now used nowhere, and it is not encouraged to manipulate them directly
by driver code.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/include/mach/pxa-regs.h

index 9b44eb93abc85816361dc1f492c1bea5a7b4c945..6661ba48149823b02b908e5278eeab0bbb22df06 100644 (file)
 #define OIER_E0                (1 << 0)        /* Interrupt enable channel 0 */
 
 
-/*
- * Pulse Width Modulator
- */
-
-#define PWM_CTRL0      __REG(0x40B00000)  /* PWM 0 Control Register */
-#define PWM_PWDUTY0    __REG(0x40B00004)  /* PWM 0 Duty Cycle Register */
-#define PWM_PERVAL0    __REG(0x40B00008)  /* PWM 0 Period Control Register */
-
-#define PWM_CTRL1      __REG(0x40C00000)  /* PWM 1Control Register */
-#define PWM_PWDUTY1    __REG(0x40C00004)  /* PWM 1 Duty Cycle Register */
-#define PWM_PERVAL1    __REG(0x40C00008)  /* PWM 1 Period Control Register */
-
-
 /*
  * Interrupt Controller
  */