[PATCH] ep93xx: introduce clk parent
H Hartley Sweeten
hartleys at visionengravers.com
Fri Oct 9 13:30:12 EDT 2009
On Friday, October 09, 2009 10:11 AM, Christian Gagneraud wrote:
> I've noticed as well that there's missing bits from Matthieu's
> 0024-ep93xx_pwm.patch, that's almost nothing, but I guess that was the
> main reason Matthieu added PWM support to EP93XX:
>
> diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c
> index 086d069..ee7baeb 100644
> --- a/arch/arm/mach-ep93xx/ts72xx.c
> +++ b/arch/arm/mach-ep93xx/ts72xx.c
> @@ -303,6 +303,9 @@ static void __init ts72xx_init_machine(void)
> spi_register_board_info(ts72xx_spi_bus,
> ARRAY_SIZE(ts72xx_spi_bus));
> #endif
>
> + /* PWM1 is DIO_6 on TS-72xx header */
> + ep93xx_register_pwm(1, 1);
> +
> ep93xx_register_eth(&ts72xx_eth_data, 1);
> }
Matthieu must have rebased his yahoo patches recently. The copy I have
registered his old driver as:
+ // DIO_6 on TS-72xx header
+ #if defined(CONFIG_EP93XX_PWM) || defined(CONFIG_EP93XX_PWM_MODULE)
+ (void) platform_device_register_simple("ep93xx-pwm", 1, NULL, 0);
+ #endif
When I submitted the updated pwm driver I didn't add the code to register
the pwm peripheral in any of the platform init's.
If you want to use the pwm signals just add the ep93xx_register_pwm() call
to your init_machine().
Regards,
Hartley
More information about the linux-arm-kernel
mailing list