(資料圖片)
1. 簡介
專欄總目錄本文是基于RK3588平臺,MIPI屏調(diào)試之屏參配置解析2. 屏參dts配置
屏幕的時(shí)序參數(shù)表如下:signal timing
屏參對應(yīng)的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的時(shí)鐘頻率,一般屏的規(guī)格書都會給出, 也可以通過計(jì)算得到。
clock-frequency = 水平總周期 * 垂直總周期 * 幀率:
clock-frequency = (hactive + hfront + hsync-len + hback)* (vactive + vfront + vsync-len + vback) * fps
名詞解析
hactive: 橫向分辨率。vactive: 縱向分辨率。hsync-len 行同步回掃時(shí)間。hback-porn: 行同步后肩時(shí)間。hfront-porn: 行同步前肩時(shí)間。vsync-len: 幀同步回掃時(shí)間。vback-porch: 幀同步后肩時(shí)間。vfront-proch: 幀同步前肩時(shí)間。de-active: DE 信號極性。hysnc-active: 行同步信號極性。vsync-active: 幀同步信號極性hback-porch/hfront-porch/hsync-len:水平同步信號vback-porch/vfront-porch/vsync-len:垂直同步信號
審核編輯:湯梓紅
關(guān)鍵詞: