RK3568 适配MIPI屏AYF070R1140H07-M


首先需要修改mipi屏的初始化参数,一般初始化参数由厂家提供

找到对应的DTS文件(因为不同的板卡厂商对应的DTS不一样,但是设置是相同的),将参数填写到这里面,这里整理好了基本参数,只要是使用同个型号的屏幕就可以正常使用

&dsi1_panel {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&dsi1_panel_reset>;
	reset-gpios = <&gpio4 RK_PC1 GPIO_ACTIVE_LOW>;

	/delete-property/ panel-init-sequence;
	panel-init-sequence = [
		39 00 03 E0 AB BA 
		39 00 03 E1 BA AB 
		39 00 02 B0 00 
		39 00 05 B1 10 01 47 FF 
		39 00 07 B2 0c 0e 04 14 14 14 
		39 00 04 B3 56 D3 00 
		39 00 04 B4 22 30 04 
		39 00 02 B5 00 
		39 00 08 B6 b0 00 00 10 00 10 00 
		39 00 09 B7 0E 00 FF 08 08 FF FF 00 
		39 00 08 B8 05 12 29 49 48 00 00 
		39 00 27 B9 4d 42 38 31 33 27 2F 1B 36 35 35 53 41 49 3D 3d 33 29 26 4c 42 39 31 33 27 2F 1B 36 35 35 53 41 49 3D 3d 33 29 26 
		39 00 09 BA 00 00 00 44 24 00 00 00 
		39 00 04 BB 76 00 00 
		39 00 03 BC 00 00 
		39 

你可能感兴趣的:(RK3568,RK3568)