* [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias
@ 2012-09-24 17:56 Vaibhav Hiremath
2012-09-24 18:33 ` Paul Walmsley
0 siblings, 1 reply; 4+ messages in thread
From: Vaibhav Hiremath @ 2012-09-24 17:56 UTC (permalink / raw)
To: linux-arm-kernel
After Rajendra's common-clock preparation series,
commit (a1978ef4da1 - ARM: omap: hwmod: get rid of
all omap_clk_get_by_name usage) the clkdev table need to
update with an entry for clocks used by hwmod to have
clock name same as the alias.
Without this, the clk_get() in omap_hwmod would fail.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti•com>
---
arch/arm/mach-omap2/clock33xx_data.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c
index b87b88c..114ab4b 100644
--- a/arch/arm/mach-omap2/clock33xx_data.c
+++ b/arch/arm/mach-omap2/clock33xx_data.c
@@ -1035,6 +1035,8 @@ static struct omap_clk am33xx_clks[] = {
CLK(NULL, "pruss_ocp_gclk", &pruss_ocp_gclk, CK_AM33XX),
CLK("davinci-mcasp.0", NULL, &mcasp0_fck, CK_AM33XX),
CLK("davinci-mcasp.1", NULL, &mcasp1_fck, CK_AM33XX),
+ CLK(NULL, "mcasp0_fck", &mcasp0_fck, CK_AM33XX),
+ CLK(NULL, "mcasp1_fck", &mcasp1_fck, CK_AM33XX),
CLK("NULL", "mmc2_fck", &mmc2_fck, CK_AM33XX),
CLK(NULL, "mmu_fck", &mmu_fck, CK_AM33XX),
CLK(NULL, "smartreflex0_fck", &smartreflex0_fck, CK_AM33XX),
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias
2012-09-24 17:56 [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias Vaibhav Hiremath
@ 2012-09-24 18:33 ` Paul Walmsley
2012-09-24 18:49 ` Tony Lindgren
0 siblings, 1 reply; 4+ messages in thread
From: Paul Walmsley @ 2012-09-24 18:33 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 24 Sep 2012, Vaibhav Hiremath wrote:
> After Rajendra's common-clock preparation series,
> commit (a1978ef4da1 - ARM: omap: hwmod: get rid of
> all omap_clk_get_by_name usage) the clkdev table need to
> update with an entry for clocks used by hwmod to have
> clock name same as the alias.
>
> Without this, the clk_get() in omap_hwmod would fail.
>
> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti•com>
Tony, if you want to take this, it's
Acked-by: Paul Walmsley <paul@pwsan•com>
otherwise we'll wait for -rc1.
- Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias
2012-09-24 18:33 ` Paul Walmsley
@ 2012-09-24 18:49 ` Tony Lindgren
2012-09-24 20:57 ` Paul Walmsley
0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2012-09-24 18:49 UTC (permalink / raw)
To: linux-arm-kernel
* Paul Walmsley <paul@pwsan•com> [120924 11:34]:
> On Mon, 24 Sep 2012, Vaibhav Hiremath wrote:
>
> > After Rajendra's common-clock preparation series,
> > commit (a1978ef4da1 - ARM: omap: hwmod: get rid of
> > all omap_clk_get_by_name usage) the clkdev table need to
> > update with an entry for clocks used by hwmod to have
> > clock name same as the alias.
> >
> > Without this, the clk_get() in omap_hwmod would fail.
> >
> > Signed-off-by: Vaibhav Hiremath <hvaibhav@ti•com>
>
> Tony, if you want to take this, it's
>
> Acked-by: Paul Walmsley <paul@pwsan•com>
>
> otherwise we'll wait for -rc1.
Please just go ahead and queue it as a fix.
We should get a fixes branch in before -rc1 is tagged
so -rc1 works for us.
Regards,
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias
2012-09-24 18:49 ` Tony Lindgren
@ 2012-09-24 20:57 ` Paul Walmsley
0 siblings, 0 replies; 4+ messages in thread
From: Paul Walmsley @ 2012-09-24 20:57 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 24 Sep 2012, Tony Lindgren wrote:
> * Paul Walmsley <paul@pwsan•com> [120924 11:34]:
> > On Mon, 24 Sep 2012, Vaibhav Hiremath wrote:
> >
> > > After Rajendra's common-clock preparation series,
> > > commit (a1978ef4da1 - ARM: omap: hwmod: get rid of
> > > all omap_clk_get_by_name usage) the clkdev table need to
> > > update with an entry for clocks used by hwmod to have
> > > clock name same as the alias.
> > >
> > > Without this, the clk_get() in omap_hwmod would fail.
> > >
> > > Signed-off-by: Vaibhav Hiremath <hvaibhav@ti•com>
> >
> > Tony, if you want to take this, it's
> >
> > Acked-by: Paul Walmsley <paul@pwsan•com>
> >
> > otherwise we'll wait for -rc1.
>
> Please just go ahead and queue it as a fix.
>
> We should get a fixes branch in before -rc1 is tagged
> so -rc1 works for us.
OK, will send a pull request once devel-late goes upstream.
- Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-24 20:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24 17:56 [PATCH] ARM: am33xx: clk: Update clkdev table to add mcasp alias Vaibhav Hiremath
2012-09-24 18:33 ` Paul Walmsley
2012-09-24 18:49 ` Tony Lindgren
2012-09-24 20:57 ` Paul Walmsley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox