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/sh | |
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/sh')
-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 |
5 files changed, 6 insertions, 6 deletions
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, |