Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-22 Thread Vaibhav Hiremath
On 11/19/2012 9:45 PM, Jon Hunter wrote: On 11/16/2012 08:44 PM, Joel A Fernandes wrote: Hi Jon, On Fri, Nov 16, 2012 at 6:12 PM, Jon Hunter jon-hun...@ti.com wrote: diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c index b7b7995..d0b4313 100644

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-22 Thread Joel A Fernandes
Hi Jon, On Mon, Nov 19, 2012 at 10:15 AM, Jon Hunter jon-hun...@ti.com wrote: On 11/16/2012 08:44 PM, Joel A Fernandes wrote: Hi Jon, On Fri, Nov 16, 2012 at 6:12 PM, Jon Hunter jon-hun...@ti.com wrote: diff --git a/arch/arm/mach-omap2/clock33xx_data.c

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-22 Thread Joel A Fernandes
Hi Vaibhav, The it should be handled is, on kernel_debug option we should keep it enabled and default it should be disabled. Something similar to, diff --git a/arch/arm/mach-omap2/clock33xx_data.c b/arch/arm/mach-omap2/clock33xx_data.c index 17e3de5..60e0b53 100644 ---

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-19 Thread Jon Hunter
On 11/16/2012 08:44 PM, Joel A Fernandes wrote: Hi Jon, On Fri, Nov 16, 2012 at 6:12 PM, Jon Hunter jon-hun...@ti.com wrote: 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

[PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-16 Thread Joel A Fernandes
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 joelag...@ti.com Cc: Russ Dill

[PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-16 Thread Joel A Fernandes
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 joelag...@ti.com Cc: Russ Dill

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-16 Thread Jon Hunter
On 11/16/2012 05:44 PM, Joel A Fernandes wrote: 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.

Re: [PATCH] AM33XX: Clock: Fix JTAG disconnect during kernel boot

2012-11-16 Thread Joel A Fernandes
Hi Jon, On Fri, Nov 16, 2012 at 6:12 PM, Jon Hunter jon-hun...@ti.com wrote: 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 @@