Skip to contentSkip to conversation

ARM: am33xx: clk: Update clkdev table to add mcasp alias

PATCH New Vaibhav Hiremath 3 participants 4 messages Sep 24, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: am33xx: clk: Update clkdev table to add mcasp alias

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.

---
 arch/arm/mach-omap2/clock33xx_data.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/clock33xx_data.c +2 -0
index b87b88c..114ab4b 100644
@@ -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),
Signature · 1 line
1.7.0.4
maintainer
#1 lore raw

PATCH 1/1 ARM: am33xx: clk: Update clkdev table to add mcasp alias

Quoted 9 lines · Vaibhav Hiremath

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.

Tony, if you want to take this, it's

otherwise we'll wait for -rc1.

- Paul

maintainer
#2 lore raw

PATCH 1/1 ARM: am33xx: clk: Update clkdev table to add mcasp alias

Quoted 10 lines · Paul Walmsley
Quoted 8 lines · Vaibhav Hiremath

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.

Quoted 7 lines
Quoted 1 line

Tony, if you want to take this, it's

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

maintainer
#3 lore raw

PATCH 1/1 ARM: am33xx: clk: Update clkdev table to add mcasp alias

Quoted 15 lines · Tony Lindgren
Quoted 14 lines · Paul Walmsley
Quoted 9 lines · Vaibhav Hiremath

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.

Tony, if you want to take this, it's

Quoted 8 lines
Quoted 3 lines

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