Skip to content

Commit

Permalink
tspi: fix: set plane mask in dtb
Browse files Browse the repository at this point in the history
If there is not boot logo, tspi-rk3566 can not set display vop. so we need to set vop plane-mask in dtb.
Reference from "Rockchip_VOP2_Plane_Assign.pdf"
  • Loading branch information
CmST0us committed Dec 17, 2023
1 parent a5028ae commit 3d080fe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions kernel/arch/arm64/boot/dts/rockchip/tspi-rk3566-core-v10.dtsi
Expand Up @@ -963,3 +963,15 @@
pinctrl-names = "default";
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
};

//指定VOP plane-mask 避免显示无画面
&vp0 {
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART0>;
};

//指定VOP plane-mask 避免显示无画面
&vp1 {
rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>;
rockchip,primary-plane = <ROCKCHIP_VOP2_ESMART1>;
};

0 comments on commit 3d080fe

Please sign in to comment.