Skip to contentSkip to conversation

OMAP3: Display Support

PATCH Applied Samreen 3 participants 6 messages Nov 15, 2010 – Nov 16, 2010

Subsystems (3)
lore
Share & tools
lore

Samreen

author
#0 lore raw

v3 cover OMAP3: Display Support

This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.

Version3:
- Rebase to the latest LO
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.

Kishore Y (2):
OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3
OMAP3: Enable display on ZOOM2/3/3630SDP

 arch/arm/mach-omap2/Makefile                  |    3 +
 arch/arm/mach-omap2/board-3630sdp.c           |    1 +
 arch/arm/mach-omap2/board-zoom-display.c      |  168 +++++++++++++++++++++++++
 arch/arm/mach-omap2/board-zoom-peripherals.c  |   49 +++++++-
 arch/arm/mach-omap2/board-zoom2.c             |    1 +
 arch/arm/mach-omap2/board-zoom3.c             |    1 +
 arch/arm/mach-omap2/include/mach/board-zoom.h |    3 +
 7 files changed, 224 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-zoom-display.c
author
#1 lore raw

PATCH v3 1/2 OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3

From: Kishore Y <[email protected]>

Board-zoom-display.c added as a common file for display functionality on boards zoom2, zoom3 and 3630sdp.

---
 arch/arm/mach-omap2/Makefile                  |    3 +
 arch/arm/mach-omap2/board-zoom-display.c      |  168 +++++++++++++++++++++++++
 arch/arm/mach-omap2/board-zoom-peripherals.c  |   49 +++++++-
 arch/arm/mach-omap2/include/mach/board-zoom.h |    3 +
 4 files changed, 221 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/Makefile +3 -0
index 60e51bc..7b20341 100644
@@ -146,16 +146,19 @@ obj-$(CONFIG_MACH_NOKIA_RX51)		+= board-rx51.o \
 					   hsmmc.o
 obj-$(CONFIG_MACH_OMAP_ZOOM2)		+= board-zoom2.o \
 					   board-zoom-peripherals.o \
+					   board-zoom-display.o \
 					   board-flash.o \
 					   hsmmc.o \
 					   board-zoom-debugboard.o
 obj-$(CONFIG_MACH_OMAP_ZOOM3)		+= board-zoom3.o \
 					   board-zoom-peripherals.o \
+					   board-zoom-display.o \
 					   board-flash.o \
 					   hsmmc.o \
 					   board-zoom-debugboard.o
 obj-$(CONFIG_MACH_OMAP_3630SDP)		+= board-3630sdp.o \
 					   board-zoom-peripherals.o \
+					   board-zoom-display.o \
 					   board-flash.o \
 					   hsmmc.o
 obj-$(CONFIG_MACH_CM_T35)		+= board-cm-t35.o \
arch/arm/mach-omap2/board-zoom-display.c new file +168 -0

168 lines not on this page · raw message

arch/arm/mach-omap2/board-zoom-peripherals.c +47 -2

76 lines not on this page · raw message

arch/arm/mach-omap2/include/mach/board-zoom.h +3 -0
index f93ca39..d20bd9c 100644
@@ -1,9 +1,12 @@
 /*
  * Defines for zoom boards
  */
+#include <plat/display.h>
+
 #define ZOOM_NAND_CS    0
 
 extern int __init zoom_debugboard_init(void);
 extern void __init zoom_peripherals_init(void);
+extern void __init zoom_display_init(void);
 
 #define ZOOM2_HEADSET_EXTMUTE_GPIO	153
Signature · 1 line
1.5.6.3
author
#2 lore raw

PATCH v3 2/2 OMAP3: Enable display on ZOOM2/3/3630SDP

From: Kishore Y <[email protected]>

Enable Display on zoom2, zoom3 and 3630sdp boards.

---
 arch/arm/mach-omap2/board-3630sdp.c |    1 +
 arch/arm/mach-omap2/board-zoom2.c   |    1 +
 arch/arm/mach-omap2/board-zoom3.c   |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-3630sdp.c +1 -0
