OMAP3: Display Support
Subsystems (3)
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
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
@@ -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
@@ -1,9 +1,12 @@/* * Defines for zoom boards */ +#include <plat/display.h> +#define ZOOM_NAND_CS 0extern 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
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
@@ -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
@@ -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
@@ -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