linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs
@ 2010-12-22 19:49 Michael Williamson
  2010-12-22 22:06 ` Kevin Hilman
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Williamson @ 2010-12-22 19:49 UTC (permalink / raw)
  To: linux-arm-kernel

The JTAG variant code for Rev-2.0 silicon of the OMAP-L138 has changed.
In addition, the variant code for the AM-1808 SoC appears to match
the Rev-2.0 code for the OMAP-L138.  Add an additional entry to support
these chips.

Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
---
This is against davinci-linux tree.
Changes since v0, removed whitespace fixups not related to patch.

 arch/arm/mach-davinci/da850.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 78b5ae2..2d0bba5 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -764,6 +764,13 @@ static struct davinci_id da850_ids[] = {
 		.cpu_id		= DAVINCI_CPU_ID_DA850,
 		.name		= "da850/omap-l138",
 	},
+	{
+		.variant	= 0x1,
+		.part_no	= 0xb7d1,
+		.manufacturer	= 0x017,	/* 0x02f >> 1 */
+		.cpu_id		= DAVINCI_CPU_ID_DA850,
+		.name		= "da850/omap-l138/am18xx",
+	},
 };
 
 static struct davinci_timer_instance da850_timer_instance[4] = {
-- 
1.7.0.4

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

* [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs
  2010-12-22 19:49 [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs Michael Williamson
@ 2010-12-22 22:06 ` Kevin Hilman
  2010-12-22 23:09   ` Michael Williamson
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Hilman @ 2010-12-22 22:06 UTC (permalink / raw)
  To: linux-arm-kernel

Michael Williamson <michael.williamson@criticallink.com> writes:

> The JTAG variant code for Rev-2.0 silicon of the OMAP-L138 has changed.
> In addition, the variant code for the AM-1808 SoC appears to match
> the Rev-2.0 code for the OMAP-L138.  Add an additional entry to support
> these chips.

Tested on?  

I'm assuming on the Mity platforms, right?

Kevin

> Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
> ---
> This is against davinci-linux tree.
> Changes since v0, removed whitespace fixups not related to patch.
>
>  arch/arm/mach-davinci/da850.c |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
> index 78b5ae2..2d0bba5 100644
> --- a/arch/arm/mach-davinci/da850.c
> +++ b/arch/arm/mach-davinci/da850.c
> @@ -764,6 +764,13 @@ static struct davinci_id da850_ids[] = {
>  		.cpu_id		= DAVINCI_CPU_ID_DA850,
>  		.name		= "da850/omap-l138",
>  	},
> +	{
> +		.variant	= 0x1,
> +		.part_no	= 0xb7d1,
> +		.manufacturer	= 0x017,	/* 0x02f >> 1 */
> +		.cpu_id		= DAVINCI_CPU_ID_DA850,
> +		.name		= "da850/omap-l138/am18xx",
> +	},
>  };
>  
>  static struct davinci_timer_instance da850_timer_instance[4] = {

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

* [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs
  2010-12-22 22:06 ` Kevin Hilman
@ 2010-12-22 23:09   ` Michael Williamson
  2010-12-23  0:11     ` Kevin Hilman
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Williamson @ 2010-12-22 23:09 UTC (permalink / raw)
  To: linux-arm-kernel

On 12/22/2010 05:06 PM, Kevin Hilman wrote:
> Michael Williamson <michael.williamson@criticallink.com> writes:
> 
>> The JTAG variant code for Rev-2.0 silicon of the OMAP-L138 has changed.
>> In addition, the variant code for the AM-1808 SoC appears to match
>> the Rev-2.0 code for the OMAP-L138.  Add an additional entry to support
>> these chips.
> 
> Tested on?  
> 
> I'm assuming on the Mity platforms, right?
> 

