HI,
we areusing custom serialiser (ub941)daughter card and deserialiser to convert MIPI-DSI to LVDS.
the back light of the display is turning on.following are the configuration that we have used in serialiser and deseriliaser.
Serialiser:
Deserialiser:
FPD link : DUAL
single channel LVDS output
also attaching the register dump of serialiser and deserialsier.
*****************serialiser*********************************
root@imx8qm-mek:~# i2cdump -f -y 9 0x0e
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 1c 00 00 9a 00 00 58 00 00 01 0b 00 67 30 00 00 ?..?..X..??.g0..
10: 00 00 00 8a 00 00 fe 9e 7f 7f 01 00 03 00 01 00 ...?..?????.?.?.
20: 0b 00 25 00 00 00 00 00 01 20 20 a0 00 00 a5 5a ?.%.....? ?..?Z
30: 00 09 00 05 0c 00 00 00 00 00 00 00 00 00 81 02 .?.??.........??
40: 10 94 00 00 00 00 00 00 00 00 00 00 00 00 00 8c ??.............?
50: 16 00 00 00 02 00 00 02 00 00 c9 03 07 06 44 94 ?...?..?..????D?
60: 22 02 00 00 10 00 00 00 00 00 00 00 00 00 20 00 "?..?......... .
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f 00 ..............?.
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 82 00 38 00 00 64 40 00 00 00 00 02 ff 00 ..?.8..d@....?..
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 82 00 28 08 00 00 00 00 00 00 00 02 00 00 ..?.(?.......?..
f0: 5f 55 42 39 34 31 00 00 00 00 00 00 00 00 00 00 _UB941..........
*****************Deserialiser*********************************
root@imx8qm-mek:~# i2cdump -f -y 9 0x2c
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 58 04 00 f0 fe 1e 00 1c 00 00 00 00 00 00 00 00 X?.???.?........
10: 00 00 00 00 00 00 00 00 00 01 00 00 13 19 90 09 .........?..????
20: 90 00 40 30 08 00 83 84 11 00 00 00 00 00 00 00 ?.@0?.???.......
30: 00 00 90 25 01 00 00 aa 00 00 00 04 20 e0 23 00 ..?%?..?...? ?#.
40: 43 03 03 00 60 88 00 00 0f 02 00 08 00 00 63 00 C??.`?..??.?..c.
50: 03 10 00 01 80 00 00 00 00 3f 20 20 00 00 00 00 ??.??....? ....
60: 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 ....?...........
70: 00 00 00 07 07 08 00 00 00 00 00 00 02 00 00 00 ...???......?...
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0: 00 00 7d 00 00 00 00 00 00 00 00 00 00 00 00 00 ..}.............
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
c0: 00 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 ........?.......
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
f0: 5f 55 42 39 34 38 00 00 00 00 00 00 00 00 00 00 _UB948..........
root@imx8qm-mek:~#
device tree:
&i2c0_mipi0 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mipi0_lpi2c0>;
clock-frequency = <100000>;
status = "okay";
fpdlink_serializer_i2c0: serializer@0e {
compatible = "ti,ds90ub941as_q1";
reg = <0x0e>;
reg_config = <0x01 0x08 0x1E 0x01 0x03 0x9A 0x1E 0x01 0x40 0x05 0x41 0x21 0x42 0x60 0x1E 0x01 0x5B 0x03 0x4F 0x8C 0x1E 0x01 0x40 0x04 0x41 0x05 0x42 0x1E 0x03 0x9A 0x01 0x08 0x17 0x9E 0x01 0x00>;
status = "okay";
};
fpdlink_deserializer_i2c0: deserializer@2c {
compatible = "ti,ds90ub948_q1";
reg = <0x2c>;
reg_config = <0x20 0x90 0x1F 0x09 0x1D 0x19 0x1E 0x90>;
status = "okay";
fpdlink_lvds_dic: fpdlink_bridge@100 {
compatible = "ti,fpdlink";
ti,dsi-lanes = <4>;
ti,lvds-format = <1>;
ti,lvds-bpp = <24>;
ti,width-mm = <223>;
ti,height-mm = <125>;
fpdlink-serializer-i2c-handle = <&fpdlink_serializer_i2c0>;
fpdlink-deserializer-i2c-handle = <&fpdlink_deserializer_i2c0>;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: 1920X720_50HZ {
clock-frequency = <145670400>;
hactive = <1920>;
vactive = <720>;
hfront-porch = <16>;
vfront-porch = <16>;
hback-porch = <16>;
vback-porch = <5>;
hsync-len = <8>;
vsync-len = <2>;
};
};
port@0 {
reg = <0>;
bridge_in: endpoint {
remote-endpoint = <&mipi0_adv_out>;
};
};
};
};
};
&mipi0_dphy {
status = "okay";
};
&mipi0_dsi_host {
status = "okay";
ports {
port@1 {
reg = <1>;
mipi0_adv_out: endpoint {
remote-endpoint = <&bridge_in>;
};
};
};
};
please revert back if we need to add any configuration or register settting or any clock
Thanks,
Musthafa