(资料图片)
屏参对应的dts配置:
disp_timings1: display-timings { native-mode = < &dsi1_timing0 >;dsi1_timing0: timing0 {clock-frequency = < 159400000 >; hactive = < 1200 >;vactive = < 1920 >;hfront-porch = < 80 >;hsync-len = < 1 >;hback-porch = < 60 >;vfront-porch = < 35 >;vsync-len = < 1 >;vback-porch = < 25 >;hsync-active = < 0 >;vsync-active = < 0 >;de-active = < 0 >;pixelclk-active = < 1 >;};};
解析:
Hactive:水平有效像素
Vactive:垂直有效像素
水平总周期 Htotal = Hactive + + hfront-porch +hsync-len + hback-porch
垂直总周期 Vtotal = Vactive + + vfront-porch + vsync-len + vback-porch
clock-frequency: 提供给lcd的时钟频率,一般屏的规格书都会给出, 也可以通过计算得到。
clock-frequency = 水平总周期 * 垂直总周期 * 帧率:
clock-frequency = (hactive + hfront + hsync-len + hback)* (vactive + vfront + vsync-len + vback) * fps
名词解析
hactive: 横向分辨率。vactive: 纵向分辨率。hsync-len 行同步回扫时间。hback-porn: 行同步后肩时间。hfront-porn: 行同步前肩时间。vsync-len: 帧同步回扫时间。vback-porch: 帧同步后肩时间。vfront-proch: 帧同步前肩时间。de-active: DE 信号极性。hysnc-active: 行同步信号极性。vsync-active: 帧同步信号极性hback-porch/hfront-porch/hsync-len:水平同步信号vback-porch/vfront-porch/vsync-len:垂直同步信号
审核编辑:汤梓红
Copyright 2015-2022 欧洲时尚网版权所有 备案号:沪ICP备2022005074号-23 联系邮箱: 58 55 97 3@qq.com