diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 4fb7e48e2843..957ed176ea2c 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
@@ -39,7 +39,15 @@ | |||
39 | * SW41 : abxx xxxx -> a = 0 : Analog monitor | 39 | * SW41 : abxx xxxx -> a = 0 : Analog monitor |
40 | * 1 : Digital monitor | 40 | * 1 : Digital monitor |
41 | * b = 0 : VGA | 41 | * b = 0 : VGA |
42 | * 1 : SVGA | 42 | * 1 : 720p |
43 | */ | ||
44 | |||
45 | /* | ||
46 | * about 720p | ||
47 | * | ||
48 | * When you use 1280 x 720 lcdc output, | ||
49 | * you should change OSC6 lcdc clock from 25.175MHz to 74.25MHz, | ||
50 | * and change SW41 to use 720p | ||
43 | */ | 51 | */ |
44 | 52 | ||
45 | /* Heartbeat */ | 53 | /* Heartbeat */ |
@@ -546,15 +554,15 @@ static int __init devices_setup(void) | |||
546 | sh_eth_init(); | 554 | sh_eth_init(); |
547 | 555 | ||
548 | if (sw & SW41_B) { | 556 | if (sw & SW41_B) { |
549 | /* SVGA */ | 557 | /* 720p */ |
550 | lcdc_info.ch[0].lcd_cfg.xres = 800; | 558 | lcdc_info.ch[0].lcd_cfg.xres = 1280; |
551 | lcdc_info.ch[0].lcd_cfg.yres = 600; | 559 | lcdc_info.ch[0].lcd_cfg.yres = 720; |
552 | lcdc_info.ch[0].lcd_cfg.left_margin = 142; | 560 | lcdc_info.ch[0].lcd_cfg.left_margin = 220; |
553 | lcdc_info.ch[0].lcd_cfg.right_margin = 52; | 561 | lcdc_info.ch[0].lcd_cfg.right_margin = 110; |
554 | lcdc_info.ch[0].lcd_cfg.hsync_len = 96; | 562 | lcdc_info.ch[0].lcd_cfg.hsync_len = 40; |
555 | lcdc_info.ch[0].lcd_cfg.upper_margin = 24; | 563 | lcdc_info.ch[0].lcd_cfg.upper_margin = 20; |
556 | lcdc_info.ch[0].lcd_cfg.lower_margin = 2; | 564 | lcdc_info.ch[0].lcd_cfg.lower_margin = 5; |
557 | lcdc_info.ch[0].lcd_cfg.vsync_len = 2; | 565 | lcdc_info.ch[0].lcd_cfg.vsync_len = 5; |
558 | } else { | 566 | } else { |
559 | /* VGA */ | 567 | /* VGA */ |
560 | lcdc_info.ch[0].lcd_cfg.xres = 640; | 568 | lcdc_info.ch[0].lcd_cfg.xres = 640; |