请教:RK3399 Mipi initial Code应如何编写成功驱动
新手入门,但翻遍论坛并未找到答案,因此冒昧的请教各位RK3399 Mipi调屏中A. timing如教程所述,应设置于rockchip(~proj/firefly-rk3399/kernel/arch/arm64/boot/dts/rockchip)?orpanel(~proj/firefly-rk3399/kernel/drivers/gpu/drm/panel)? B. 又mipiinitial code中,除timing外,仍有许多指令如下,又应如何编写?编写至何文件,使屏能正常驱动? 0xB9,0xFF,0x83,0x94;0xBA,0x63,0x03,0x68,0x5F,0xB2,0xc0; 0xB2,0x00,0x80,0x64,0x06,0x08,0x2F;0xBD,0x02;0xD3,0x01,0x04,0x00,0x01;0xBD,0x00;0xD4,0x02;0x35,0x00;0x53,0x24;delay 10;0x55,0x00;delay 10;0x11,0x00;delay 10;0xCE,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40;delay 10;0x29,0x00;Delay 1200x11;delay 200;0x05,0x29;delay 50;kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-mipi.dts里面有panel-init-sequence
sequence格式参考文档:Documentation/devicetree/bindings/display/panel/simple-panel.txt zhansb 发表于 2017-12-9 17:31
kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-mipi.dts里面有panel-init-sequence
sequence格式 ...
感谢~我就过去找找~ zhansb 发表于 2017-12-9 17:31
kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-mipi.dts里面有panel-init-sequence
sequence格式 ...
感谢~我就过去找找~ 我也正迷茫,楼主搞定了吗? jdm2005 发表于 2017-12-11 17:26
我也正迷茫,楼主搞定了吗?
前阵子才搞定编译,现在又陷入mipi reset和enable电压无法驱动的问题中,因此都尚未实测成功
但initial的编写方式,透过wiki中的文件所述
如指令为 0X39 0X8A 0X56(delay 20)
则firefly 3399中的编码应为 39 14 02 8A 56 ,其中14为delay时间20,02为指令数目,即共二个指令8A 56
页:
[1]