[PATCH 0/2] MediaTek MDP3: use devicetree to retrieve SCP

AngeloGioacchino Del Regno posted 2 patches 10 months, 1 week ago
There is a newer version of this series
.../bindings/media/mediatek,mdp3-rdma.yaml       |  6 ++++++
.../media/platform/mediatek/mdp3/mtk-mdp3-core.c | 16 ++++++++++------
2 files changed, 16 insertions(+), 6 deletions(-)
[PATCH 0/2] MediaTek MDP3: use devicetree to retrieve SCP
Posted by AngeloGioacchino Del Regno 10 months, 1 week ago
Especially now that Multi-Core SCP support has landed, it makes sense to
retrieve the SCP handle by using the "mediatek,scp" property (as already
done in MediaTek VCODEC), both to select one specific SCP core for MDP3
and to avoid walking the parent node to find a SCP node.

AngeloGioacchino Del Regno (2):
  media: dt-bindings: mediatek: Add phandle to mediatek,scp on MDP3 RDMA
  media: platform: mtk-mdp3: Use devicetree phandle to retrieve SCP

 .../bindings/media/mediatek,mdp3-rdma.yaml       |  6 ++++++
 .../media/platform/mediatek/mdp3/mtk-mdp3-core.c | 16 ++++++++++------
 2 files changed, 16 insertions(+), 6 deletions(-)

-- 
2.42.0
Re: [PATCH 0/2] MediaTek MDP3: use devicetree to retrieve SCP
Posted by Hans Verkuil 9 months, 4 weeks ago
On 19/09/2023 11:59, AngeloGioacchino Del Regno wrote:
> Especially now that Multi-Core SCP support has landed, it makes sense to
> retrieve the SCP handle by using the "mediatek,scp" property (as already
> done in MediaTek VCODEC), both to select one specific SCP core for MDP3
> and to avoid walking the parent node to find a SCP node.
> 
> AngeloGioacchino Del Regno (2):
>   media: dt-bindings: mediatek: Add phandle to mediatek,scp on MDP3 RDMA
>   media: platform: mtk-mdp3: Use devicetree phandle to retrieve SCP
> 
>  .../bindings/media/mediatek,mdp3-rdma.yaml       |  6 ++++++
>  .../media/platform/mediatek/mdp3/mtk-mdp3-core.c | 16 ++++++++++------
>  2 files changed, 16 insertions(+), 6 deletions(-)
> 

This series no longer applies to our staging master branch.

Since Krzysztof also asked for a better patch 1/2, I prefer a rebased and
updated v5.

Regards,

	Hans