diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-12-13 08:02:28 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-12-19 15:07:13 -0500 |
commit | edd153a3e4f7346551f98014b3ccf0494219a9d1 (patch) | |
tree | ce6f1b2b8be286d88b1f31d0460d360f7c776a47 /arch | |
parent | 0b9eabd77f4867232a9ac6ca54fa39607b0c9bc7 (diff) |
fbdev: sh_mobile_lcdc: Support FOURCC-based format API
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-ap4evb.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/mach-ap325rxa/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-kfr2r09/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 7e3dd7326827..80319f214765 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -271,7 +271,7 @@ static struct sh_mobile_lcdc_info lcdc0_info = { | |||
271 | .flags = LCDC_FLAGS_DWPOL, | 271 | .flags = LCDC_FLAGS_DWPOL, |
272 | .lcd_size_cfg.width = 44, | 272 | .lcd_size_cfg.width = 44, |
273 | .lcd_size_cfg.height = 79, | 273 | .lcd_size_cfg.height = 79, |
274 | .bpp = 16, | 274 | .fourcc = V4L2_PIX_FMT_RGB565, |
275 | .lcd_cfg = lcdc0_modes, | 275 | .lcd_cfg = lcdc0_modes, |
276 | .num_cfg = ARRAY_SIZE(lcdc0_modes), | 276 | .num_cfg = ARRAY_SIZE(lcdc0_modes), |
277 | .board_cfg = { | 277 | .board_cfg = { |
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index 904b608d1aa3..42b4dda57a79 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c | |||
@@ -491,7 +491,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
491 | .meram_dev = &meram_info, | 491 | .meram_dev = &meram_info, |
492 | .ch[0] = { | 492 | .ch[0] = { |
493 | .chan = LCDC_CHAN_MAINLCD, | 493 | .chan = LCDC_CHAN_MAINLCD, |
494 | .bpp = 16, | 494 | .fourcc = V4L2_PIX_FMT_RGB565, |
495 | .lcd_cfg = ap4evb_lcdc_modes, | 495 | .lcd_cfg = ap4evb_lcdc_modes, |
496 | .num_cfg = ARRAY_SIZE(ap4evb_lcdc_modes), | 496 | .num_cfg = ARRAY_SIZE(ap4evb_lcdc_modes), |
497 | .meram_cfg = &lcd_meram_cfg, | 497 | .meram_cfg = &lcd_meram_cfg, |
@@ -813,7 +813,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = { | |||
813 | .meram_dev = &meram_info, | 813 | .meram_dev = &meram_info, |
814 | .ch[0] = { | 814 | .ch[0] = { |
815 | .chan = LCDC_CHAN_MAINLCD, | 815 | .chan = LCDC_CHAN_MAINLCD, |
816 | .bpp = 16, | 816 | .fourcc = V4L2_PIX_FMT_RGB565, |
817 | .interface_type = RGB24, | 817 | .interface_type = RGB24, |
818 | .clock_divider = 1, | 818 | .clock_divider = 1, |
819 | .flags = LCDC_FLAGS_DWPOL, | 819 | .flags = LCDC_FLAGS_DWPOL, |
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index 9c5e598e0e3d..7db6a1712af5 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -388,7 +388,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
388 | .clock_source = LCDC_CLK_BUS, | 388 | .clock_source = LCDC_CLK_BUS, |
389 | .ch[0] = { | 389 | .ch[0] = { |
390 | .chan = LCDC_CHAN_MAINLCD, | 390 | .chan = LCDC_CHAN_MAINLCD, |
391 | .bpp = 16, | 391 | .fourcc = V4L2_PIX_FMT_RGB565, |
392 | .lcd_cfg = mackerel_lcdc_modes, | 392 | .lcd_cfg = mackerel_lcdc_modes, |
393 | .num_cfg = ARRAY_SIZE(mackerel_lcdc_modes), | 393 | .num_cfg = ARRAY_SIZE(mackerel_lcdc_modes), |
394 | .interface_type = RGB24, | 394 | .interface_type = RGB24, |
@@ -451,7 +451,7 @@ static struct sh_mobile_lcdc_info hdmi_lcdc_info = { | |||
451 | .clock_source = LCDC_CLK_EXTERNAL, | 451 | .clock_source = LCDC_CLK_EXTERNAL, |
452 | .ch[0] = { | 452 | .ch[0] = { |
453 | .chan = LCDC_CHAN_MAINLCD, | 453 | .chan = LCDC_CHAN_MAINLCD, |
454 | .bpp = 16, | 454 | .fourcc = V4L2_PIX_FMT_RGB565, |
455 | .interface_type = RGB24, | 455 | .interface_type = RGB24, |
456 | .clock_divider = 1, | 456 | .clock_divider = 1, |
457 | .flags = LCDC_FLAGS_DWPOL, | 457 | .flags = LCDC_FLAGS_DWPOL, |
diff --git a/arch/sh/boards/mach-ap325rxa/setup.c b/arch/sh/boards/mach-ap325rxa/setup.c index 7030f4c8cf11..7977911e72cf 100644 --- a/arch/sh/boards/mach-ap325rxa/setup.c +++ b/arch/sh/boards/mach-ap325rxa/setup.c | |||
@@ -207,7 +207,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
207 | .clock_source = LCDC_CLK_EXTERNAL, | 207 | .clock_source = LCDC_CLK_EXTERNAL, |
208 | .ch[0] = { | 208 | .ch[0] = { |
209 | .chan = LCDC_CHAN_MAINLCD, | 209 | .chan = LCDC_CHAN_MAINLCD, |
210 | .bpp = 16, | 210 | .fourcc = V4L2_PIX_FMT_RGB565, |
211 | .interface_type = RGB18, | 211 | .interface_type = RGB18, |
212 | .clock_divider = 1, | 212 | .clock_divider = 1, |
213 | .lcd_cfg = ap325rxa_lcdc_modes, | 213 | .lcd_cfg = ap325rxa_lcdc_modes, |
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 92ddce4b3456..1d4a706ed6ef 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -330,7 +330,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
330 | .ch[0] = { | 330 | .ch[0] = { |
331 | .interface_type = RGB18, | 331 | .interface_type = RGB18, |
332 | .chan = LCDC_CHAN_MAINLCD, | 332 | .chan = LCDC_CHAN_MAINLCD, |
333 | .bpp = 16, | 333 | .fourcc = V4L2_PIX_FMT_RGB565, |
334 | .lcd_size_cfg = { /* 7.0 inch */ | 334 | .lcd_size_cfg = { /* 7.0 inch */ |
335 | .width = 152, | 335 | .width = 152, |
336 | .height = 91, | 336 | .height = 91, |
diff --git a/arch/sh/boards/mach-kfr2r09/setup.c b/arch/sh/boards/mach-kfr2r09/setup.c index f65271a8d075..208c9b040263 100644 --- a/arch/sh/boards/mach-kfr2r09/setup.c +++ b/arch/sh/boards/mach-kfr2r09/setup.c | |||
@@ -146,7 +146,7 @@ static struct sh_mobile_lcdc_info kfr2r09_sh_lcdc_info = { | |||
146 | .clock_source = LCDC_CLK_BUS, | 146 | .clock_source = LCDC_CLK_BUS, |
147 | .ch[0] = { | 147 | .ch[0] = { |
148 | .chan = LCDC_CHAN_MAINLCD, | 148 | .chan = LCDC_CHAN_MAINLCD, |
149 | .bpp = 16, | 149 | .fourcc = V4L2_PIX_FMT_RGB565, |
150 | .interface_type = SYS18, | 150 | .interface_type = SYS18, |
151 | .clock_divider = 6, | 151 | .clock_divider = 6, |
152 | .flags = LCDC_FLAGS_DWPOL, | 152 | .flags = LCDC_FLAGS_DWPOL, |
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index e4c81195929c..ccf61fb99853 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
@@ -244,7 +244,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = { | |||
244 | .clock_source = LCDC_CLK_BUS, | 244 | .clock_source = LCDC_CLK_BUS, |
245 | .ch[0] = { | 245 | .ch[0] = { |
246 | .chan = LCDC_CHAN_MAINLCD, | 246 | .chan = LCDC_CHAN_MAINLCD, |
247 | .bpp = 16, | 247 | .fourcc = V4L2_PIX_FMT_RGB565, |
248 | .interface_type = RGB16, | 248 | .interface_type = RGB16, |
249 | .clock_divider = 2, | 249 | .clock_divider = 2, |
250 | .lcd_cfg = migor_lcd_modes, | 250 | .lcd_cfg = migor_lcd_modes, |
@@ -258,7 +258,7 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = { | |||
258 | .clock_source = LCDC_CLK_PERIPHERAL, | 258 | .clock_source = LCDC_CLK_PERIPHERAL, |
259 | .ch[0] = { | 259 | .ch[0] = { |
260 | .chan = LCDC_CHAN_MAINLCD, | 260 | .chan = LCDC_CHAN_MAINLCD, |
261 | .bpp = 16, | 261 | .fourcc = V4L2_PIX_FMT_RGB565, |
262 | .interface_type = SYS16A, | 262 | .interface_type = SYS16A, |
263 | .clock_divider = 10, | 263 | .clock_divider = 10, |
264 | .lcd_cfg = migor_lcd_modes, | 264 | .lcd_cfg = migor_lcd_modes, |
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index b747c0ab9264..3aab70cd39e3 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -179,7 +179,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
179 | .clock_source = LCDC_CLK_EXTERNAL, | 179 | .clock_source = LCDC_CLK_EXTERNAL, |
180 | .ch[0] = { | 180 | .ch[0] = { |
181 | .chan = LCDC_CHAN_MAINLCD, | 181 | .chan = LCDC_CHAN_MAINLCD, |
182 | .bpp = 16, | 182 | .fourcc = V4L2_PIX_FMT_RGB565, |
183 | .clock_divider = 1, | 183 | .clock_divider = 1, |
184 | .lcd_size_cfg = { /* 7.0 inch */ | 184 | .lcd_size_cfg = { /* 7.0 inch */ |
185 | .width = 152, | 185 | .width = 152, |