linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: AM43x: Add ID for ES1.2
@ 2014-11-28  3:32 Lokesh Vutla
  2014-12-02 16:49 ` Nishanth Menon
  0 siblings, 1 reply; 3+ messages in thread
From: Lokesh Vutla @ 2014-11-28  3:32 UTC (permalink / raw)
  To: linux-arm-kernel

ES1.2 is a minor variant of ES1.1. Major changes since ES1.1 are
updating ROM for fixing the following boot modes:
- NAND boot
- UART boot
- Ethernet boot
- USB HOST/Client boot
This patch adds ID support for AM437x ES1.2 silicon.
There are no additional kernel fixes required for ES1.2 silicon.

Latest Technical Documentation can be found here:
http://www.ti.com/lsds/ti/arm/sitara_arm_cortex_a_processor/arm_cortex_a9_core/am437x_arm_cortex_a9/tech_docs.page

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 arch/arm/mach-omap2/id.c  | 8 ++++++--
 arch/arm/mach-omap2/soc.h | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 53841de..c25feba 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -471,11 +471,15 @@ void __init omap3xxx_check_revision(void)
 			cpu_rev = "1.0";
 			break;
 		case 1:
-		/* FALLTHROUGH */
-		default:
 			omap_revision = AM437X_REV_ES1_1;
 			cpu_rev = "1.1";
 			break;
+		case 2:
+		/* FALLTHROUGH */
+		default:
+			omap_revision = AM437X_REV_ES1_2;
+			cpu_rev = "1.2";
+			break;
 		}
 		break;
 	case 0xb8f2:
diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
index 4376f59..c1a3b44 100644
--- a/arch/arm/mach-omap2/soc.h
+++ b/arch/arm/mach-omap2/soc.h
@@ -446,6 +446,7 @@ IS_OMAP_TYPE(3430, 0x3430)
 #define AM437X_CLASS		0x43700000
 #define AM437X_REV_ES1_0	(AM437X_CLASS | (0x10 << 8))
 #define AM437X_REV_ES1_1	(AM437X_CLASS | (0x11 << 8))
+#define AM437X_REV_ES1_2	(AM437X_CLASS | (0x12 << 8))
 
 #define OMAP443X_CLASS		0x44300044
 #define OMAP4430_REV_ES1_0	(OMAP443X_CLASS | (0x10 << 8))
-- 
1.9.1

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

* [PATCH] ARM: OMAP2+: AM43x: Add ID for ES1.2
  2014-11-28  3:32 [PATCH] ARM: OMAP2+: AM43x: Add ID for ES1.2 Lokesh Vutla
@ 2014-12-02 16:49 ` Nishanth Menon
  2014-12-10 16:45   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Nishanth Menon @ 2014-12-02 16:49 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/27/2014 09:32 PM, Lokesh Vutla wrote:
> ES1.2 is a minor variant of ES1.1. Major changes since ES1.1 are
> updating ROM for fixing the following boot modes:
> - NAND boot
> - UART boot
> - Ethernet boot
> - USB HOST/Client boot
> This patch adds ID support for AM437x ES1.2 silicon.
> There are no additional kernel fixes required for ES1.2 silicon.
> 
> Latest Technical Documentation can be found here:
> http://www.ti.com/lsds/ti/arm/sitara_arm_cortex_a_processor/arm_cortex_a9_core/am437x_arm_cortex_a9/tech_docs.page
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
>  arch/arm/mach-omap2/id.c  | 8 ++++++--
>  arch/arm/mach-omap2/soc.h | 1 +
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 53841de..c25feba 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -471,11 +471,15 @@ void __init omap3xxx_check_revision(void)
>  			cpu_rev = "1.0";
>  			break;
>  		case 1:
> -		/* FALLTHROUGH */
> -		default:
>  			omap_revision = AM437X_REV_ES1_1;
>  			cpu_rev = "1.1";
>  			break;
> +		case 2:
> +		/* FALLTHROUGH */
> +		default:
> +			omap_revision = AM437X_REV_ES1_2;
> +			cpu_rev = "1.2";
> +			break;
>  		}
>  		break;
>  	case 0xb8f2:
> diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> index 4376f59..c1a3b44 100644
> --- a/arch/arm/mach-omap2/soc.h
> +++ b/arch/arm/mach-omap2/soc.h
> @@ -446,6 +446,7 @@ IS_OMAP_TYPE(3430, 0x3430)
>  #define AM437X_CLASS		0x43700000
>  #define AM437X_REV_ES1_0	(AM437X_CLASS | (0x10 << 8))
>  #define AM437X_REV_ES1_1	(AM437X_CLASS | (0x11 << 8))
> +#define AM437X_REV_ES1_2	(AM437X_CLASS | (0x12 << 8))
>  
>  #define OMAP443X_CLASS		0x44300044
>  #define OMAP4430_REV_ES1_0	(OMAP443X_CLASS | (0x10 << 8))
> 

