Hey Marek, On 15.06.2023 22:19:00, Marek Vasut wrote: > This bridge seems to need the HSE packet, otherwise the image is > shifted up and corrupted at the bottom. This makes the bridge > work with Samsung DSIM on i.MX8MM and i.MX8MP.
I'm using v6.6 (which includes this series) on an i.MX8MP with the 7inch
Rspi Panel ("powertip,ph800480t013-idf02"), but I cannot get a stable
image.
With an unmodified imx8mp clock tree the lower 1/4 of the image sheers
to the left.
With 24.75 MHz on the media_disp1_pix and media_mipi_phy1_ref and 792
MHz on video_pll1_out, the image is not static, but wobbly and it's
wrapped around half of the image.
video_pll1_ref_sel 1 1 0 24000000
0 0 50000 Y
video_pll1 1 1 0 792000000
0 0 50000 Y
video_pll1_bypass 1 1 0 792000000
0 0 50000 Y
video_pll1_out 2 2 0 792000000
0 0 50000 Y
media_mipi_phy1_ref 1 1 0 24750000
0 0 50000 Y
media_mipi_phy1_ref_root 0 0 0
24750000 0 0 50000 Y
media_disp2_pix 0 0 0 792000000
0 0 50000 N
media_disp2_pix_root_clk 0 0 0
792000000 0 0 50000 N
media_disp1_pix 1 1 0 24750000
0 0 50000 Y
media_disp1_pix_root_clk 1 1 0
24750000 0 0 50000 Y
Do you have a working device tree for such a setup? regards, Marc
Relevant DT snipped for my setup:
&{/} {
panel {
compatible = "powertip,ph800480t013-idf02";
power-supply = <&attiny>;
backlight = <&attiny>;
port {
panel_in: endpoint {
remote-endpoint = <&bridge_out>;
};
};
};
};
&mipi_dsi {
samsung,esc-clock-frequency = <54000000>;
assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>,
<&clk IMX8MP_VIDEO_PLL1_OUT>;
assigned-clock-rates = <200000000>, <24750000>;
status = "okay";
bridge@0 {
compatible = "toshiba,tc358762";
reg = <0>;
vddc-supply = <&attiny>;
reset-gpio = <&attiny 0 0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
bridge_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
port@1 {
reg = <1>;
bridge_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
dsi_out: endpoint {
data-lanes = <1 2>;
remote-endpoint = <&bridge_in>;
};
};
};
};
&media_blk_ctrl {
assigned-clock-rates = <500000000>, <200000000>,
<0>, <0>, <792000000>;
};
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
signature.asc
Description: PGP signature