index bbcf580..bf990b6 100644
@@ -209,6 +209,7 @@ static void __init omap_sdp_init(void)
 {
 	omap3_mux_init(board_mux, OMAP_PACKAGE_CBP);
 	zoom_peripherals_init();
+	zoom_display_init();
 	board_smc91x_init();
 	board_flash_init(sdp_flash_partitions, chip_sel_sdp);
 	enable_board_wakeup_source();
arch/arm/mach-omap2/board-zoom2.c +1 -0
index 2992a9f..1cd6414 100644
@@ -105,6 +105,7 @@ static void __init omap_zoom2_init(void)
 	board_nand_init(zoom_nand_partitions,
 			ARRAY_SIZE(zoom_nand_partitions), ZOOM_NAND_CS);
 	zoom_debugboard_init();
+	zoom_display_init();
 }
 
 MACHINE_START(OMAP_ZOOM2, "OMAP Zoom2 board")
arch/arm/mach-omap2/board-zoom3.c +1 -0
index 5adde12..1523369 100644
@@ -118,6 +118,7 @@ static void __init omap_zoom_init(void)
 	board_nand_init(zoom_nand_partitions,
 			 ARRAY_SIZE(zoom_nand_partitions), ZOOM_NAND_CS);
 	zoom_debugboard_init();
+	zoom_display_init();
 
 	omap_mux_init_gpio(64, OMAP_PIN_OUTPUT);
 	usb_ehci_init(&ehci_pdata);
Signature · 1 line
1.5.6.3
#3 lore raw
In reply to Samreen
Quoted 13 lines · ext Samreen

This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.

Version3:
- Rebase to the latest LO
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.

Kishore Y (2):
OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3
OMAP3: Enable display on ZOOM2/3/3630SDP

Quoted 9 lines
 arch/arm/mach-omap2/Makefile                  |    3 +
 arch/arm/mach-omap2/board-3630sdp.c           |    1 +
 arch/arm/mach-omap2/board-zoom-display.c      |  168 +++++++++++++++++++++++++
 arch/arm/mach-omap2/board-zoom-peripherals.c  |   49 +++++++-
 arch/arm/mach-omap2/board-zoom2.c             |    1 +
 arch/arm/mach-omap2/board-zoom3.c             |    1 +
 arch/arm/mach-omap2/include/mach/board-zoom.h |    3 +
 7 files changed, 224 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-zoom-display.c

Thanks, applied.

Tomi

maintainer
#4 lore raw
Quoted 24 lines · Tomi Valkeinen
Quoted 13 lines · ext Samreen

This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.

Version3:
- Rebase to the latest LO
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.

Kishore Y (2):
OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3
OMAP3: Enable display on ZOOM2/3/3630SDP

Quoted 9 lines
 arch/arm/mach-omap2/Makefile                  |    3 +
 arch/arm/mach-omap2/board-3630sdp.c           |    1 +
 arch/arm/mach-omap2/board-zoom-display.c      |  168 +++++++++++++++++++++++++
 arch/arm/mach-omap2/board-zoom-peripherals.c  |   49 +++++++-
 arch/arm/mach-omap2/board-zoom2.c             |    1 +
 arch/arm/mach-omap2/board-zoom3.c             |    1 +
 arch/arm/mach-omap2/include/mach/board-zoom.h |    3 +
 7 files changed, 224 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-omap2/board-zoom-display.c
Quoted 1 line

Thanks, applied.

This series needs to be posted to linux-arm-kernel list also for review. Samreen, can you please repost?

Tony

#5 lore raw
Quoted 25 lines · Tony Lindgren
Quoted 24 lines · Tomi Valkeinen
Quoted 22 lines · ext Samreen

This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.

Version3:
- Rebase to the latest LO
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.

Kishore Y (2):
OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3
OMAP3: Enable display on ZOOM2/3/3630SDP

 arch/arm/mach-omap2/Makefile                  |    3 +
 arch/arm/mach-omap2/board-3630sdp.c           |    1 +
 arch/arm/mach-omap2/board-zoom-display.c      |  168
 +++++++++++++++++++++++++ arch/arm/mach-omap2/board-zoom-peripherals.c  | 
 49 +++++++- arch/arm/mach-omap2/board-zoom2.c             |    1 +
 arch/arm/mach-omap2/board-zoom3.c             |    1 +
 arch/arm/mach-omap2/include/mach/board-zoom.h |    3 +
 7 files changed, 224 insertions(+), 2 deletions(-)  create mode

100644 arch/arm/mach-omap2/board-zoom-display.c

Quoted 6 lines
Quoted 1 line

Thanks, applied.

This series needs to be posted to linux-arm-kernel list also for review. Samreen, can you please repost?

Tony

[Samreen]
Sure Tony,
Will post it right away.

Warm Regards,
Samreen