diff options
| author | Tony Lindgren <tony@atomide.com> | 2012-10-17 14:21:34 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2012-10-17 14:21:34 -0400 |
| commit | 6832c95599e1a04f4b56b533718d1cda4689aec2 (patch) | |
| tree | 3faf1a2a744245501c1743c909527d83bbb6666a | |
| parent | 46cddc01aa6a017193ae7320ef8bfc8242782a66 (diff) | |
| parent | 3e6ece13d966a20a38ee7adfac452a47455ccd7a (diff) | |
Merge branch 'omap-for-v3.8/cleanup-headers-dss' into omap-for-v3.8/cleanup-headers
Conflicts:
arch/arm/mach-omap2/board-omap3logic.c
arch/arm/mach-omap2/gpmc.c
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/omap/omap_vout_vrfb.c
34 files changed, 499 insertions, 288 deletions
diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c index 5cfade235bb4..6f58cad5bf74 100644 --- a/arch/arm/mach-omap2/board-omap3logic.c +++ b/arch/arm/mach-omap2/board-omap3logic.c | |||
| @@ -34,9 +34,6 @@ | |||
| 34 | #include <asm/mach/arch.h> | 34 | #include <asm/mach/arch.h> |
| 35 | #include <asm/mach/map.h> | 35 | #include <asm/mach/map.h> |
| 36 | 36 | ||
| 37 | #include "gpmc-smsc911x.h" | ||
| 38 | #include "gpmc.h" | ||
| 39 | #include <plat/sdrc.h> | ||
| 40 | #include <plat/usb.h> | 37 | #include <plat/usb.h> |
| 41 | 38 | ||
| 42 | #include "common.h" | 39 | #include "common.h" |
| @@ -44,6 +41,8 @@ | |||
| 44 | #include "hsmmc.h" | 41 | #include "hsmmc.h" |
| 45 | #include "control.h" | 42 | #include "control.h" |
| 46 | #include "common-board-devices.h" | 43 | #include "common-board-devices.h" |
| 44 | #include "gpmc.h" | ||
| 45 | #include "gpmc-smsc911x.h" | ||
| 47 | 46 | ||
| 48 | #define OMAP3LOGIC_SMSC911X_CS 1 | 47 | #define OMAP3LOGIC_SMSC911X_CS 1 |
| 49 | 48 | ||
diff --git a/arch/arm/mach-omap2/clkt2xxx_dpllcore.c b/arch/arm/mach-omap2/clkt2xxx_dpllcore.c index 4ae439222085..35076592189e 100644 --- a/arch/arm/mach-omap2/clkt2xxx_dpllcore.c +++ b/arch/arm/mach-omap2/clkt2xxx_dpllcore.c | |||
| @@ -27,13 +27,13 @@ | |||
| 27 | 27 | ||
| 28 | #include <plat/clock.h> | 28 | #include <plat/clock.h> |
| 29 | #include <plat/sram.h> | 29 | #include <plat/sram.h> |
| 30 | #include <plat/sdrc.h> | ||
| 31 | 30 | ||
| 32 | #include "clock.h" | 31 | #include "clock.h" |
| 33 | #include "clock2xxx.h" | 32 | #include "clock2xxx.h" |
| 34 | #include "opp2xxx.h" | 33 | #include "opp2xxx.h" |
| 35 | #include "cm2xxx_3xxx.h" | 34 | #include "cm2xxx_3xxx.h" |
| 36 | #include "cm-regbits-24xx.h" | 35 | #include "cm-regbits-24xx.h" |
| 36 | #include "sdrc.h" | ||
| 37 | 37 | ||
| 38 | /* #define DOWN_VARIABLE_DPLL 1 */ /* Experimental */ | 38 | /* #define DOWN_VARIABLE_DPLL 1 */ /* Experimental */ |
| 39 | 39 | ||
diff --git a/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c b/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c index 3524f0e7b6d5..0cf63e7c6102 100644 --- a/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c +++ b/arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | |||
| @@ -35,7 +35,6 @@ | |||
| 35 | 35 | ||
| 36 | #include <plat/clock.h> | 36 | #include <plat/clock.h> |
| 37 | #include <plat/sram.h> | 37 | #include <plat/sram.h> |
| 38 | #include <plat/sdrc.h> | ||
| 39 | 38 | ||
| 40 | #include "soc.h" | 39 | #include "soc.h" |
| 41 | #include "clock.h" | 40 | #include "clock.h" |
| @@ -43,6 +42,7 @@ | |||
| 43 | #include "opp2xxx.h" | 42 | #include "opp2xxx.h" |
| 44 | #include "cm2xxx_3xxx.h" | 43 | #include "cm2xxx_3xxx.h" |
| 45 | #include "cm-regbits-24xx.h" | 44 | #include "cm-regbits-24xx.h" |
| 45 | #include "sdrc.h" | ||
| 46 | 46 | ||
| 47 | const struct prcm_config *curr_prcm_set; | 47 | const struct prcm_config *curr_prcm_set; |
| 48 | const struct prcm_config *rate_table; | 48 | const struct prcm_config *rate_table; |
diff --git a/arch/arm/mach-omap2/clkt34xx_dpll3m2.c b/arch/arm/mach-omap2/clkt34xx_dpll3m2.c index 7c6da2f731dc..aff6ca4fd3a4 100644 --- a/arch/arm/mach-omap2/clkt34xx_dpll3m2.c +++ b/arch/arm/mach-omap2/clkt34xx_dpll3m2.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | #include <plat/clock.h> | 24 | #include <plat/clock.h> |
| 25 | #include <plat/sram.h> | 25 | #include <plat/sram.h> |
| 26 | #include <plat/sdrc.h> | ||
| 27 | 26 | ||
| 28 | #include "clock.h" | 27 | #include "clock.h" |
| 29 | #include "clock3xxx.h" | 28 | #include "clock3xxx.h" |
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index d1ff8399a222..bf2be5c5468d 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * OMAP2/3 System Control Module register access | 2 | * OMAP2/3 System Control Module register access |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2007 Texas Instruments, Inc. | 4 | * Copyright (C) 2007, 2012 Texas Instruments, Inc. |
| 5 | * Copyright (C) 2007 Nokia Corporation | 5 | * Copyright (C) 2007 Nokia Corporation |
| 6 | * | 6 | * |
| 7 | * Written by Paul Walmsley | 7 | * Written by Paul Walmsley |
| @@ -15,8 +15,6 @@ | |||
| 15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
| 17 | 17 | ||
| 18 | #include <plat/sdrc.h> | ||
| 19 | |||
| 20 | #include "soc.h" | 18 | #include "soc.h" |
| 21 | #include "iomap.h" | 19 | #include "iomap.h" |
| 22 | #include "common.h" | 20 | #include "common.h" |
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 1011995f150a..28f508724a56 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
| @@ -284,6 +284,35 @@ err: | |||
| 284 | return ERR_PTR(r); | 284 | return ERR_PTR(r); |
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | static enum omapdss_version __init omap_display_get_version(void) | ||
| 288 | { | ||
| 289 | if (cpu_is_omap24xx()) | ||
| 290 | return OMAPDSS_VER_OMAP24xx; | ||
| 291 | else if (cpu_is_omap3630()) | ||
| 292 | return OMAPDSS_VER_OMAP3630; | ||
| 293 | else if (cpu_is_omap34xx()) { | ||
| 294 | if (soc_is_am35xx()) { | ||
| 295 | return OMAPDSS_VER_AM35xx; | ||
| 296 | } else { | ||
| 297 | if (omap_rev() < OMAP3430_REV_ES3_0) | ||
| 298 | return OMAPDSS_VER_OMAP34xx_ES1; | ||
| 299 | else | ||
| 300 | return OMAPDSS_VER_OMAP34xx_ES3; | ||
| 301 | } | ||
| 302 | } else if (omap_rev() == OMAP4430_REV_ES1_0) | ||
| 303 | return OMAPDSS_VER_OMAP4430_ES1; | ||
| 304 | else if (omap_rev() == OMAP4430_REV_ES2_0 || | ||
| 305 | omap_rev() == OMAP4430_REV_ES2_1 || | ||
| 306 | omap_rev() == OMAP4430_REV_ES2_2) | ||
| 307 | return OMAPDSS_VER_OMAP4430_ES2; | ||
| 308 | else if (cpu_is_omap44xx()) | ||
| 309 | return OMAPDSS_VER_OMAP4; | ||
| 310 | else if (soc_is_omap54xx()) | ||
| 311 | return OMAPDSS_VER_OMAP5; | ||
| 312 | else | ||
| 313 | return OMAPDSS_VER_UNKNOWN; | ||
| 314 | } | ||
| 315 | |||
| 287 | int __init omap_display_init(struct omap_dss_board_info *board_data) | 316 | int __init omap_display_init(struct omap_dss_board_info *board_data) |
| 288 | { | 317 | { |
| 289 | int r = 0; | 318 | int r = 0; |
| @@ -291,9 +320,18 @@ int __init omap_display_init(struct omap_dss_board_info *board_data) | |||
| 291 | int i, oh_count; | 320 | int i, oh_count; |
| 292 | const struct omap_dss_hwmod_data *curr_dss_hwmod; | 321 | |
