|
Posted at 6/11/2018 18:20:54
Only Author
11#
Hi,
I use this settings:
&dsi {
status = "okay";
dsi_panel: panel {
compatible ="simple-panel-dsi";
reg = <0>;
//ddc-i2c-bu
//power-supply = <&vcc_lcd>;
backlight = <&backlight>;
enable-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio2 27 GPIO_ACTIVE_HIGH>;
dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
dsi,format = <MIPI_DSI_FMT_RGB888>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>; //MEDIA_BUS_FMT_RGB666_1X18
dsi,lvds-force-clk = <800>; // 800/2/3 ~= 65Mhz
dsi,lanes = <4>;
dsi,channel = <0>;
enable-delay-ms = <35>;
prepare-delay-ms = <6>;
unprepare-delay-ms = <0>;
disable-delay-ms = <20>;
size,width = <120>;
size,height = <170>;
status = "okay";
panel-init-sequence = [
29 00 06 3C 01 05 00 03 00
29 00 06 14 01 03 00 00 00
29 00 06 64 01 03 00 00 00
29 00 06 68 01 03 00 00 00
29 00 06 6C 01 03 00 00 00
29 00 06 70 01 03 00 00 00
29 00 06 34 01 1F 00 00 00
29 00 06 10 02 1F 00 00 00
29 00 06 04 01 01 00 00 00
29 00 06 04 02 01 00 00 00
29 00 06 50 04 20 01 F0 03
29 00 06 54 04 08 00 08 00
29 00 06 58 04 20 03 20 00
29 00 06 5C 04 04 00 0B 00
29 00 06 60 04 00 05 11 00
29 00 06 64 04 01 00 00 00
29 00 06 A0 04 06 80 44 00
29 00 06 A0 04 06 80 04 00
29 00 06 04 05 04 00 00 00
29 00 06 80 04 00 01 02 03
29 00 06 84 04 04 07 05 08
29 00 06 88 04 09 0A 0E 0F
29 00 06 8C 04 0B 0C 0D 10
29 00 06 90 04 16 17 11 12
29 00 06 94 04 13 14 15 1B
29 00 06 98 04 18 19 1A 06
29 00 06 9C 04 31 00 00 00
];
panel-exit-sequence = [
05 05 01 28
05 78 01 10
];
disp_timings: display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <65000000>;
hactive = <960>; //800
vactive = <1080>; // 1280
hsync-len = <10>; //8//20, 50
hback-porch = <0>; //8//50, 56
hfront-porch = <95>;//32//50, 30 //1580
vsync-len = <10>; //4
vback-porch = <0>; //11
vfront-porch = <20>; //17
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
swap-rb = <0>;
swap-rg = <0>;
swap-gb = <0>;
};
};
};
};
Nothing wasn't change when I try use different bus-format:s. I look that my display use VESA standard.
And how I tell config that I use two channel LVDS?
What about panel-init-sequence? I dont find any detail for that in display manual?
Link for manual: http://www.display-solution.com/ ... TN02.0_20160418.pdf
Thanks.
Pekka
|
|