I tested this using an AM-1808 (456 MHz speedgrade) on a MityARM-1808
configured SoM.  I don't have a rev-2.0 silicon OMAP-L138 to try, but
according to the Rev B datasheet the variant will change as described.
It doesn't break the Rev 1 OMAP-L138 silicon MityDSP-L138F SoM.

There was a thread about this in this list (link below) and I also 
have some background on an e2e link at TI (link below).  

I had forgotten that I pulled this patch from Sudhakar Rajashekhara on the arago 
omapl PSP kernel (link to patch below).  It's really his work.

I can resubmit (with tested-by and correct authorship) unless someone at TI
is prepping the same patch?  I sent it because the AM-1808 fails to boot without
it.  Thanks.

-Mike

davinci thread:
http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2010-November/021224.html

e2e thread:
http://e2e.ti.com/support/embedded/f/354/p/67290/248486.aspx

arago kernel patch:
http://arago-project.org/git/projects/?p=linux-omapl1.git;a=commit;h=6157618435e313a444cdf059702bd34036a6e2b7

> Kevin
> 
>> Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
>> ---
>> This is against davinci-linux tree.
>> Changes since v0, removed whitespace fixups not related to patch.
>>
>>  arch/arm/mach-davinci/da850.c |    7 +++++++
>>  1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
>> index 78b5ae2..2d0bba5 100644
>> --- a/arch/arm/mach-davinci/da850.c
>> +++ b/arch/arm/mach-davinci/da850.c
>> @@ -764,6 +764,13 @@ static struct davinci_id da850_ids[] = {
>>  		.cpu_id		= DAVINCI_CPU_ID_DA850,
>>  		.name		= "da850/omap-l138",
>>  	},
>> +	{
>> +		.variant	= 0x1,
>> +		.part_no	= 0xb7d1,
>> +		.manufacturer	= 0x017,	/* 0x02f >> 1 */
>> +		.cpu_id		= DAVINCI_CPU_ID_DA850,
>> +		.name		= "da850/omap-l138/am18xx",
>> +	},
>>  };
>>  
>>  static struct davinci_timer_instance da850_timer_instance[4] = {

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

* [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs
  2010-12-22 23:09   ` Michael Williamson
@ 2010-12-23  0:11     ` Kevin Hilman
  2010-12-23  5:04       ` Rajashekhara, Sudhakar
  0 siblings, 1 reply; 5+ messages in thread
From: Kevin Hilman @ 2010-12-23  0:11 UTC (permalink / raw)
  To: linux-arm-kernel

Michael Williamson <michael.williamson@criticallink.com> writes:

> On 12/22/2010 05:06 PM, Kevin Hilman wrote:
>> Michael Williamson <michael.williamson@criticallink.com> writes:
>> 
>>> The JTAG variant code for Rev-2.0 silicon of the OMAP-L138 has changed.
>>> In addition, the variant code for the AM-1808 SoC appears to match
>>> the Rev-2.0 code for the OMAP-L138.  Add an additional entry to support
>>> these chips.
>> 
>> Tested on?  
>> 
>> I'm assuming on the Mity platforms, right?
>> 
>
> I tested this using an AM-1808 (456 MHz speedgrade) on a MityARM-1808
> configured SoM.  I don't have a rev-2.0 silicon OMAP-L138 to try, but
> according to the Rev B datasheet the variant will change as described.
> It doesn't break the Rev 1 OMAP-L138 silicon MityDSP-L138F SoM.
>
> There was a thread about this in this list (link below) and I also 
> have some background on an e2e link at TI (link below).  
>
> I had forgotten that I pulled this patch from Sudhakar Rajashekhara on the arago 
> omapl PSP kernel (link to patch below).  It's really his work.
>
> I can resubmit (with tested-by and correct authorship) 

Yes please.  Also add the links to the threads mentioned above.

Thanks,

Kevin

> unless someone at TI
> is prepping the same patch?  I sent it because the AM-1808 fails to boot without
> it.  Thanks.
Y
> -Mike
>
> davinci thread:
> http://linux.davincidsp.com/pipermail/davinci-linux-open-source/2010-November/021224.html
>
> e2e thread:
> http://e2e.ti.com/support/embedded/f/354/p/67290/248486.aspx
>
> arago kernel patch:
> http://arago-project.org/git/projects/?p=linux-omapl1.git;a=commit;h=6157618435e313a444cdf059702bd34036a6e2b7
>
>> Kevin
>> 
>>> Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
>>> ---
>>> This is against davinci-linux tree.
>>> Changes since v0, removed whitespace fixups not related to patch.
>>>
>>>  arch/arm/mach-davinci/da850.c |    7 +++++++
>>>  1 files changed, 7 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
>>> index 78b5ae2..2d0bba5 100644
>>> --- a/arch/arm/mach-davinci/da850.c
>>> +++ b/arch/arm/mach-davinci/da850.c
>>> @@ -764,6 +764,13 @@ static struct davinci_id da850_ids[] = {
>>>  		.cpu_id		= DAVINCI_CPU_ID_DA850,
>>>  		.name		= "da850/omap-l138",
>>>  	},
>>> +	{
>>> +		.variant	= 0x1,
>>> +		.part_no	= 0xb7d1,
>>> +		.manufacturer	= 0x017,	/* 0x02f >> 1 */
>>> +		.cpu_id		= DAVINCI_CPU_ID_DA850,
>>> +		.name		= "da850/omap-l138/am18xx",
>>> +	},
>>>  };
>>>  
>>>  static struct davinci_timer_instance da850_timer_instance[4] = {

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

* [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs
  2010-12-23  0:11     ` Kevin Hilman
@ 2010-12-23  5:04       ` Rajashekhara, Sudhakar
  0 siblings, 0 replies; 5+ messages in thread
From: Rajashekhara, Sudhakar @ 2010-12-23  5:04 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Mike,

On Thu, Dec 23, 2010 at 05:41:54, Kevin Hilman wrote:
> Michael Williamson <michael.williamson@criticallink.com> writes:
> 
> > On 12/22/2010 05:06 PM, Kevin Hilman wrote:
> >> Michael Williamson <michael.williamson@criticallink.com> writes:
> >> 
> >>> The JTAG variant code for Rev-2.0 silicon of the OMAP-L138 has changed.
> >>> In addition, the variant code for the AM-1808 SoC appears to match
> >>> the Rev-2.0 code for the OMAP-L138.  Add an additional entry to support
> >>> these chips.
> >> 
> >> Tested on?  
> >> 
> >> I'm assuming on the Mity platforms, right?
> >> 
> >
> > I tested this using an AM-1808 (456 MHz speedgrade) on a MityARM-1808
> > configured SoM.  I don't have a rev-2.0 silicon OMAP-L138 to try, but
> > according to the Rev B datasheet the variant will change as described.
> > It doesn't break the Rev 1 OMAP-L138 silicon MityDSP-L138F SoM.
> >
> > There was a thread about this in this list (link below) and I also 
> > have some background on an e2e link at TI (link below).  
> >
> > I had forgotten that I pulled this patch from Sudhakar Rajashekhara on the arago 
> > omapl PSP kernel (link to patch below).  It's really his work.
> >
> > I can resubmit (with tested-by and correct authorship) 
> 
> Yes please.  Also add the links to the threads mentioned above.
> 

Also, please add
Reported-by: Nicolas Luna <luna.id@gmail.com>

Thanks,
Sudhakar

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

end of thread, other threads:[~2010-12-23  5:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-22 19:49 [PATCH v1] davinci: Add additional JTAG code for AM-1808 and OMAP-L138 Rev 2.0 SoCs Michael Williamson
2010-12-22 22:06 ` Kevin Hilman
2010-12-22 23:09   ` Michael Williamson
2010-12-23  0:11     ` Kevin Hilman
2010-12-23  5:04       ` Rajashekhara, Sudhakar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).