diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-15 14:27:15 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-15 14:27:15 -0400 |
commit | 62a16d025c683fe9e1eada7683095013b96ce9d1 (patch) | |
tree | 76713c2793cf5c3b72edd747417760b893c8b8ca | |
parent | ae0b82504e515fdb9bc23c0b770d2b30efd49dc9 (diff) | |
parent | 5cd9eb2736a572a9ef2689829f47ffd4262adc00 (diff) |
Merge branch 'renesas/soc' into next/soc
* renesas/soc:
ARM: mach-shmobile: ap4evb: fixup fsi2_ak4643_info typo
ARM: mach-shmobile: mackerel: Reserve DMA memory for the frame buffer
ARM: mach-shmobile: Fix ag5evm compilation by including linux/videodev2.h
ARM: mach-shmobile: Fix bonito compile breakage
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-bonito.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 11 |
4 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 675660d951d0..bd7953b59a84 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/mmc/sh_mobile_sdhi.h> | 38 | #include <linux/mmc/sh_mobile_sdhi.h> |
39 | #include <linux/mfd/tmio.h> | 39 | #include <linux/mfd/tmio.h> |
40 | #include <linux/sh_clk.h> | 40 | #include <linux/sh_clk.h> |
41 | #include <linux/videodev2.h> | ||
41 | #include <video/sh_mobile_lcdc.h> | 42 | #include <video/sh_mobile_lcdc.h> |
42 | #include <video/sh_mipi_dsi.h> | 43 | #include <video/sh_mipi_dsi.h> |
43 | #include <sound/sh_fsi.h> | 44 | #include <sound/sh_fsi.h> |
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index d07ec186a6cf..4739f039650a 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -792,7 +792,7 @@ static struct fsi_ak4642_info fsi2_ak4643_info = { | |||
792 | static struct platform_device fsi_ak4643_device = { | 792 | static struct platform_device fsi_ak4643_device = { |
793 | .name = "fsi-ak4642-audio", | 793 | .name = "fsi-ak4642-audio", |
794 | .dev = { | 794 | .dev = { |
795 | .platform_data = &fsi_info, | 795 | .platform_data = &fsi2_ak4643_info, |
796 | }, | 796 | }, |
797 | }; | 797 | }; |
798 | 798 | ||
diff --git a/arch/arm/mach-shmobile/board-bonito.c b/arch/arm/mach-shmobile/board-bonito.c index d062becd5460..396814a6a2c9 100644 --- a/arch/arm/mach-shmobile/board-bonito.c +++ b/arch/arm/mach-shmobile/board-bonito.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <linux/platform_device.h> | 27 | #include <linux/platform_device.h> |
28 | #include <linux/gpio.h> | 28 | #include <linux/gpio.h> |
29 | #include <linux/smsc911x.h> | 29 | #include <linux/smsc911x.h> |
30 | #include <linux/videodev2.h> | ||
30 | #include <mach/common.h> | 31 | #include <mach/common.h> |
31 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
@@ -241,7 +242,7 @@ static struct sh_mobile_lcdc_info lcdc0_info = { | |||
241 | .clock_source = LCDC_CLK_BUS, | 242 | .clock_source = LCDC_CLK_BUS, |
242 | .ch[0] = { | 243 | .ch[0] = { |
243 | .chan = LCDC_CHAN_MAINLCD, | 244 | .chan = LCDC_CHAN_MAINLCD, |
244 | .bpp = 16, | 245 | .fourcc = V4L2_PIX_FMT_RGB565, |
245 | .interface_type = RGB24, | 246 | .interface_type = RGB24, |
246 | .clock_divider = 5, | 247 | .clock_divider = 5, |
247 | .flags = 0, | 248 | .flags = 0, |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 55da7a115912..71d279150471 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -1335,6 +1335,15 @@ static struct i2c_board_info i2c1_devices[] = { | |||
1335 | }, | 1335 | }, |
1336 | }; | 1336 | }; |
1337 | 1337 | ||
1338 | static void __init mackerel_map_io(void) | ||
1339 | { | ||
1340 | sh7372_map_io(); | ||
1341 | /* DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't | ||
1342 | * enough to allocate the frame buffer memory. | ||
1343 | */ | ||
1344 | init_consistent_dma_size(12 << 20); | ||
1345 | } | ||
1346 | |||
1338 | #define GPIO_PORT9CR 0xE6051009 | 1347 | #define GPIO_PORT9CR 0xE6051009 |
1339 | #define GPIO_PORT10CR 0xE605100A | 1348 | #define GPIO_PORT10CR 0xE605100A |
1340 | #define GPIO_PORT167CR 0xE60520A7 | 1349 | #define GPIO_PORT167CR 0xE60520A7 |
@@ -1554,7 +1563,7 @@ static void __init mackerel_init(void) | |||
1554 | } | 1563 | } |
1555 | 1564 | ||
1556 | MACHINE_START(MACKEREL, "mackerel") | 1565 | MACHINE_START(MACKEREL, "mackerel") |
1557 | .map_io = sh7372_map_io, | 1566 | .map_io = mackerel_map_io, |
1558 | .init_early = sh7372_add_early_devices, | 1567 | .init_early = sh7372_add_early_devices, |
1559 | .init_irq = sh7372_init_irq, | 1568 | .init_irq = sh7372_init_irq, |
1560 | .handle_irq = shmobile_handle_irq_intc, | 1569 | .handle_irq = shmobile_handle_irq_intc, |