天嵌 ARM开发社区

 找回密码
 注册
查看: 1695|回复: 1

Linux下如何使LCD驱动支持DE模式

[复制链接]
guocs2005 发表于 2014-12-23 15:44:27 | 显示全部楼层 |阅读模式
我想把HV sync改成DE,现在已经把mxc_lcdif文件里的其他参数都选好了,现在就剩一个uint32 sync这个值不知道怎么设置。我看到手册里DCIC寄存器里有VSYNC_POL,HSYNC_POLHSYNC_POL和和DE_POL的设置,天嵌的默认lcd设置的是VSYNC和HSYNC高电平有效,这个值是怎么设置的啊,我应该怎么样才能在linux里面把DE_POL这个值改掉啊,默认是1,我需要改成0

Field Description
31–8
Reserved
This read-only field is reserved and always has the value 0.
7
CLK_POL
DISP_CLK signal polarity.
0 Not inverted (default).
1 Inverted.
6
VSYNC_POL
VSYNC_IN signal polarity.
Table continues on the next page...
DCIC Memory Map/Register Definition
i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev. 2, 06/2014
964 Freescale Semiconductor, Inc.
DCICx_DCICC field descriptions (continued)
Field Description
0 Active High.
1 Active Low (default).
5
HSYNC_POL
HSYNC_IN signal polarity.
0 Active High.
1 Active Low (default).
4
DE_POL
DATA_EN_IN signal polarity.
0 Active High.
1 Active Low (default).
3–1
Reserved
This read-only field is reserved and always has the value 0.
0
IC_EN
Integrity Check enable. Main enable switch.
0 Disabled
1 Enabled
 楼主| guocs2005 发表于 2015-8-12 17:13:22 | 显示全部楼层
这年头果断要靠自己啊,已搞定
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-3 23:22 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表