|
Posted at 3/31/2023 21:49:39
Only Author
5#
I tryed it before and it works fine but It's not a best solution.
I need to add 2nd screen settings 1280x800:
horisontal 1280
vertical 800
I need rotate my screen using DTS file, on the kernel level:
&dsi1{
....
disp_timings1: display-timings {
native-mode = <&dsi1_timing0>;
dsi1_timing0: timing0 {
clock-frequency = <72600000>;//<80000000>;
hactive = <800>;
vactive = <1280>;
hsync-len = <14>; //20, 50,10
hback-porch = <26>; //50, 56,10
hfront-porch = <32>;//50, 30,180
vsync-len = <8>;//4
vback-porch = <20>;//4
vfront-porch = <80>;//8
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
So i need to add 2nd dsi1_timing:
dsi1_timing1: timing1 {
clock-frequency = ...;
hactive = <1280>;
vactive = <800>;
}
So probabaly i need enter new values for
clock-frequency,hactive,vactive,hsync-len,hback-porch,hfront-porch,vsync-len,vback-porch,vfront-porch
Can you help me ? How to do it ?
|
|