Re: [PATCH v4 05/10] ARM: tegra: Provide clock for only one PWM controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 03/14/2012 09:56 AM, Thierry Reding wrote:
> A subsequent patch will add a generic PWM API driver for the Tegra PWFM
> controller, supporting all four PWM devices with a single PWM chip. The
> device will be named tegra-pwm and only one clock needs to be provided.
> 
> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> Acked-by: Stephen Warren <swarren@xxxxxxxxxx>
...
> -	CLK_DUPLICATE("pwm", "tegra_pwm.0", NULL),
> -	CLK_DUPLICATE("pwm", "tegra_pwm.1", NULL),
> -	CLK_DUPLICATE("pwm", "tegra_pwm.2", NULL),
> -	CLK_DUPLICATE("pwm", "tegra_pwm.3", NULL),
> +	CLK_DUPLICATE("pwm", "tegra-pwm", NULL),

I thought harder about this: Why not delete /all/ the CLK_DUPLICATE()s
for PWM, and change the second parameter to PERIPH_CLK for PWM from
"pwm" to "tegra-pwm"?
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[ARM Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]     [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux