Skip to content

Commit a555b79

Browse files
committed
boards: shields: adjust GLCDC panel timing parameters
Adjust GLCDC panel timing parameters for rtklcdpar1s00001be display shield Signed-off-by: Duy Nguyen <[email protected]>
1 parent 0f02d73 commit a555b79

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

boards/shields/rtklcdpar1s00001be/boards/ek_ra8p1_r7ka8p1kflcac_cm85.overlay

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,13 @@
6565
interrupt-names = "line";
6666
pinctrl-0 = <&glcdc_default>;
6767
pinctrl-names = "default";
68-
output-pin-hsync = "TCON_PIN_1";
69-
output-pin-vsync = "TCON_PIN_0";
68+
output-pin-hsync = "TCON_PIN_NONE";
69+
output-pin-vsync = "TCON_PIN_NONE";
7070
output-pin-de = "TCON_PIN_2";
71+
output-clock-divisor = <4>;
72+
def-back-color-red = <0>;
73+
def-back-color-green = <0>;
74+
def-back-color-blue = <0>;
7175
};
7276

7377
&iic1 {

boards/shields/rtklcdpar1s00001be/rtklcdpar1s00001be.overlay

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737

3838
display-timings {
3939
compatible = "zephyr,panel-timing";
40-
hsync-len = <1>;
41-
hback-porch = <140>;
42-
vsync-len = <1>;
43-
vback-porch = <20>;
40+
hsync-len = <4>;
41+
hback-porch = <160>;
42+
vsync-len = <3>;
43+
vback-porch = <23>;
4444
hsync-active = <0>;
4545
vsync-active = <0>;
4646
de-active = <1>;
4747
pixelclk-active = <0>;
48-
hfront-porch = <179>;
49-
vfront-porch = <403>;
48+
hfront-porch = <156>;
49+
vfront-porch = <9>;
5050
};
5151
};

0 commit comments

Comments
 (0)