From 9a133aedcc9c32755c379f5867c73ab8b0f1ad7e Mon Sep 17 00:00:00 2001 From: Trung Hieu Le Date: Mon, 25 Mar 2024 17:17:42 +0100 Subject: [PATCH] boards: shields: rk055hdmipi4m: fix pixelclk-active issue On the RT1170-EVKB, the framebuffer displays incorrectly (shifted by about 1/4 of the screen width). This is because pixelclk-active was set to 1 (which corresponds to kELCDIF_DriveDataOnRisingClkEdge). According to the RM68200 datasheet, the DSI transfert begins at the uprising pixel clock and stop at the falling pixel clock. So, pixelclk-active needs to be set to 0 (which corresponds to kELCDIF_DriveDataOnFallingClkEdge). Signed-off-by: Trung Hieu Le --- boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay b/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay index 4740ee664f1..58e610fc59e 100644 --- a/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay +++ b/boards/shields/rk055hdmipi4m/rk055hdmipi4m.overlay @@ -49,7 +49,7 @@ hsync-active = <0>; vsync-active = <0>; de-active = <1>; - pixelclk-active = <1>; + pixelclk-active = <0>; /* * Pixel clock is given by the following formula: * (height + vsync-len + vfront-porch + vback-porch) *