Thread (1 message) 1 message, 1 author, 2012-03-20

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

From: Stephen Warren <hidden>
Date: 2012-03-20 15:27:58
Also in: linux-devicetree, linux-tegra

Possibly related (same subject, not in this thread)

On 03/20/2012 02:44 AM, Thierry Reding wrote:
* Stephen Warren wrote:
quoted
On 03/14/2012 09:56 AM, Thierry Reding wrote:
quoted
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 <redacted>
Acked-by: Stephen Warren <redacted>
...
quoted
-	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"?
I think that should work. I'll retest and will update the patch accordingly.
I assume that you're Acked-by will remain valid after those changes?
Yes in this case, assuming the patch looks like what I think it will:-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help