OMAP3: Display Support
Subsystems (3)
v2 cover OMAP3: Display Support
This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.
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 | 167 +++++++++++++++++++++++++ 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 | 2 + 7 files changed, 222 insertions(+), 2 deletions(-) create mode 100644 arch/arm/mach-omap2/board-zoom-display.c
PATCH v2 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 | 2 + 4 files changed, 220 insertions(+), 2 deletions(-) create mode 100644 arch/arm/mach-omap2/board-zoom-display.c
arch/arm/mach-omap2/Makefile +3 -0
@@ -132,16 +132,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 +2 -0
@@ -3,9 +3,11 @@*/ #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> +#include <plat/display.h> #define ZOOM_NAND_CS 0extern void __init board_nand_init (struct mtd_partition *,u8 nr_parts,u8 cs);extern int __init zoom_debugboard_init (void );extern void __init zoom_peripherals_init (void ); +extern void __init zoom_display_init (void );
Signature · 1 line
1.5.6.3
PATCH v2 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
@@ -210,6 +210,7 @@ static void __init omap_sdp_init(void)omap3_mux_init (board_mux,OMAP_PACKAGE_CBP );omap_serial_init ();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
@@ -138,6 +138,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
@@ -117,6 +117,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
Hi,
Quoted 6 lines · ext Samreen
This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.
This patch set doesn't seem to apply to the latest kernel, conflicts in arch/arm/mach-omap2/board-zoom-peripherals.c and arch/arm/mach-omap2/include/mach/board-zoom.h. Can you rebase and resend?
Tomi
Quoted 10 lines · Tomi Valkeinen
Hi,
Quoted 6 lines · ext Samreen
This patch series adds the Display Support for OMAP3 platforms and the corresponding changes in the board files.
Version2:
- Optimised to configure INTBR from gpio to PWM1 mode setting and enabling of the PWM1 mode only when its not in PWM1 mode.
Quoted 5 lines
This patch set doesn't seem to apply to the latest kernel, conflicts in
arch/arm/mach-omap2/board-zoom-peripherals.candarch/arm/mach-omap2/include/mach/board-zoom.h. Can you rebase and resend?Tomi
Sure,
Will rebase and post it out soon.
Warm Regards,
Samreen