Reviewed-by: Nishanth Menon <nm@ti.com>

-- 
Regards,
Nishanth Menon

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

* [PATCH] ARM: OMAP2+: AM43x: Add ID for ES1.2
  2014-12-02 16:49 ` Nishanth Menon
@ 2014-12-10 16:45   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2014-12-10 16:45 UTC (permalink / raw)
  To: linux-arm-kernel

* Nishanth Menon <nm@ti.com> [141202 08:51]:
> On 11/27/2014 09:32 PM, Lokesh Vutla wrote:
> > ES1.2 is a minor variant of ES1.1. Major changes since ES1.1 are
> > updating ROM for fixing the following boot modes:
> > - NAND boot
> > - UART boot
> > - Ethernet boot
> > - USB HOST/Client boot
> > This patch adds ID support for AM437x ES1.2 silicon.
> > There are no additional kernel fixes required for ES1.2 silicon.
> > 
> > Latest Technical Documentation can be found here:
> > http://www.ti.com/lsds/ti/arm/sitara_arm_cortex_a_processor/arm_cortex_a9_core/am437x_arm_cortex_a9/tech_docs.page
> > 
> > Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> > ---
> >  arch/arm/mach-omap2/id.c  | 8 ++++++--
> >  arch/arm/mach-omap2/soc.h | 1 +
> >  2 files changed, 7 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> > index 53841de..c25feba 100644
> > --- a/arch/arm/mach-omap2/id.c
> > +++ b/arch/arm/mach-omap2/id.c
> > @@ -471,11 +471,15 @@ void __init omap3xxx_check_revision(void)
> >  			cpu_rev = "1.0";
> >  			break;
> >  		case 1:
> > -		/* FALLTHROUGH */
> > -		default:
> >  			omap_revision = AM437X_REV_ES1_1;
> >  			cpu_rev = "1.1";
> >  			break;
> > +		case 2:
> > +		/* FALLTHROUGH */
> > +		default:
> > +			omap_revision = AM437X_REV_ES1_2;
> > +			cpu_rev = "1.2";
> > +			break;
> >  		}
> >  		break;
> >  	case 0xb8f2:
> > diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> > index 4376f59..c1a3b44 100644
> > --- a/arch/arm/mach-omap2/soc.h
> > +++ b/arch/arm/mach-omap2/soc.h
> > @@ -446,6 +446,7 @@ IS_OMAP_TYPE(3430, 0x3430)
> >  #define AM437X_CLASS		0x43700000
> >  #define AM437X_REV_ES1_0	(AM437X_CLASS | (0x10 << 8))
> >  #define AM437X_REV_ES1_1	(AM437X_CLASS | (0x11 << 8))
> > +#define AM437X_REV_ES1_2	(AM437X_CLASS | (0x12 << 8))
> >  
> >  #define OMAP443X_CLASS		0x44300044
> >  #define OMAP4430_REV_ES1_0	(OMAP443X_CLASS | (0x10 << 8))
> > 
> 
> Reviewed-by: Nishanth Menon <nm@ti.com>

Applying into omap-for-v3.19/fixes thanks.

Tony

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

end of thread, other threads:[~2014-12-10 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28  3:32 [PATCH] ARM: OMAP2+: AM43x: Add ID for ES1.2 Lokesh Vutla
2014-12-02 16:49 ` Nishanth Menon
2014-12-10 16:45   ` Tony Lindgren

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).