IMX8MM raydium panel setup

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8MM raydium panel setup

1,657 次查看
ppavacic
Contributor II

Hello,

IMX Linux Integration manual doesn't quite explain MIPI DSI Panel integration.

Lets start with device tree:

https://github.com/varigit/linux-imx/blob/5.15-2.0.x-imx_var01/arch/arm64/boot/dts/freescale/imx8mm-... show us that in order to add panel we should just add panel to the &mipi_dsi device tree.

While https://github.com/varigit/linux-imx/blob/5.15-2.0.x-imx_var01/Documentation/devicetree/bindings/dis...

shows us that mipi-dsi requires two ports to be defined and second port should be connected to the MIPI display.

That goes well with the documentation for raydium device tree which can be found here:

https://www.kernel.org/doc/Documentation/devicetree/bindings/display/panel/raydium%2Crm67191.yaml

Therefore final device tree according to my logic should look something like this:

&lcdif {
	status = "okay";
};

&mipi_dsi {
	status = "okay";
	
	panel@0 {
		status = "okay";
		reg = <0>;
		compatible = "raydium,rm67191"; 
		dsi-lanes = <2>;
		pinctrl-names = "default";
		reset-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
		width-mm = <56>;
		height-mm = <93>;
		//video-mode = <2>;
		
		port {
			panel_in: endpoint {
				remote-endpoint = <&mipi_out>;
			};
		};
	};
	
	port@0 {
		dsim_from_lcdif: endpoint {
			remote-endpoint = <&lcdif_to_dsim>;
		};
	};
	
	port@1 {
		mipi_out: endpoint {
        	remote-endpoint = <&panel_in>;
  		};
	};
};

 

Can you please clarify how it should be done.

0 项奖励
回复
1 回复

1,643 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You just need to replacement the dtb of general community by the NXP one and see if one of the GPIO is not used.

regards

0 项奖励
回复