SpacemiT: Fixup formatting in lcd_tc358762xbg_dpi_800x480.dtsi

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
This commit is contained in:
Patrick Yavitz 2025-12-14 07:59:59 -05:00 committed by c0rnelius
parent 4e7df4389e
commit 91d18529ec
2 changed files with 38 additions and 30 deletions

View File

@ -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>;
};
};
};
};
};};
};

View File

@ -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>;
};
};
};
};
};};
};