九鼎创展论坛
标题:
x3399点亮需要初始化的mipi屏
[打印本页]
作者:
shawn
时间:
2018-3-5 18:23
标题:
x3399点亮需要初始化的mipi屏
我现在用android-7.1,kernel-4.4的sdk,点亮一块需要初始化的mipi屏。
用下面的方式初始化,但在mipi数据线上量不到数据:
107 &mipi_dsi {
108 status = "okay";
109 panel {
110 compatible ="simple-panel-dsi";
111 reg = <0>;
112 backlight = <&backlight>;
113 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
114 dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
115 dsi,format = <MIPI_DSI_FMT_RGB888>;
116 dsi,lanes = <4>;
117 status = "okay";
118 panel-init-sequence = [
119 15 00 02 B0 5A
120 15 00 02 B1 00
121 15 00 02 89 01
122 15 00 02 91 17
123 15 00 02 B1 03
124 15 00 02 2C 28
125 15 00 02 00 F1
126 ];
127
128 display-timings {
129 native-mode = <&timing0>;
130 timing0: timing0 {
131 clock-frequency = <158000000>;
132 hactive = <1920>;
133 vactive = <1200>;
134 hback-porch = <54>;
135 hfront-porch = <64>;
136 vback-porch = <10>;
137 vfront-porch = <8>;
138 hsync-len = <50>;
139 vsync-len = <6>;
140 hsync-active = <0>;
141 vsync-active = <0>;
142 de-active = <0>;
143 pixelclk-active = <0>;
144 };
145 };
146 };
147 };
请问下要怎么把初始化数据写入屏中呢?
欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/)
Powered by Discuz! X3.2