public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] Add support for OMAP35x processors
@ 2008-09-01 19:57 Sanjeev Premi
  0 siblings, 0 replies; 4+ messages in thread
From: Sanjeev Premi @ 2008-09-01 19:57 UTC (permalink / raw)
  To: linux-omap; +Cc: Sanjeev Premi

This patch adds basic support for the OMAP35x Applications Processors.
(See: http://focus.ti.com/general/docs/gencontent.tsp?contentId=46725)
  - OMAP3503
  - OMAP3515
  - OMAP3525
  - OMAP3530
---
 arch/arm/mach-omap2/Kconfig |   50 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 49 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 365b982..73e0726 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -25,6 +25,54 @@ config ARCH_OMAP3430
 	depends on ARCH_OMAP3 && ARCH_OMAP34XX
 	select ARCH_OMAP_OTG
 
+config ARCH_OMAP35XX
+	bool "OMAP35x Family"
+	select ARCH_OMAP3
+	select ARCH_OMAP34XX
+	select ARCH_OMAP3430
+	select OMAP3430_ES2
+	select NEON
+	help
+	  OMAP35x family of processors based on ARM Cortex-A8
+	  in combination with IVA2.2 core and OpenGL ES2.0
+	  compatible graphics engine.
+
+	  ARM Cortex-A8 contains NEON SIMD coprocessor.
+
+choice
+	prompt "Current choice"
+	default ARCH_OMAP3503
+
+config ARCH_OMAP3503
+	bool "OMAP3503"
+	depends on ARCH_OMAP35XX
+	help
+	  Contains ARM Cortex-A8 processor.
+
+config ARCH_OMAP3515
+	bool "OMAP3515"
+	depends on ARCH_OMAP35XX
+	help
+	   Contains ARM Cortex-A8 processor and SGX530 subsystem
+	   for 2D and 3D graphics acceleration.
+
+config ARCH_OMAP3525
+	bool "OMAP3525"
+	depends on ARCH_OMAP35XX
+	help
+	  Contains ARM Cortex-A8 processor and IVA2.2 subsystem
+	  with a C64x+ DSP core.
+
+config ARCH_OMAP3530
+	bool "OMAP3530"
+	depends on ARCH_OMAP35XX
+	help
+	   Contains ARM Cortex-A8 processor, IVA2.2 subsystem
+	   with a C64x+ DSP Core and SGX530 subsystem for 2D
+	   and 3D graphics acceleration.
+
+endchoice
+
 comment "OMAP Board Type"
 	depends on ARCH_OMAP2 || ARCH_OMAP3
 
@@ -117,7 +165,7 @@ config MACH_OMAP_3430SDP
 
 config MACH_OMAP3EVM
 	bool "OMAP 3530 EVM board"
-	depends on ARCH_OMAP3 && ARCH_OMAP34XX
+	depends on ARCH_OMAP35XX
 
 config MACH_OMAP3_BEAGLE
 	bool "OMAP3 BEAGLE board"
-- 
1.5.6

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

* [PATCH 1/3] Add support for OMAP35x processors
@ 2009-01-10 20:00 Sanjeev Premi
  2009-01-10 22:16 ` Felipe Balbi
  0 siblings, 1 reply; 4+ messages in thread
From: Sanjeev Premi @ 2009-01-10 20:00 UTC (permalink / raw)
  To: linux-omap; +Cc: Sanjeev Premi

This patch adds basic support for the OMAP35x Applications Processors.
(See: http://focus.ti.com/general/docs/gencontent.tsp?contentId=46725)
  - OMAP3503
  - OMAP3515
  - OMAP3525
  - OMAP3530

Signed-off-by: Sanjeev Premi <premi@ti.com>
---
 arch/arm/mach-omap2/Kconfig |   65 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 59 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 0a86a88..2877def 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -28,6 +28,53 @@ config ARCH_OMAP3430
 	select ARCH_OMAP_OTG
 	select CPU_V7
 
+config ARCH_OMAP35XX
+	bool "OMAP35x Family"
+	select ARCH_OMAP3
+	select ARCH_OMAP34XX
+	select ARCH_OMAP3430
+	select NEON
+	help
+	  OMAP35x family of processors based on ARM Cortex-A8
+	  in combination with IVA2.2 core and OpenGL ES2.0
+	  compatible graphics engine.
+
+	  ARM Cortex-A8 contains NEON SIMD coprocessor.
+
+choice
+	prompt "Current choice"
+	default ARCH_OMAP3503
+
+config ARCH_OMAP3503
+	bool "OMAP3503"
+	depends on ARCH_OMAP35XX
+	help
+	  Contains ARM Cortex-A8 processor.
+
+config ARCH_OMAP3515
+	bool "OMAP3515"
+	depends on ARCH_OMAP35XX
+	help
+	   Contains ARM Cortex-A8 processor and SGX530 subsystem
+	   for 2D and 3D graphics acceleration.
+
+config ARCH_OMAP3525
+	bool "OMAP3525"
+	depends on ARCH_OMAP35XX
+	help
+	  Contains ARM Cortex-A8 processor and IVA2.2 subsystem
+	  with a C64x+ DSP core.
+
+config ARCH_OMAP3530
+	bool "OMAP3530"
+	depends on ARCH_OMAP35XX
+	help
+	   Contains ARM Cortex-A8 processor, IVA2.2 subsystem
+	   with a C64x+ DSP Core and SGX530 subsystem for 2D
+	   and 3D graphics acceleration.
+
+endchoice
+
 comment "OMAP Board Type"
 	depends on ARCH_OMAP2 || ARCH_OMAP3
 
@@ -105,21 +152,24 @@ config MACH_OMAP_2430SDP
 	bool "OMAP 2430 SDP board"
 	depends on ARCH_OMAP2 && ARCH_OMAP2430
 
-config MACH_OMAP_LDP
-	bool "OMAP3 LDP board"
-	depends on ARCH_OMAP3 && ARCH_OMAP34XX
-
 config MACH_OMAP2EVM 
 	bool "OMAP 2530 EVM board"
 	depends on ARCH_OMAP2 && ARCH_OMAP24XX
 
+choice
+	prompt "Choose board"
+
+config MACH_OMAP_LDP
+	bool "OMAP3 LDP board"
+	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX
+
 config MACH_OMAP_3430SDP
 	bool "OMAP 3430 SDP board"
-	depends on ARCH_OMAP3 && ARCH_OMAP34XX
+	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX
 
 config MACH_OMAP3EVM
 	bool "OMAP 3530 EVM board"
-	depends on ARCH_OMAP3 && ARCH_OMAP34XX
+	depends on ARCH_OMAP35XX
 
 config MACH_OMAP3_BEAGLE
 	bool "OMAP3 BEAGLE board"
@@ -132,3 +182,6 @@ config MACH_OVERO
 config MACH_OMAP3_PANDORA
 	bool "OMAP3 Pandora"
 	depends on ARCH_OMAP3 && ARCH_OMAP34XX
+
+endchoice
+
-- 
1.5.6

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

* Re: [PATCH 1/3] Add support for OMAP35x processors
  2009-01-10 20:00 [PATCH 1/3] Add support for OMAP35x processors Sanjeev Premi
@ 2009-01-10 22:16 ` Felipe Balbi
  2009-01-11 18:15   ` Premi, Sanjeev
  0 siblings, 1 reply; 4+ messages in thread
From: Felipe Balbi @ 2009-01-10 22:16 UTC (permalink / raw)
  To: Sanjeev Premi; +Cc: linux-omap

On Sun, Jan 11, 2009 at 01:30:37AM +0530, Sanjeev Premi wrote:
> +config MACH_OMAP_LDP
> +	bool "OMAP3 LDP board"
> +	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX
> +
>  config MACH_OMAP_3430SDP
>  	bool "OMAP 3430 SDP board"
> -	depends on ARCH_OMAP3 && ARCH_OMAP34XX
> +	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX

This will prevent that we build a kernel for both 3430sdp and any
35xx-based board, right ?

>  
>  config MACH_OMAP3EVM
>  	bool "OMAP 3530 EVM board"
> -	depends on ARCH_OMAP3 && ARCH_OMAP34XX
> +	depends on ARCH_OMAP35XX

why removed ARCH_OMAP3 ??

-- 
balbi

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

* RE: [PATCH 1/3] Add support for OMAP35x processors
  2009-01-10 22:16 ` Felipe Balbi
@ 2009-01-11 18:15   ` Premi, Sanjeev
  0 siblings, 0 replies; 4+ messages in thread
From: Premi, Sanjeev @ 2009-01-11 18:15 UTC (permalink / raw)
  To: me@felipebalbi.com; +Cc: linux-omap@vger.kernel.org

> -----Original Message-----
> From: Felipe Balbi [mailto:me@felipebalbi.com] 
> Sent: Sunday, January 11, 2009 3:46 AM
> To: Premi, Sanjeev
> Cc: linux-omap@vger.kernel.org
> Subject: Re: [PATCH 1/3] Add support for OMAP35x processors
> 
> On Sun, Jan 11, 2009 at 01:30:37AM +0530, Sanjeev Premi wrote:
> > +config MACH_OMAP_LDP
> > +	bool "OMAP3 LDP board"
> > +	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX
> > +
> >  config MACH_OMAP_3430SDP
> >  	bool "OMAP 3430 SDP board"
> > -	depends on ARCH_OMAP3 && ARCH_OMAP34XX
> > +	depends on ARCH_OMAP3 && ARCH_OMAP34XX && !ARCH_OMAP35XX
> 
> This will prevent that we build a kernel for both 3430sdp and 
> any 35xx-based board, right ?

Yes. But 3430SDP will not have any of 35xx processors; changes may seem minor but may play difficult someday.

> 
> >  
> >  config MACH_OMAP3EVM
> >  	bool "OMAP 3530 EVM board"
> > -	depends on ARCH_OMAP3 && ARCH_OMAP34XX
> > +	depends on ARCH_OMAP35XX
> 
> why removed ARCH_OMAP3 ??

Not really removed; I felt it was duplicated as choosing ARCH_OMAP3 does an automatic "select" fir ARCH_OMAP3. see:

+config ARCH_OMAP35XX
+	bool "OMAP35x Family"
+	select ARCH_OMAP3
+	select ARCH_OMAP34XX
+	select ARCH_OMAP3430
+	select NEON
+	help

> 
> --
> balbi
> 
> 

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

end of thread, other threads:[~2009-01-11 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-10 20:00 [PATCH 1/3] Add support for OMAP35x processors Sanjeev Premi
2009-01-10 22:16 ` Felipe Balbi
2009-01-11 18:15   ` Premi, Sanjeev
  -- strict thread matches above, loose matches on Subject: below --
2008-09-01 19:57 Sanjeev Premi

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