Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot
@ 2012-11-16 23:44 Joel A Fernandes
  2012-11-17  0:12 ` Jon Hunter
  0 siblings, 1 reply; 8+ messages in thread
From: Joel A Fernandes @ 2012-11-16 23:44 UTC (permalink / raw)
  To: linux-omap
  Cc: Russ Dill, Matt Porter, Steve Kipisz, Jason Kridner,
	Tony Lindgren

Set ENABLE_ON_INIT for debugss clock so that it is on during init and the usecount is incremented.
Not doing so causes kernel to disable debugss clock to save power when CONFIG_OMAP_RESET_CLOCKS
is set, causing a JTAG disconnect.

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Cc: Russ Dill <Russ.Dill@ti.com>
Cc: Matt Porter <mporter@ti.com>
Cc: Steve Kipisz <s-kipisz2@ti.com>
Cc: Jason Kridner <jkridner@beagleboard.org>
Cc: Tony Lindgren <tony@atomide.com>
---
Resending, as Cc list was dropped.

 arch/arm/mach-omap2/clock33xx_data.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c
index b7b7995..d0b4313 100644
--- a/arch/arm/mach-omap2/clock33xx_data.c
+++ b/arch/arm/mach-omap2/clock33xx_data.c
@@ -585,6 +585,7 @@ static struct clk debugss_ick = {
 	.clkdm_name	= "l3_aon_clkdm",
 	.parent		= &dpll_core_m4_ck,
 	.ops		= &clkops_omap2_dflt,
+	.flags		= ENABLE_ON_INIT,
 	.enable_reg	= AM33XX_CM_WKUP_DEBUGSS_CLKCTRL,
 	.enable_bit	= AM33XX_MODULEMODE_SWCTRL,
 	.recalc		= &followparent_recalc,
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot
@ 2012-11-16 23:30 Joel A Fernandes
  0 siblings, 0 replies; 8+ messages in thread
From: Joel A Fernandes @ 2012-11-16 23:30 UTC (permalink / raw)
  To: linux-omap

Set ENABLE_ON_INIT for debugss clock so that it is on during init and the usecount is incremented.
Not doing so causes kernel to disable debugss clock to save power when CONFIG_OMAP_RESET_CLOCKS
is set, causing a JTAG disconnect.

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Cc: Russ Dill <Russ.Dill@ti.com>
Cc: Matt Porter <mporter@ti.com>
Cc: Steve Kipisz <s-kipisz2@ti.com>
Cc: Jason Kridner <jkridner@beagleboard.org>
Cc: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap2/clock33xx_data.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c
index b7b7995..d0b4313 100644
--- a/arch/arm/mach-omap2/clock33xx_data.c
+++ b/arch/arm/mach-omap2/clock33xx_data.c
@@ -585,6 +585,7 @@ static struct clk debugss_ick = {
 	.clkdm_name	= "l3_aon_clkdm",
 	.parent		= &dpll_core_m4_ck,
 	.ops		= &clkops_omap2_dflt,
+	.flags		= ENABLE_ON_INIT,
 	.enable_reg	= AM33XX_CM_WKUP_DEBUGSS_CLKCTRL,
 	.enable_bit	= AM33XX_MODULEMODE_SWCTRL,
 	.recalc		= &followparent_recalc,
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-22 21:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 23:44 [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot Joel A Fernandes
2012-11-17  0:12 ` Jon Hunter
2012-11-17  2:44   ` Joel A Fernandes
2012-11-19 16:15     ` Jon Hunter
2012-11-22  5:30       ` Vaibhav Hiremath
2012-11-22 21:04         ` Joel A Fernandes
2012-11-22 21:01       ` Joel A Fernandes
  -- strict thread matches above, loose matches on Subject: below --
2012-11-16 23:30 Joel A Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox