Skip to contentSkip to conversation

ARM: AM33XX: Fix configuration of dmtimer parent clock by dmtimer driver

PATCH New Jon Hunter 2 participants 2 messages Oct 17, 2012 – Oct 24, 2012

Subsystems (4)
lore
Share & tools
lore

Jon Hunter

author
#0 lore raw

PATCH 1/1 ARM: AM33XX: Fix configuration of dmtimer parent clock by dmtimer driver

From: Vaibhav Hiremath <[email protected]>

Add dmtimer clock aliases for AM33XX devices so that the parent clock for the dmtimer can be set correctly by the dmtimer driver. Without these clock aliases the dmtimer driver will fail to find the parent clocks for the dmtimer.

Verified that DMTIMERs can be successfully requested on AM335x beagle bone.

Original patch was provided by Vaibhav Hiremath [1]. Changelog and additional verification performed by Jon Hunter.

[1] http://marc.info/?l=linux-omap&m=134693631608018&w=2

---
 arch/arm/mach-omap2/clock33xx_data.c |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-omap2/clock33xx_data.c +2 -0
index 114ab4b..1a45d6b 100644
@@ -1073,6 +1073,8 @@ static struct omap_clk am33xx_clks[] = {
 	CLK(NULL,	"gfx_fck_div_ck",	&gfx_fck_div_ck,	CK_AM33XX),
 	CLK(NULL,	"sysclkout_pre_ck",	&sysclkout_pre_ck,	CK_AM33XX),
 	CLK(NULL,	"clkout2_ck",		&clkout2_ck,	CK_AM33XX),
+	CLK(NULL,	"timer_32k_ck",		&clkdiv32k_ick,	CK_AM33XX),
+	CLK(NULL,	"timer_sys_ck",		&sys_clkin_ck,	CK_AM33XX),
 };
 
 int __init am33xx_clk_init(void)
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

PATCH 1/1 ARM: AM33XX: Fix configuration of dmtimer parent clock by dmtimer driver

Quoted 8 lines · Jon Hunter

From: Vaibhav Hiremath <[email protected]>

Add dmtimer clock aliases for AM33XX devices so that the parent clock for the dmtimer can be set correctly by the dmtimer driver. Without these clock aliases the dmtimer driver will fail to find the parent clocks for the dmtimer.

Verified that DMTIMERs can be successfully requested on AM335x beagle bone.

Quoted 8 lines

Original patch was provided by Vaibhav Hiremath [1]. Changelog and additional verification performed by Jon Hunter.

[1] http://marc.info/?l=linux-omap&m=134693631608018&w=2

Thanks applying into omap-for-v3.7-rc2/fixes.

Regards,

Tony

Quoted 24 lines
---
 arch/arm/mach-omap2/clock33xx_data.c |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-omap2/clock33xx_data.c +2 -0
index 114ab4b..1a45d6b 100644
@@ -1073,6 +1073,8 @@ static struct omap_clk am33xx_clks[] = {
 	CLK(NULL,	"gfx_fck_div_ck",	&gfx_fck_div_ck,	CK_AM33XX),
 	CLK(NULL,	"sysclkout_pre_ck",	&sysclkout_pre_ck,	CK_AM33XX),
 	CLK(NULL,	"clkout2_ck",		&clkout2_ck,	CK_AM33XX),
+	CLK(NULL,	"timer_32k_ck",		&clkdiv32k_ick,	CK_AM33XX),
+	CLK(NULL,	"timer_sys_ck",		&sys_clkin_ck,	CK_AM33XX),
 };
 
 int __init am33xx_clk_init(void)
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html