Hello @joanxie, FYI it's very likely that the rm67191 panel reset GPIO1_IO8 doesn't work correctly, see in imx8mp-evk-rm67191.dts:
&mipi_dsi {
panel@0 {
compatible = "raydium,rm67191";
reg = <0>;
pinctrl-0 = <&pinctrl_mipi_dsi_en>;
reset-gpio = <&gpio1 8 GPIO_ACTIVE_LOW>;
dsi-lanes = <4>;
video-mode = <2>; /* 0: burst mode
* 1: non-burst mode with sync event
* 2: non-burst mode with sync pulse
*/
panel-width-mm = <68>;
panel-height-mm = <121>;
status = "okay";
};
};
The node misses "pinctrl-names = "default";". Without it, the pin is not configured as GPIO.
GPIO1_IO08 is already a GPIO, however the panel reset won't work for other pins (e.g. for GPIO1_IO23, as in my case. It took me a while to figure out why my panel doesn't respond to the commands.).
Please check.
The error is likely present for imx8mm and other boards as well.
Regards,
Sergei