diff options
author | eric miao <eric.miao@marvell.com> | 2008-04-13 16:44:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-19 11:25:39 -0400 |
commit | 75540c1ac3c7bd72ac8e092058f9714875239995 (patch) | |
tree | 9d6dc7cb389f879be36a1583ce8949023a55dd2d /arch/arm/mach-pxa/devices.h | |
parent | 1a189b97190d3f0f8cf0379a799d3555b2d648bb (diff) |
[ARM] pxa: Add PXA support for PWM API
Patch mainly from Eric Miao, with minor edits by rmk.
Note: PWM0 and PWM2 share the same register I/O space and clock gating
on pxa{27x, 3xx}, thus PWM2 is treated in the driver as a child PWM of
PWM0. And this is also true for PWM1/3.
Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/devices.h')
-rw-r--r-- | arch/arm/mach-pxa/devices.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.h b/arch/arm/mach-pxa/devices.h index fcab017f27ee..e620a3373d42 100644 --- a/arch/arm/mach-pxa/devices.h +++ b/arch/arm/mach-pxa/devices.h | |||
@@ -24,4 +24,9 @@ extern struct platform_device pxa27x_device_ssp2; | |||
24 | extern struct platform_device pxa27x_device_ssp3; | 24 | extern struct platform_device pxa27x_device_ssp3; |
25 | extern struct platform_device pxa3xx_device_ssp4; | 25 | extern struct platform_device pxa3xx_device_ssp4; |
26 | 26 | ||
27 | extern struct platform_device pxa25x_device_pwm0; | ||
28 | extern struct platform_device pxa25x_device_pwm1; | ||
29 | extern struct platform_device pxa27x_device_pwm0; | ||
30 | extern struct platform_device pxa27x_device_pwm1; | ||
31 | |||
27 | void __init pxa_register_device(struct platform_device *dev, void *data); | 32 | void __init pxa_register_device(struct platform_device *dev, void *data); |