Thread (8 messages) flat view 8 messages, 4 authors, 2012-09-20

[PATCH] spi: pl022: Add clk_{un}prepare() support in runtime PM

From: viresh.kumar@linaro.org (viresh kumar)
Date: 2012-09-18 04:09:12
Also in: linux-spi, lkml

On Mon, Sep 17, 2012 at 7:09 PM, Linus Walleij [off-list ref] wrote:
This driver does clk_prepare/unprepare at probe
and removed, so I guess what you're trying to say is that
on your platform the clk_unprepare() process context call
is needed to save power?

Please elaborate...
Hi Linus,

Yes, we don't need to call prepare() again atleast for SPEAr. You are correct.
I saw the driver after a long time :)
Can you please elaborate, why can't i see any clk_disable/enable calls anywhere
else from probe. If i remember correctly, earlier we used to enable/disable
clk after transfers and also during suspend/resume.

The amba layer is taking care of interface clock only and not
functional clock. So
i believe that's not the magic code. :)

--
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help