diff options
Diffstat (limited to 'drivers')
47 files changed, 258 insertions, 98 deletions
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index bba85add35a3..1a494d505431 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -35,12 +35,12 @@ | |||
35 | #include <linux/mutex.h> | 35 | #include <linux/mutex.h> |
36 | #include <linux/errno.h> | 36 | #include <linux/errno.h> |
37 | #include <mach/gpio.h> | 37 | #include <mach/gpio.h> |
38 | #include <mach/keypad.h> | 38 | #include <plat/keypad.h> |
39 | #include <mach/menelaus.h> | 39 | #include <plat/menelaus.h> |
40 | #include <asm/irq.h> | 40 | #include <asm/irq.h> |
41 | #include <mach/hardware.h> | 41 | #include <mach/hardware.h> |
42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
43 | #include <mach/mux.h> | 43 | #include <plat/mux.h> |
44 | 44 | ||
45 | #undef NEW_BOARD_LEARNING_MODE | 45 | #undef NEW_BOARD_LEARNING_MODE |
46 | 46 | ||
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c index 446050759b4d..b9826032450b 100644 --- a/drivers/leds/leds-ams-delta.c +++ b/drivers/leds/leds-ams-delta.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/leds.h> | 14 | #include <linux/leds.h> |
15 | #include <mach/board-ams-delta.h> | 15 | #include <plat/board-ams-delta.h> |
16 | 16 | ||
17 | /* | 17 | /* |
18 | * Our context | 18 | * Our context |
diff --git a/drivers/mfd/menelaus.c b/drivers/mfd/menelaus.c index 4b364bae6b3e..970afa103261 100644 --- a/drivers/mfd/menelaus.c +++ b/drivers/mfd/menelaus.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include <asm/mach/irq.h> | 44 | #include <asm/mach/irq.h> |
45 | 45 | ||
46 | #include <mach/gpio.h> | 46 | #include <mach/gpio.h> |
47 | #include <mach/menelaus.h> | 47 | #include <plat/menelaus.h> |
48 | 48 | ||
49 | #define DRIVER_NAME "menelaus" | 49 | #define DRIVER_NAME "menelaus" |
50 | 50 | ||
diff --git a/drivers/mfd/twl4030-core.c b/drivers/mfd/twl4030-core.c index 98b984e191d5..40449cdf09db 100644 --- a/drivers/mfd/twl4030-core.c +++ b/drivers/mfd/twl4030-core.c | |||
@@ -39,7 +39,7 @@ | |||
39 | #include <linux/i2c/twl4030.h> | 39 | #include <linux/i2c/twl4030.h> |
40 | 40 | ||
41 | #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) | 41 | #if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3) |
42 | #include <mach/cpu.h> | 42 | #include <plat/cpu.h> |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | /* | 45 | /* |
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index b8fd7af1ceeb..5f970e253e50 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -30,12 +30,12 @@ | |||
30 | #include <asm/io.h> | 30 | #include <asm/io.h> |
31 | #include <asm/irq.h> | 31 | #include <asm/irq.h> |
32 | 32 | ||
33 | #include <mach/board.h> | 33 | #include <plat/board.h> |
34 | #include <mach/mmc.h> | 34 | #include <plat/mmc.h> |
35 | #include <mach/gpio.h> | 35 | #include <mach/gpio.h> |
36 | #include <mach/dma.h> | 36 | #include <plat/dma.h> |
37 | #include <mach/mux.h> | 37 | #include <plat/mux.h> |
38 | #include <mach/fpga.h> | 38 | #include <plat/fpga.h> |
39 | 39 | ||
40 | #define OMAP_MMC_REG_CMD 0x00 | 40 | #define OMAP_MMC_REG_CMD 0x00 |
41 | #define OMAP_MMC_REG_ARGL 0x04 | 41 | #define OMAP_MMC_REG_ARGL 0x04 |
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0aecaaebef3d..4b2322518909 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -30,11 +30,11 @@ | |||
30 | #include <linux/mmc/core.h> | 30 | #include <linux/mmc/core.h> |
31 | #include <linux/io.h> | 31 | #include <linux/io.h> |
32 | #include <linux/semaphore.h> | 32 | #include <linux/semaphore.h> |
33 | #include <mach/dma.h> | 33 | #include <plat/dma.h> |
34 | #include <mach/hardware.h> | 34 | #include <mach/hardware.h> |
35 | #include <mach/board.h> | 35 | #include <plat/board.h> |
36 | #include <mach/mmc.h> | 36 | #include <plat/mmc.h> |
37 | #include <mach/cpu.h> | 37 | #include <plat/cpu.h> |
38 | 38 | ||
39 | /* OMAP HSMMC Host Controller Registers */ | 39 | /* OMAP HSMMC Host Controller Registers */ |
40 | #define OMAP_HSMMC_SYSCONFIG 0x0010 | 40 | #define OMAP_HSMMC_SYSCONFIG 0x0010 |
diff --git a/drivers/mtd/maps/omap_nor.c b/drivers/mtd/maps/omap_nor.c index a24478102b11..ead0b2fab670 100644 --- a/drivers/mtd/maps/omap_nor.c +++ b/drivers/mtd/maps/omap_nor.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include <asm/io.h> | 45 | #include <asm/io.h> |
46 | #include <mach/hardware.h> | 46 | #include <mach/hardware.h> |
47 | #include <asm/mach/flash.h> | 47 | #include <asm/mach/flash.h> |
48 | #include <mach/tc.h> | 48 | #include <plat/tc.h> |
49 | 49 | ||
50 | #ifdef CONFIG_MTD_PARTITIONS | 50 | #ifdef CONFIG_MTD_PARTITIONS |
51 | static const char *part_probes[] = { /* "RedBoot", */ "cmdlinepart", NULL }; | 51 | static const char *part_probes[] = { /* "RedBoot", */ "cmdlinepart", NULL }; |
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c index 005b91f096f2..2548e1065bf8 100644 --- a/drivers/mtd/nand/ams-delta.c +++ b/drivers/mtd/nand/ams-delta.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <mach/hardware.h> | 25 | #include <mach/hardware.h> |
26 | #include <asm/sizes.h> | 26 | #include <asm/sizes.h> |
27 | #include <mach/gpio.h> | 27 | #include <mach/gpio.h> |
28 | #include <mach/board-ams-delta.h> | 28 | #include <plat/board-ams-delta.h> |
29 | 29 | ||
30 | /* | 30 | /* |
31 | * MTD structure for E3 (Delta) | 31 | * MTD structure for E3 (Delta) |
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 090ab87086b5..1bb799f0125c 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -18,9 +18,9 @@ | |||
18 | #include <linux/mtd/partitions.h> | 18 | #include <linux/mtd/partitions.h> |
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | 20 | ||
21 | #include <mach/dma.h> | 21 | #include <plat/dma.h> |
22 | #include <mach/gpmc.h> | 22 | #include <plat/gpmc.h> |
23 | #include <mach/nand.h> | 23 | #include <plat/nand.h> |
24 | 24 | ||
25 | #define GPMC_IRQ_STATUS 0x18 | 25 | #define GPMC_IRQ_STATUS 0x18 |
26 | #define GPMC_ECC_CONFIG 0x1F4 | 26 | #define GPMC_ECC_CONFIG 0x1F4 |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 0108ed42e877..86c4f6dcdc65 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -36,13 +36,13 @@ | |||
36 | #include <linux/io.h> | 36 | #include <linux/io.h> |
37 | 37 | ||
38 | #include <asm/mach/flash.h> | 38 | #include <asm/mach/flash.h> |
39 | #include <mach/gpmc.h> | 39 | #include <plat/gpmc.h> |
40 | #include <mach/onenand.h> | 40 | #include <plat/onenand.h> |
41 | #include <mach/gpio.h> | 41 | #include <mach/gpio.h> |
42 | 42 | ||
43 | #include <mach/dma.h> | 43 | #include <plat/dma.h> |
44 | 44 | ||
45 | #include <mach/board.h> | 45 | #include <plat/board.h> |
46 | 46 | ||
47 | #define DRIVER_NAME "omap2-onenand" | 47 | #define DRIVER_NAME "omap2-onenand" |
48 | 48 | ||
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c index 68570bc3ac86..663781d20129 100644 --- a/drivers/pcmcia/omap_cf.c +++ b/drivers/pcmcia/omap_cf.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | #include <asm/sizes.h> | 24 | #include <asm/sizes.h> |
25 | 25 | ||
26 | #include <mach/mux.h> | 26 | #include <plat/mux.h> |
27 | #include <mach/tc.h> | 27 | #include <plat/tc.h> |
28 | 28 | ||
29 | 29 | ||
30 | /* NOTE: don't expect this to support many I/O cards. The 16xx chips have | 30 | /* NOTE: don't expect this to support many I/O cards. The 16xx chips have |
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index ba1a872b221e..bf5f95a19413 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c | |||
@@ -35,8 +35,8 @@ | |||
35 | 35 | ||
36 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
37 | 37 | ||
38 | #include <mach/dma.h> | 38 | #include <plat/dma.h> |
39 | #include <mach/clock.h> | 39 | #include <plat/clock.h> |
40 | 40 | ||
41 | 41 | ||
42 | #define OMAP2_MCSPI_MAX_FREQ 48000000 | 42 | #define OMAP2_MCSPI_MAX_FREQ 48000000 |
diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c index e75ba9b28898..6c3a8557db27 100644 --- a/drivers/spi/omap_uwire.c +++ b/drivers/spi/omap_uwire.c | |||
@@ -51,8 +51,8 @@ | |||
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/mach-types.h> | 52 | #include <asm/mach-types.h> |
53 | 53 | ||
54 | #include <mach/mux.h> | 54 | #include <plat/mux.h> |
55 | #include <mach/omap730.h> /* OMAP730_IO_CONF registers */ | 55 | #include <plat/omap7xx.h> /* OMAP7XX_IO_CONF registers */ |
56 | 56 | ||
57 | 57 | ||
58 | /* FIXME address is now a platform device resource, | 58 | /* FIXME address is now a platform device resource, |
@@ -504,7 +504,7 @@ static int __init uwire_probe(struct platform_device *pdev) | |||
504 | } | 504 | } |
505 | clk_enable(uwire->ck); | 505 | clk_enable(uwire->ck); |
506 | 506 | ||
507 | if (cpu_is_omap730()) | 507 | if (cpu_is_omap7xx()) |
508 | uwire_idx_shift = 1; | 508 | uwire_idx_shift = 1; |
509 | else | 509 | else |
510 | uwire_idx_shift = 2; | 510 | uwire_idx_shift = 2; |
@@ -573,8 +573,8 @@ static int __init omap_uwire_init(void) | |||
573 | } | 573 | } |
574 | if (machine_is_omap_perseus2()) { | 574 | if (machine_is_omap_perseus2()) { |
575 | /* configure pins: MPU_UW_nSCS1, MPU_UW_SDO, MPU_UW_SCLK */ | 575 | /* configure pins: MPU_UW_nSCS1, MPU_UW_SDO, MPU_UW_SCLK */ |
576 | int val = omap_readl(OMAP730_IO_CONF_9) & ~0x00EEE000; | 576 | int val = omap_readl(OMAP7XX_IO_CONF_9) & ~0x00EEE000; |
577 | omap_writel(val | 0x00AAA000, OMAP730_IO_CONF_9); | 577 | omap_writel(val | 0x00AAA000, OMAP7XX_IO_CONF_9); |
578 | } | 578 | } |
579 | 579 | ||
580 | return platform_driver_probe(&uwire_driver, uwire_probe); | 580 | return platform_driver_probe(&uwire_driver, uwire_probe); |
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c index a2db0e174f2c..f81e4f025f23 100644 --- a/drivers/usb/gadget/omap_udc.c +++ b/drivers/usb/gadget/omap_udc.c | |||
@@ -52,9 +52,9 @@ | |||
52 | #include <asm/unaligned.h> | 52 | #include <asm/unaligned.h> |
53 | #include <asm/mach-types.h> | 53 | #include <asm/mach-types.h> |
54 | 54 | ||
55 | #include <mach/dma.h> | 55 | #include <plat/dma.h> |
56 | #include <mach/usb.h> | 56 | #include <plat/usb.h> |
57 | #include <mach/control.h> | 57 | #include <plat/control.h> |
58 | 58 | ||
59 | #include "omap_udc.h" | 59 | #include "omap_udc.h" |
60 | 60 | ||
@@ -2098,6 +2098,7 @@ static inline int machine_without_vbus_sense(void) | |||
2098 | || machine_is_omap_h4() | 2098 | || machine_is_omap_h4() |
2099 | #endif | 2099 | #endif |
2100 | || machine_is_sx1() | 2100 | || machine_is_sx1() |
2101 | || cpu_is_omap7xx() /* No known omap7xx boards with vbus sense */ | ||
2101 | ); | 2102 | ); |
2102 | } | 2103 | } |
2103 | 2104 | ||
@@ -2838,6 +2839,16 @@ static int __init omap_udc_probe(struct platform_device *pdev) | |||
2838 | udelay(100); | 2839 | udelay(100); |
2839 | } | 2840 | } |
2840 | 2841 | ||
2842 | if (cpu_is_omap7xx()) { | ||
2843 | dc_clk = clk_get(&pdev->dev, "usb_dc_ck"); | ||
2844 | hhc_clk = clk_get(&pdev->dev, "l3_ocpi_ck"); | ||
2845 | BUG_ON(IS_ERR(dc_clk) || IS_ERR(hhc_clk)); | ||
2846 | /* can't use omap_udc_enable_clock yet */ | ||
2847 | clk_enable(dc_clk); | ||
2848 | clk_enable(hhc_clk); | ||
2849 | udelay(100); | ||
2850 | } | ||
2851 | |||
2841 | INFO("OMAP UDC rev %d.%d%s\n", | 2852 | INFO("OMAP UDC rev %d.%d%s\n", |
2842 | omap_readw(UDC_REV) >> 4, omap_readw(UDC_REV) & 0xf, | 2853 | omap_readw(UDC_REV) >> 4, omap_readw(UDC_REV) & 0xf, |
2843 | config->otg ? ", Mini-AB" : ""); | 2854 | config->otg ? ", Mini-AB" : ""); |
@@ -2970,7 +2981,7 @@ known: | |||
2970 | goto cleanup3; | 2981 | goto cleanup3; |
2971 | } | 2982 | } |
2972 | #endif | 2983 | #endif |
2973 | if (cpu_is_omap16xx()) { | 2984 | if (cpu_is_omap16xx() || cpu_is_omap7xx()) { |
2974 | udc->dc_clk = dc_clk; | 2985 | udc->dc_clk = dc_clk; |
2975 | udc->hhc_clk = hhc_clk; | 2986 | udc->hhc_clk = hhc_clk; |
2976 | clk_disable(hhc_clk); | 2987 | clk_disable(hhc_clk); |
@@ -3008,7 +3019,7 @@ cleanup0: | |||
3008 | if (xceiv) | 3019 | if (xceiv) |
3009 | otg_put_transceiver(xceiv); | 3020 | otg_put_transceiver(xceiv); |
3010 | 3021 | ||
3011 | if (cpu_is_omap16xx() || cpu_is_omap24xx()) { | 3022 | if (cpu_is_omap16xx() || cpu_is_omap24xx() || cpu_is_omap7xx()) { |
3012 | clk_disable(hhc_clk); | 3023 | clk_disable(hhc_clk); |
3013 | clk_disable(dc_clk); | 3024 | clk_disable(dc_clk); |
3014 | clk_put(hhc_clk); | 3025 | clk_put(hhc_clk); |
@@ -3115,6 +3126,10 @@ static struct platform_driver udc_driver = { | |||
3115 | 3126 | ||
3116 | static int __init udc_init(void) | 3127 | static int __init udc_init(void) |
3117 | { | 3128 | { |
3129 | /* Disable DMA for omap7xx -- it doesn't work right. */ | ||
3130 | if (cpu_is_omap7xx()) | ||
3131 | use_dma = 0; | ||
3132 | |||
3118 | INFO("%s, version: " DRIVER_VERSION | 3133 | INFO("%s, version: " DRIVER_VERSION |
3119 | #ifdef USE_ISO | 3134 | #ifdef USE_ISO |
3120 | " (iso)" | 3135 | " (iso)" |
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 83cbecd2a1ed..5645f70b9214 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -24,10 +24,10 @@ | |||
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include <asm/mach-types.h> | 25 | #include <asm/mach-types.h> |
26 | 26 | ||
27 | #include <mach/mux.h> | 27 | #include <plat/mux.h> |
28 | #include <mach/irqs.h> | 28 | #include <mach/irqs.h> |
29 | #include <mach/fpga.h> | 29 | #include <plat/fpga.h> |
30 | #include <mach/usb.h> | 30 | #include <plat/usb.h> |
31 | 31 | ||
32 | 32 | ||
33 | /* OMAP-1510 OHCI has its own MMU for DMA */ | 33 | /* OMAP-1510 OHCI has its own MMU for DMA */ |
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 34875201ee04..6761d2088db8 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | #include <mach/hardware.h> | 37 | #include <mach/hardware.h> |
38 | #include <mach/mux.h> | 38 | #include <plat/mux.h> |
39 | 39 | ||
40 | #include "musb_core.h" | 40 | #include "musb_core.h" |
41 | #include "omap2430.h" | 41 | #include "omap2430.h" |
diff --git a/drivers/usb/musb/omap2430.h b/drivers/usb/musb/omap2430.h index dc7670718cd2..fbede7798aed 100644 --- a/drivers/usb/musb/omap2430.h +++ b/drivers/usb/musb/omap2430.h | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3430) | 13 | #if defined(CONFIG_ARCH_OMAP2430) || defined(CONFIG_ARCH_OMAP3430) |
14 | #include <mach/hardware.h> | 14 | #include <mach/hardware.h> |
15 | #include <mach/usb.h> | 15 | #include <plat/usb.h> |
16 | 16 | ||
17 | /* | 17 | /* |
18 | * OMAP2430-specific definitions | 18 | * OMAP2430-specific definitions |
diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index 7e073a0d7ac9..e13c77052e5e 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c | |||
@@ -15,8 +15,8 @@ | |||
15 | #include <linux/usb.h> | 15 | #include <linux/usb.h> |
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/dma-mapping.h> | 17 | #include <linux/dma-mapping.h> |
18 | #include <mach/dma.h> | 18 | #include <plat/dma.h> |
19 | #include <mach/mux.h> | 19 | #include <plat/mux.h> |
20 | 20 | ||
21 | #include "musb_core.h" | 21 | #include "musb_core.h" |
22 | 22 | ||
diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c index 77a5f4188999..d54460a88173 100644 --- a/drivers/usb/otg/isp1301_omap.c +++ b/drivers/usb/otg/isp1301_omap.c | |||
@@ -36,8 +36,8 @@ | |||
36 | #include <asm/irq.h> | 36 | #include <asm/irq.h> |
37 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
38 | 38 | ||
39 | #include <mach/usb.h> | 39 | #include <plat/usb.h> |
40 | #include <mach/mux.h> | 40 | #include <plat/mux.h> |
41 | 41 | ||
42 | 42 | ||
43 | #ifndef DEBUG | 43 | #ifndef DEBUG |
diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c index cbad67e89826..8693e5fcd2eb 100644 --- a/drivers/video/backlight/omap1_bl.c +++ b/drivers/video/backlight/omap1_bl.c | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <linux/backlight.h> | 26 | #include <linux/backlight.h> |
27 | 27 | ||
28 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
29 | #include <mach/board.h> | 29 | #include <plat/board.h> |
30 | #include <mach/mux.h> | 30 | #include <plat/mux.h> |
31 | 31 | ||
32 | #define OMAPBL_MAX_INTENSITY 0xff | 32 | #define OMAPBL_MAX_INTENSITY 0xff |
33 | 33 | ||
diff --git a/drivers/video/omap/Makefile b/drivers/video/omap/Makefile index b63b198d1f03..49226a1b909e 100644 --- a/drivers/video/omap/Makefile +++ b/drivers/video/omap/Makefile | |||
@@ -35,6 +35,7 @@ objs-y$(CONFIG_MACH_OMAP3EVM) += lcd_omap3evm.o | |||
35 | objs-y$(CONFIG_MACH_OMAP3_BEAGLE) += lcd_omap3beagle.o | 35 | objs-y$(CONFIG_MACH_OMAP3_BEAGLE) += lcd_omap3beagle.o |
36 | objs-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o | 36 | objs-y$(CONFIG_FB_OMAP_LCD_MIPID) += lcd_mipid.o |
37 | objs-y$(CONFIG_MACH_OVERO) += lcd_overo.o | 37 | objs-y$(CONFIG_MACH_OVERO) += lcd_overo.o |
38 | objs-y$(CONFIG_MACH_HERALD) += lcd_htcherald.o | ||
38 | 39 | ||
39 | omapfb-objs := $(objs-yy) | 40 | omapfb-objs := $(objs-yy) |
40 | 41 | ||
diff --git a/drivers/video/omap/blizzard.c b/drivers/video/omap/blizzard.c index 70dadf9d2334..f5d75f22cef9 100644 --- a/drivers/video/omap/blizzard.c +++ b/drivers/video/omap/blizzard.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
27 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
28 | 28 | ||
29 | #include <mach/dma.h> | 29 | #include <plat/dma.h> |
30 | #include <mach/omapfb.h> | 30 | #include <plat/omapfb.h> |
31 | #include <mach/blizzard.h> | 31 | #include <plat/blizzard.h> |
32 | 32 | ||
33 | #include "dispc.h" | 33 | #include "dispc.h" |
34 | 34 | ||
diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c index f16e42154229..7c833db4f9b7 100644 --- a/drivers/video/omap/dispc.c +++ b/drivers/video/omap/dispc.c | |||
@@ -25,9 +25,9 @@ | |||
25 | #include <linux/clk.h> | 25 | #include <linux/clk.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | 27 | ||
28 | #include <mach/sram.h> | 28 | #include <plat/sram.h> |
29 | #include <mach/omapfb.h> | 29 | #include <plat/omapfb.h> |
30 | #include <mach/board.h> | 30 | #include <plat/board.h> |
31 | 31 | ||
32 | #include "dispc.h" | 32 | #include "dispc.h" |
33 | 33 | ||
@@ -204,6 +204,7 @@ static u32 inline dispc_read_reg(int idx) | |||
204 | /* Select RFBI or bypass mode */ | 204 | /* Select RFBI or bypass mode */ |
205 | static void enable_rfbi_mode(int enable) | 205 | static void enable_rfbi_mode(int enable) |
206 | { | 206 | { |
207 | void __iomem *rfbi_control; | ||
207 | u32 l; | 208 | u32 l; |
208 | 209 | ||
209 | l = dispc_read_reg(DISPC_CONTROL); | 210 | l = dispc_read_reg(DISPC_CONTROL); |
@@ -216,9 +217,15 @@ static void enable_rfbi_mode(int enable) | |||
216 | dispc_write_reg(DISPC_CONTROL, l); | 217 | dispc_write_reg(DISPC_CONTROL, l); |
217 | 218 | ||
218 | /* Set bypass mode in RFBI module */ | 219 | /* Set bypass mode in RFBI module */ |
219 | l = __raw_readl(OMAP2_IO_ADDRESS(RFBI_CONTROL)); | 220 | rfbi_control = ioremap(RFBI_CONTROL, SZ_1K); |
221 | if (!rfbi_control) { | ||
222 | pr_err("Unable to ioremap rfbi_control\n"); | ||
223 | return; | ||
224 | } | ||
225 | l = __raw_readl(rfbi_control); | ||
220 | l |= enable ? 0 : (1 << 1); | 226 | l |= enable ? 0 : (1 << 1); |
221 | __raw_writel(l, OMAP2_IO_ADDRESS(RFBI_CONTROL)); | 227 | __raw_writel(l, rfbi_control); |
228 | iounmap(rfbi_control); | ||
222 | } | 229 | } |
223 | 230 | ||
224 | static void set_lcd_data_lines(int data_lines) | 231 | static void set_lcd_data_lines(int data_lines) |
@@ -1367,6 +1374,7 @@ static int omap_dispc_init(struct omapfb_device *fbdev, int ext_mode, | |||
1367 | int r; | 1374 | int r; |
1368 | u32 l; | 1375 | u32 l; |
1369 | struct lcd_panel *panel = fbdev->panel; | 1376 | struct lcd_panel *panel = fbdev->panel; |
1377 | void __iomem *ram_fw_base; | ||
1370 | int tmo = 10000; | 1378 | int tmo = 10000; |
1371 | int skip_init = 0; | 1379 | int skip_init = 0; |
1372 | int i; | 1380 | int i; |
@@ -1441,7 +1449,13 @@ static int omap_dispc_init(struct omapfb_device *fbdev, int ext_mode, | |||
1441 | } | 1449 | } |
1442 | 1450 | ||
1443 | /* L3 firewall setting: enable access to OCM RAM */ | 1451 | /* L3 firewall setting: enable access to OCM RAM */ |
1444 | __raw_writel(0x402000b0, OMAP2_IO_ADDRESS(0x680050a0)); | 1452 | ram_fw_base = ioremap(0x68005000, SZ_1K); |
1453 | if (!ram_fw_base) { | ||
1454 | dev_err(dispc.fbdev->dev, "Cannot ioremap to enable OCM RAM\n"); | ||
1455 | goto fail1; | ||
1456 | } | ||
1457 | __raw_writel(0x402000b0, ram_fw_base + 0xa0); | ||
1458 | iounmap(ram_fw_base); | ||
1445 | 1459 | ||
1446 | if ((r = alloc_palette_ram()) < 0) | 1460 | if ((r = alloc_palette_ram()) < 0) |
1447 | goto fail2; | 1461 | goto fail2; |
diff --git a/drivers/video/omap/hwa742.c b/drivers/video/omap/hwa742.c index ca51583ec98a..17a975e4c9c9 100644 --- a/drivers/video/omap/hwa742.c +++ b/drivers/video/omap/hwa742.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
27 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
28 | 28 | ||
29 | #include <mach/dma.h> | 29 | #include <plat/dma.h> |
30 | #include <mach/omapfb.h> | 30 | #include <plat/omapfb.h> |
31 | #include <mach/hwa742.h> | 31 | #include <plat/hwa742.h> |
32 | 32 | ||
33 | #define HWA742_REV_CODE_REG 0x0 | 33 | #define HWA742_REV_CODE_REG 0x0 |
34 | #define HWA742_CONFIG_REG 0x2 | 34 | #define HWA742_CONFIG_REG 0x2 |
diff --git a/drivers/video/omap/lcd_2430sdp.c b/drivers/video/omap/lcd_2430sdp.c index 393712b6f369..fea7feee0b77 100644 --- a/drivers/video/omap/lcd_2430sdp.c +++ b/drivers/video/omap/lcd_2430sdp.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include <linux/gpio.h> | 27 | #include <linux/gpio.h> |
28 | #include <linux/i2c/twl4030.h> | 28 | #include <linux/i2c/twl4030.h> |
29 | 29 | ||
30 | #include <mach/mux.h> | 30 | #include <plat/mux.h> |
31 | #include <mach/omapfb.h> | 31 | #include <plat/omapfb.h> |
32 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
33 | 33 | ||
34 | #define SDP2430_LCD_PANEL_BACKLIGHT_GPIO 91 | 34 | #define SDP2430_LCD_PANEL_BACKLIGHT_GPIO 91 |
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index 1f7439955e02..3d5277252ca3 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c | |||
@@ -25,9 +25,9 @@ | |||
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
27 | 27 | ||
28 | #include <mach/board-ams-delta.h> | 28 | #include <plat/board-ams-delta.h> |
29 | #include <mach/hardware.h> | 29 | #include <mach/hardware.h> |
30 | #include <mach/omapfb.h> | 30 | #include <plat/omapfb.h> |
31 | 31 | ||
32 | #define AMS_DELTA_DEFAULT_CONTRAST 112 | 32 | #define AMS_DELTA_DEFAULT_CONTRAST 112 |
33 | 33 | ||
diff --git a/drivers/video/omap/lcd_apollon.c b/drivers/video/omap/lcd_apollon.c index 626ae3a532ff..4c5cefc5153b 100644 --- a/drivers/video/omap/lcd_apollon.c +++ b/drivers/video/omap/lcd_apollon.c | |||
@@ -25,8 +25,8 @@ | |||
25 | #include <linux/platform_device.h> | 25 | #include <linux/platform_device.h> |
26 | 26 | ||
27 | #include <mach/gpio.h> | 27 | #include <mach/gpio.h> |
28 | #include <mach/mux.h> | 28 | #include <plat/mux.h> |
29 | #include <mach/omapfb.h> | 29 | #include <plat/omapfb.h> |
30 | 30 | ||
31 | /* #define USE_35INCH_LCD 1 */ | 31 | /* #define USE_35INCH_LCD 1 */ |
32 | 32 | ||
diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c index 417ae5efa8bb..240b4fb10741 100644 --- a/drivers/video/omap/lcd_h3.c +++ b/drivers/video/omap/lcd_h3.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/i2c/tps65010.h> | 24 | #include <linux/i2c/tps65010.h> |
25 | 25 | ||
26 | #include <mach/gpio.h> | 26 | #include <mach/gpio.h> |
27 | #include <mach/omapfb.h> | 27 | #include <plat/omapfb.h> |
28 | 28 | ||
29 | #define MODULE_NAME "omapfb-lcd_h3" | 29 | #define MODULE_NAME "omapfb-lcd_h3" |
30 | 30 | ||
diff --git a/drivers/video/omap/lcd_h4.c b/drivers/video/omap/lcd_h4.c index 0c398bda7601..720625da1f4e 100644 --- a/drivers/video/omap/lcd_h4.c +++ b/drivers/video/omap/lcd_h4.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | 24 | ||
25 | #include <mach/omapfb.h> | 25 | #include <plat/omapfb.h> |
26 | 26 | ||
27 | static int h4_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) | 27 | static int h4_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) |
28 | { | 28 | { |
diff --git a/drivers/video/omap/lcd_htcherald.c b/drivers/video/omap/lcd_htcherald.c new file mode 100644 index 000000000000..2e0c81ea7483 --- /dev/null +++ b/drivers/video/omap/lcd_htcherald.c | |||
@@ -0,0 +1,130 @@ | |||
1 | /* | ||
2 | * File: drivers/video/omap/lcd-htcherald.c | ||
3 | * | ||
4 | * LCD panel support for the HTC Herald | ||
5 | * | ||
6 | * Copyright (C) 2009 Cory Maccarrone <darkstar6262@gmail.com> | ||
7 | * Copyright (C) 2009 Wing Linux | ||
8 | * | ||
9 | * Based on the lcd_htcwizard.c file from the linwizard project: | ||
10 | * Copyright (C) linwizard.sourceforge.net | ||
11 | * Author: Angelo Arrifano <miknix@gmail.com> | ||
12 | * Based on lcd_h4 by Imre Deak <imre.deak@nokia.com> | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify it | ||
15 | * under the terms of the GNU General Public License as published by the | ||
16 | * Free Software Foundation; either version 2 of the License, or (at your | ||
17 | * option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, but | ||
20 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
22 | * General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License along | ||
25 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
26 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
27 | */ | ||
28 | |||
29 | #include <linux/module.h> | ||
30 | #include <linux/platform_device.h> | ||
31 | |||
32 | #include <plat/omapfb.h> | ||
33 | |||
34 | static int htcherald_panel_init(struct lcd_panel *panel, | ||
35 | struct omapfb_device *fbdev) | ||
36 | { | ||
37 | return 0; | ||
38 | } | ||
39 | |||
40 | static void htcherald_panel_cleanup(struct lcd_panel *panel) | ||
41 | { | ||
42 | } | ||
43 | |||
44 | static int htcherald_panel_enable(struct lcd_panel *panel) | ||
45 | { | ||
46 | return 0; | ||
47 | } | ||
48 | |||
49 | static void htcherald_panel_disable(struct lcd_panel *panel) | ||
50 | { | ||
51 | } | ||
52 | |||
53 | static unsigned long htcherald_panel_get_caps(struct lcd_panel *panel) | ||
54 | { | ||
55 | return 0; | ||
56 | } | ||
57 | |||
58 | /* Found on WIZ200 (miknix) and some HERA110 models (darkstar62) */ | ||
59 | struct lcd_panel htcherald_panel_1 = { | ||
60 | .name = "lcd_herald", | ||
61 | .config = OMAP_LCDC_PANEL_TFT | | ||
62 | OMAP_LCDC_INV_HSYNC | | ||
63 | OMAP_LCDC_INV_VSYNC | | ||
64 | OMAP_LCDC_INV_PIX_CLOCK, | ||
65 | .bpp = 16, | ||
66 | .data_lines = 16, | ||
67 | .x_res = 240, | ||
68 | .y_res = 320, | ||
69 | .pixel_clock = 6093, | ||
70 | .pcd = 0, /* 15 */ | ||
71 | .hsw = 10, | ||
72 | .hfp = 10, | ||
73 | .hbp = 20, | ||
74 | .vsw = 3, | ||
75 | .vfp = 2, | ||
76 | .vbp = 2, | ||
77 | |||
78 | .init = htcherald_panel_init, | ||
79 | .cleanup = htcherald_panel_cleanup, | ||
80 | .enable = htcherald_panel_enable, | ||
81 | .disable = htcherald_panel_disable, | ||
82 | .get_caps = htcherald_panel_get_caps, | ||
83 | }; | ||
84 | |||
85 | static int htcherald_panel_probe(struct platform_device *pdev) | ||
86 | { | ||
87 | omapfb_register_panel(&htcherald_panel_1); | ||
88 | return 0; | ||
89 | } | ||
90 | |||
91 | static int htcherald_panel_remove(struct platform_device *pdev) | ||
92 | { | ||
93 | return 0; | ||
94 | } | ||
95 | |||
96 | static int htcherald_panel_suspend(struct platform_device *pdev, | ||
97 | pm_message_t mesg) | ||
98 | { | ||
99 | return 0; | ||
100 | } | ||
101 | |||
102 | static int htcherald_panel_resume(struct platform_device *pdev) | ||
103 | { | ||
104 | return 0; | ||
105 | } | ||
106 | |||
107 | struct platform_driver htcherald_panel_driver = { | ||
108 | .probe = htcherald_panel_probe, | ||
109 | .remove = htcherald_panel_remove, | ||
110 | .suspend = htcherald_panel_suspend, | ||
111 | .resume = htcherald_panel_resume, | ||
112 | .driver = { | ||
113 | .name = "lcd_htcherald", | ||
114 | .owner = THIS_MODULE, | ||
115 | }, | ||
116 | }; | ||
117 | |||
118 | static int htcherald_panel_drv_init(void) | ||
119 | { | ||
120 | return platform_driver_register(&htcherald_panel_driver); | ||
121 | } | ||
122 | |||
123 | static void htcherald_panel_drv_cleanup(void) | ||
124 | { | ||
125 | platform_driver_unregister(&htcherald_panel_driver); | ||
126 | } | ||
127 | |||
128 | module_init(htcherald_panel_drv_init); | ||
129 | module_exit(htcherald_panel_drv_cleanup); | ||
130 | |||
diff --git a/drivers/video/omap/lcd_inn1510.c b/drivers/video/omap/lcd_inn1510.c index cdbd8bb607be..aafe9b497e2d 100644 --- a/drivers/video/omap/lcd_inn1510.c +++ b/drivers/video/omap/lcd_inn1510.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | 25 | ||
26 | #include <mach/fpga.h> | 26 | #include <plat/fpga.h> |
27 | #include <mach/omapfb.h> | 27 | #include <plat/omapfb.h> |
28 | 28 | ||
29 | static int innovator1510_panel_init(struct lcd_panel *panel, | 29 | static int innovator1510_panel_init(struct lcd_panel *panel, |
30 | struct omapfb_device *fbdev) | 30 | struct omapfb_device *fbdev) |
diff --git a/drivers/video/omap/lcd_inn1610.c b/drivers/video/omap/lcd_inn1610.c index 268f7f808a4e..0de338264a8a 100644 --- a/drivers/video/omap/lcd_inn1610.c +++ b/drivers/video/omap/lcd_inn1610.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | 24 | ||
25 | #include <mach/gpio.h> | 25 | #include <mach/gpio.h> |
26 | #include <mach/omapfb.h> | 26 | #include <plat/omapfb.h> |
27 | 27 | ||
28 | #define MODULE_NAME "omapfb-lcd_h3" | 28 | #define MODULE_NAME "omapfb-lcd_h3" |
29 | 29 | ||
diff --git a/drivers/video/omap/lcd_ldp.c b/drivers/video/omap/lcd_ldp.c index dbfe8974fb94..6a260dfdadc5 100644 --- a/drivers/video/omap/lcd_ldp.c +++ b/drivers/video/omap/lcd_ldp.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include <linux/i2c/twl4030.h> | 27 | #include <linux/i2c/twl4030.h> |
28 | 28 | ||
29 | #include <mach/gpio.h> | 29 | #include <mach/gpio.h> |
30 | #include <mach/mux.h> | 30 | #include <plat/mux.h> |
31 | #include <mach/omapfb.h> | 31 | #include <plat/omapfb.h> |
32 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
33 | 33 | ||
34 | #define LCD_PANEL_BACKLIGHT_GPIO (15 + OMAP_MAX_GPIO_LINES) | 34 | #define LCD_PANEL_BACKLIGHT_GPIO (15 + OMAP_MAX_GPIO_LINES) |
diff --git a/drivers/video/omap/lcd_mipid.c b/drivers/video/omap/lcd_mipid.c index 918ee8934196..2162eb09e0fe 100644 --- a/drivers/video/omap/lcd_mipid.c +++ b/drivers/video/omap/lcd_mipid.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <linux/workqueue.h> | 23 | #include <linux/workqueue.h> |
24 | #include <linux/spi/spi.h> | 24 | #include <linux/spi/spi.h> |
25 | 25 | ||
26 | #include <mach/omapfb.h> | 26 | #include <plat/omapfb.h> |
27 | #include <mach/lcd_mipid.h> | 27 | #include <plat/lcd_mipid.h> |
28 | 28 | ||
29 | #define MIPID_MODULE_NAME "lcd_mipid" | 29 | #define MIPID_MODULE_NAME "lcd_mipid" |
30 | 30 | ||
diff --git a/drivers/video/omap/lcd_omap2evm.c b/drivers/video/omap/lcd_omap2evm.c index 7a2bbe2ecec3..e1a38abca3e7 100644 --- a/drivers/video/omap/lcd_omap2evm.c +++ b/drivers/video/omap/lcd_omap2evm.c | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | #include <linux/i2c/twl4030.h> | 27 | #include <linux/i2c/twl4030.h> |
28 | 28 | ||
29 | #include <mach/mux.h> | 29 | #include <plat/mux.h> |
30 | #include <mach/omapfb.h> | 30 | #include <plat/omapfb.h> |
31 | #include <asm/mach-types.h> | 31 | #include <asm/mach-types.h> |
32 | 32 | ||
33 | #define LCD_PANEL_ENABLE_GPIO 154 | 33 | #define LCD_PANEL_ENABLE_GPIO 154 |
diff --git a/drivers/video/omap/lcd_omap3beagle.c b/drivers/video/omap/lcd_omap3beagle.c index 4011910123bf..ccec084ed647 100644 --- a/drivers/video/omap/lcd_omap3beagle.c +++ b/drivers/video/omap/lcd_omap3beagle.c | |||
@@ -25,8 +25,8 @@ | |||
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/i2c/twl4030.h> | 26 | #include <linux/i2c/twl4030.h> |
27 | 27 | ||
28 | #include <mach/mux.h> | 28 | #include <plat/mux.h> |
29 | #include <mach/omapfb.h> | 29 | #include <plat/omapfb.h> |
30 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
31 | 31 | ||
32 | #define LCD_PANEL_ENABLE_GPIO 170 | 32 | #define LCD_PANEL_ENABLE_GPIO 170 |
diff --git a/drivers/video/omap/lcd_omap3evm.c b/drivers/video/omap/lcd_omap3evm.c index b6a4c2c57a2f..556eb31db24c 100644 --- a/drivers/video/omap/lcd_omap3evm.c +++ b/drivers/video/omap/lcd_omap3evm.c | |||
@@ -25,8 +25,8 @@ | |||
25 | #include <linux/gpio.h> | 25 | #include <linux/gpio.h> |
26 | #include <linux/i2c/twl4030.h> | 26 | #include <linux/i2c/twl4030.h> |
27 | 27 | ||
28 | #include <mach/mux.h> | 28 | #include <plat/mux.h> |
29 | #include <mach/omapfb.h> | 29 | #include <plat/omapfb.h> |
30 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
31 | 31 | ||
32 | #define LCD_PANEL_ENABLE_GPIO 153 | 32 | #define LCD_PANEL_ENABLE_GPIO 153 |
diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c index b3fa88bc6269..bb21d7dca39e 100644 --- a/drivers/video/omap/lcd_osk.c +++ b/drivers/video/omap/lcd_osk.c | |||
@@ -24,8 +24,8 @@ | |||
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | 25 | ||
26 | #include <mach/gpio.h> | 26 | #include <mach/gpio.h> |
27 | #include <mach/mux.h> | 27 | #include <plat/mux.h> |
28 | #include <mach/omapfb.h> | 28 | #include <plat/omapfb.h> |
29 | 29 | ||
30 | static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) | 30 | static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) |
31 | { | 31 | { |
diff --git a/drivers/video/omap/lcd_overo.c b/drivers/video/omap/lcd_overo.c index 2bc5c9268e5e..b0f86e514cde 100644 --- a/drivers/video/omap/lcd_overo.c +++ b/drivers/video/omap/lcd_overo.c | |||
@@ -24,8 +24,8 @@ | |||
24 | #include <linux/i2c/twl4030.h> | 24 | #include <linux/i2c/twl4030.h> |
25 | 25 | ||
26 | #include <mach/gpio.h> | 26 | #include <mach/gpio.h> |
27 | #include <mach/mux.h> | 27 | #include <plat/mux.h> |
28 | #include <mach/omapfb.h> | 28 | #include <plat/omapfb.h> |
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | 30 | ||
31 | #define LCD_ENABLE 144 | 31 | #define LCD_ENABLE 144 |
diff --git a/drivers/video/omap/lcd_palmte.c b/drivers/video/omap/lcd_palmte.c index 4bf3c79f3cc7..d30289603ce8 100644 --- a/drivers/video/omap/lcd_palmte.c +++ b/drivers/video/omap/lcd_palmte.c | |||
@@ -23,8 +23,8 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/io.h> | 24 | #include <linux/io.h> |
25 | 25 | ||
26 | #include <mach/fpga.h> | 26 | #include <plat/fpga.h> |
27 | #include <mach/omapfb.h> | 27 | #include <plat/omapfb.h> |
28 | 28 | ||
29 | static int palmte_panel_init(struct lcd_panel *panel, | 29 | static int palmte_panel_init(struct lcd_panel *panel, |
30 | struct omapfb_device *fbdev) | 30 | struct omapfb_device *fbdev) |
diff --git a/drivers/video/omap/lcd_palmtt.c b/drivers/video/omap/lcd_palmtt.c index 48ea1f9f2cbf..557424fb6df1 100644 --- a/drivers/video/omap/lcd_palmtt.c +++ b/drivers/video/omap/lcd_palmtt.c | |||
@@ -30,7 +30,7 @@ GPIO13 - screen blanking | |||
30 | #include <linux/io.h> | 30 | #include <linux/io.h> |
31 | 31 | ||
32 | #include <mach/gpio.h> | 32 | #include <mach/gpio.h> |
33 | #include <mach/omapfb.h> | 33 | #include <plat/omapfb.h> |
34 | 34 | ||
35 | static int palmtt_panel_init(struct lcd_panel *panel, | 35 | static int palmtt_panel_init(struct lcd_panel *panel, |
36 | struct omapfb_device *fbdev) | 36 | struct omapfb_device *fbdev) |
diff --git a/drivers/video/omap/lcd_palmz71.c b/drivers/video/omap/lcd_palmz71.c index 0697d29b4d3b..5f4b5b2c1f41 100644 --- a/drivers/video/omap/lcd_palmz71.c +++ b/drivers/video/omap/lcd_palmz71.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <mach/omapfb.h> | 27 | #include <plat/omapfb.h> |
28 | 28 | ||
29 | static int palmz71_panel_init(struct lcd_panel *panel, | 29 | static int palmz71_panel_init(struct lcd_panel *panel, |
30 | struct omapfb_device *fbdev) | 30 | struct omapfb_device *fbdev) |
diff --git a/drivers/video/omap/lcdc.c b/drivers/video/omap/lcdc.c index ab3949256677..5f32cafbf74c 100644 --- a/drivers/video/omap/lcdc.c +++ b/drivers/video/omap/lcdc.c | |||
@@ -29,8 +29,8 @@ | |||
29 | #include <linux/vmalloc.h> | 29 | #include <linux/vmalloc.h> |
30 | #include <linux/clk.h> | 30 | #include <linux/clk.h> |
31 | 31 | ||
32 | #include <mach/dma.h> | 32 | #include <plat/dma.h> |
33 | #include <mach/omapfb.h> | 33 | #include <plat/omapfb.h> |
34 | 34 | ||
35 | #include <asm/mach-types.h> | 35 | #include <asm/mach-types.h> |
36 | 36 | ||
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index 0d0c8c8b9b56..f900a43db8d7 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c | |||
@@ -28,8 +28,8 @@ | |||
28 | #include <linux/mm.h> | 28 | #include <linux/mm.h> |
29 | #include <linux/uaccess.h> | 29 | #include <linux/uaccess.h> |
30 | 30 | ||
31 | #include <mach/dma.h> | 31 | #include <plat/dma.h> |
32 | #include <mach/omapfb.h> | 32 | #include <plat/omapfb.h> |
33 | 33 | ||
34 | #include "lcdc.h" | 34 | #include "lcdc.h" |
35 | #include "dispc.h" | 35 | #include "dispc.h" |
diff --git a/drivers/video/omap/rfbi.c b/drivers/video/omap/rfbi.c index ee01e84e19c1..c90fa39486b4 100644 --- a/drivers/video/omap/rfbi.c +++ b/drivers/video/omap/rfbi.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <linux/clk.h> | 27 | #include <linux/clk.h> |
28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
29 | 29 | ||
30 | #include <mach/omapfb.h> | 30 | #include <plat/omapfb.h> |
31 | 31 | ||
32 | #include "dispc.h" | 32 | #include "dispc.h" |
33 | 33 | ||
diff --git a/drivers/video/omap/sossi.c b/drivers/video/omap/sossi.c index a76946220249..79dc84f09713 100644 --- a/drivers/video/omap/sossi.c +++ b/drivers/video/omap/sossi.c | |||
@@ -24,8 +24,8 @@ | |||
24 | #include <linux/irq.h> | 24 | #include <linux/irq.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | 26 | ||
27 | #include <mach/dma.h> | 27 | #include <plat/dma.h> |
28 | #include <mach/omapfb.h> | 28 | #include <plat/omapfb.h> |
29 | 29 | ||
30 | #include "lcdc.h" | 30 | #include "lcdc.h" |
31 | 31 | ||
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 3ed571a2ab18..429ea99eaee5 100644 --- a/drivers/watchdog/omap_wdt.c +++ b/drivers/watchdog/omap_wdt.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/io.h> | 43 | #include <linux/io.h> |
44 | #include <linux/uaccess.h> | 44 | #include <linux/uaccess.h> |
45 | #include <mach/hardware.h> | 45 | #include <mach/hardware.h> |
46 | #include <mach/prcm.h> | 46 | #include <plat/prcm.h> |
47 | 47 | ||
48 | #include "omap_wdt.h" | 48 | #include "omap_wdt.h" |
49 | 49 | ||