Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
c0550c4b
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c0550c4b
编写于
10月 08, 2010
作者:
E
Eric Bénard
提交者:
Sascha Hauer
10月 19, 2010
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
eukrea_mbimxsd: add support for DVI displays
Signed-off-by:
N
Eric Bénard
<
eric@eukrea.com
>
上级
52d084fc
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
68 addition
and
2 deletion
+68
-2
arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
+32
-0
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
+36
-2
未找到文件。
arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c
浏览文件 @
c0550c4b
...
...
@@ -116,6 +116,38 @@ static struct imx_fb_videomode eukrea_mximxsd_modes[] = {
},
.
bpp
=
16
,
.
pcr
=
0xCAD08B80
,
},
{
.
mode
=
{
.
name
=
"DVI-VGA"
,
.
refresh
=
60
,
.
xres
=
640
,
.
yres
=
480
,
.
pixclock
=
32000
,
.
hsync_len
=
7
,
.
left_margin
=
100
,
.
right_margin
=
100
,
.
vsync_len
=
7
,
.
upper_margin
=
7
,
.
lower_margin
=
100
,
},
.
pcr
=
0xFA208B80
,
.
bpp
=
16
,
},
{
.
mode
=
{
.
name
=
"DVI-SVGA"
,
.
refresh
=
60
,
.
xres
=
800
,
.
yres
=
600
,
.
pixclock
=
25000
,
.
hsync_len
=
7
,
.
left_margin
=
75
,
.
right_margin
=
75
,
.
vsync_len
=
7
,
.
upper_margin
=
7
,
.
lower_margin
=
75
,
},
.
pcr
=
0xFA208B80
,
.
bpp
=
16
,
},
};
...
...
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
浏览文件 @
c0550c4b
...
...
@@ -49,7 +49,7 @@
static
const
struct
fb_videomode
fb_modedb
[]
=
{
{
.
name
=
"CMO
_
QVGA"
,
.
name
=
"CMO
-
QVGA"
,
.
refresh
=
60
,
.
xres
=
320
,
.
yres
=
240
,
...
...
@@ -64,6 +64,40 @@ static const struct fb_videomode fb_modedb[] = {
.
vmode
=
FB_VMODE_NONINTERLACED
,
.
flag
=
0
,
},
{
.
name
=
"DVI-VGA"
,
.
refresh
=
60
,
.
xres
=
640
,
.
yres
=
480
,
.
pixclock
=
32000
,
.
left_margin
=
100
,
.
right_margin
=
100
,
.
upper_margin
=
7
,
.
lower_margin
=
100
,
.
hsync_len
=
7
,
.
vsync_len
=
7
,
.
sync
=
FB_SYNC_VERT_HIGH_ACT
|
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_OE_ACT_HIGH
|
FB_SYNC_CLK_INVERT
,
.
vmode
=
FB_VMODE_NONINTERLACED
,
.
flag
=
0
,
},
{
.
name
=
"DVI-SVGA"
,
.
refresh
=
60
,
.
xres
=
800
,
.
yres
=
600
,
.
pixclock
=
25000
,
.
left_margin
=
75
,
.
right_margin
=
75
,
.
upper_margin
=
7
,
.
lower_margin
=
75
,
.
hsync_len
=
7
,
.
vsync_len
=
7
,
.
sync
=
FB_SYNC_VERT_HIGH_ACT
|
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_OE_ACT_HIGH
|
FB_SYNC_CLK_INVERT
,
.
vmode
=
FB_VMODE_NONINTERLACED
,
.
flag
=
0
,
},
};
static
struct
ipu_platform_data
mx3_ipu_data
=
{
...
...
@@ -72,7 +106,7 @@ static struct ipu_platform_data mx3_ipu_data = {
static
struct
mx3fb_platform_data
mx3fb_pdata
=
{
.
dma_dev
=
&
mx3_ipu
.
dev
,
.
name
=
"CMO
_
QVGA"
,
.
name
=
"CMO
-
QVGA"
,
.
mode
=
fb_modedb
,
.
num_modes
=
ARRAY_SIZE
(
fb_modedb
),
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录