arm64: dts: mediatek: mt8195: Add SCP phandle to MDP3 DMA controller
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 6 Jun 2024 21:12:04 +0000 (17:12 -0400)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 30 Jul 2024 14:36:56 +0000 (16:36 +0200)
While the MDP3 DMA controller can look for the SCP node based on
compatible, it's best practice to supply the MDP3 node with a phandle to
the SCP since that allows supporting dual core SCP as well. Besides,
relying on the compatible search causes an error to be printed, since
the phandle is tried first:

  mtk-mdp3 14001000.dma-controller: can't get SCP node

Add the missing phandle to follow the best practice and get rid of the
error.

Fixes: 5710462a116c ("arm64: dts: mediatek: mt8195: add MDP3 nodes")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240606-mt8195-dma-scp-node-err-v2-1-e14702e9d3f2@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8195.dtsi

index 2ee45752583c00330c90cb92db742324c2b0a4fe..a46062258603a825228be431dc8b4829a9920063 100644 (file)
                        mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x1000 0x1000>;
                        mediatek,gce-events = <CMDQ_EVENT_VPP0_MDP_RDMA_SOF>,
                                              <CMDQ_EVENT_VPP0_MDP_RDMA_FRAME_DONE>;
+                       mediatek,scp = <&scp>;
                        power-domains = <&spm MT8195_POWER_DOMAIN_VPPSYS0>;
                        iommus = <&iommu_vpp M4U_PORT_L4_MDP_RDMA>;
                        clocks = <&vppsys0 CLK_VPP0_MDP_RDMA>;