diff --git a/patch/kernel/archive/spacemit-6.18/dt/lcd_tc358762xbg_dpi_800x480.dtsi b/patch/kernel/archive/spacemit-6.18/dt/lcd_tc358762xbg_dpi_800x480.dtsi index d00e83a542..5e5b6a820c 100644 --- a/patch/kernel/archive/spacemit-6.18/dt/lcd_tc358762xbg_dpi_800x480.dtsi +++ b/patch/kernel/archive/spacemit-6.18/dt/lcd_tc358762xbg_dpi_800x480.dtsi @@ -1,7 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 -/ { lcds: lcds { - lcd_tc358762xbg_dpi_800x480: lcd_tc358762xbg_dpi_800x480 { +/ { + lcds: lcds { + lcd_tc358762xbg_dpi_800x480: lcd_tc358762xbg_dpi_800x480 { dsi-work-mode = <1>; /* video burst mode*/ dsi-lane-number = <1>; dsi-color-format = "rgb888"; @@ -33,29 +34,32 @@ 39 01 F0 01 11 39 01 28 01 29 ]; + sleep-in-command = [ 39 01 78 01 28 39 01 78 01 10 ]; + sleep-out-command = [ 39 01 96 01 11 39 01 32 01 29 ]; display-timings { - timing0 { - clock-frequency = <25000000>; - hactive = <800>; - hfront-porch = <1>; - hback-porch = <46>; - hsync-len = <2>; - vactive = <480>; - vfront-porch = <7>; - vback-porch = <21>; - vsync-len = <2>; - vsync-active = <1>; - hsync-active = <1>; + timing0 { + clock-frequency = <25000000>; + hactive = <800>; + hfront-porch = <1>; + hback-porch = <46>; + hsync-len = <2>; + vactive = <480>; + vfront-porch = <7>; + vback-porch = <21>; + vsync-len = <2>; + vsync-active = <1>; + hsync-active = <1>; + }; }; }; }; -};}; \ No newline at end of file +}; diff --git a/patch/kernel/archive/spacemit-6.6/dt/lcd_tc358762xbg_dpi_800x480.dtsi b/patch/kernel/archive/spacemit-6.6/dt/lcd_tc358762xbg_dpi_800x480.dtsi index d00e83a542..5e5b6a820c 100644 --- a/patch/kernel/archive/spacemit-6.6/dt/lcd_tc358762xbg_dpi_800x480.dtsi +++ b/patch/kernel/archive/spacemit-6.6/dt/lcd_tc358762xbg_dpi_800x480.dtsi @@ -1,7 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 -/ { lcds: lcds { - lcd_tc358762xbg_dpi_800x480: lcd_tc358762xbg_dpi_800x480 { +/ { + lcds: lcds { + lcd_tc358762xbg_dpi_800x480: lcd_tc358762xbg_dpi_800x480 { dsi-work-mode = <1>; /* video burst mode*/ dsi-lane-number = <1>; dsi-color-format = "rgb888"; @@ -33,29 +34,32 @@ 39 01 F0 01 11 39 01 28 01 29 ]; + sleep-in-command = [ 39 01 78 01 28 39 01 78 01 10 ]; + sleep-out-command = [ 39 01 96 01 11 39 01 32 01 29 ]; display-timings { - timing0 { - clock-frequency = <25000000>; - hactive = <800>; - hfront-porch = <1>; - hback-porch = <46>; - hsync-len = <2>; - vactive = <480>; - vfront-porch = <7>; - vback-porch = <21>; - vsync-len = <2>; - vsync-active = <1>; - hsync-active = <1>; + timing0 { + clock-frequency = <25000000>; + hactive = <800>; + hfront-porch = <1>; + hback-porch = <46>; + hsync-len = <2>; + vactive = <480>; + vfront-porch = <7>; + vback-porch = <21>; + vsync-len = <2>; + vsync-active = <1>; + hsync-active = <1>; + }; }; }; }; -};}; \ No newline at end of file +};