Hi Salas,
Thank you for your response.
Following are LCD specific changes in device tree:
&mipi_dsi {
status = "okay";
panel@0 {
compatible = "kingsfield,hx8399c";
reg = <0>;
pinctrl-0 = <&pinctrl_mipi_dsi_en>;
gpio-reset = <&gpio1 14 GPIO_ACTIVE_HIGH>;
gpio-3v3 = <&gpio3 19 GPIO_ACTIVE_HIGH>;
gpio-1v8 = <&gpio4 26 GPIO_ACTIVE_HIGH>;
gpio-bak-domain = <&gpio3 16 GPIO_ACTIVE_HIGH>;
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";
};
};
Regarding your suggestion to modify LCD driver. We already tired to look into that direction, but didn't find any configuration in LCD controller for such rotation.
In past when we were using IMX6Q we used to do rotation using frame buffer driver using IPU. For reference I am putting my past comment here
https://community.nxp.com/t5/i-MX-Processors/i-MX6-IPU-and-rotating-a-frame-buffer/m-p/269943#M28863
Do we have similar way to rotation using GPU via DRM mechanism? Does anyone has done rotation earlier in IMX8MP using kernel?
Thanks,
Jemish