[PATCH v10 05/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 WROT

2023-12-20 Thread Moudy Ho
MT8195 WROT inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-wrot.yaml | 6 +- 1 file changed, 5 insertions(+), 1

[PATCH v10 15/16] dt-bindings: display: mediatek: split: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add compatible string and GCE property for MT8195 SPLIT, of which is operated by MDP3. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,split.yaml | 27 +++ 1 file changed, 27 insertions

[PATCH v10 13/16] dt-bindings: display: mediatek: merge: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add a compatible string for the MERGE block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 1 + 1 file changed, 1 insertion

[PATCH v10 00/16] introduce more MDP3 components in MT8195

2023-12-20 Thread Moudy Ho
From: Moudy Ho Changes since v9: - Rebase on linux-next. - Dependent dtsi files: Message ID = 20231030094840.2479-1-moudy...@mediatek.com - Depends on: Message ID = 20231214055847.4936-1-shawn.s...@mediatek.com - Include the missing compatible name 'mediatek,mt8188-vdo1-rdma' in patch [2

[PATCH v10 02/16] dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display

2023-12-20 Thread Moudy Ho
oxes" have been set up for this purpose. Within DISP, it directly receives component interrupt signals. Signed-off-by: Moudy Ho --- .../display/mediatek/mediatek,mdp-rdma.yaml | 92 --- .../bindings/media/mediatek,mdp3-rdma.yaml| 43 - 2 files changed, 40 inserti

[PATCH v10 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add a compatible string for the PADDING block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Acked-by: Rob Herring Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v10 09/16] dt-bindings: media: mediatek: mdp3: add component TCC for MT8195

2023-12-20 Thread Moudy Ho
Add the fundamental hardware configuration of component TCC, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-tcc.yaml | 62 +++ 1 file changed, 62

[PATCH v10 14/16] dt-bindings: display: mediatek: ovl: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add a compatible string for the OVL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion

[PATCH v10 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-12-20 Thread Moudy Ho
Add the fundamental hardware configuration of component TDSHP, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/media/mediatek,mdp3-tdshp.yaml | 61 +++ 1 file changed

[PATCH v10 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-12-20 Thread Moudy Ho
Add the fundamental hardware configuration of component FG, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-fg.yaml | 61 +++ 1 file changed, 61

[PATCH v10 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA

2023-12-20 Thread Moudy Ho
Added the configuration for MT8195 RDMA. In comparison to MT8183, it no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Rob Herring --- .../bindings/media/mediatek,mdp3-rdma.yaml| 21

[PATCH v10 01/16] dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names

2023-12-20 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring

[PATCH v10 04/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 RSZ

2023-12-20 Thread Moudy Ho
MT8195 RSZ inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH v10 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add a compatible string for the COLOR block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion

[PATCH v10 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-12-20 Thread Moudy Ho
Add the fundamental hardware configuration of component HDR, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-hdr.yaml | 61 +++ 1 file changed, 61

[PATCH v10 11/16] dt-bindings: display: mediatek: aal: add compatible for MT8195

2023-12-20 Thread Moudy Ho
Add a compatible string for the AAL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Acked-by: Conor Dooley Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v10 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-12-20 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/media/mediatek,mdp3-stitch.yaml | 61 +++ 1 file changed

[PATCH v9 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-10-31 Thread Moudy Ho
Add the fundamental hardware configuration of component FG, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-fg.yaml | 61 +++ 1 file changed, 61

[PATCH v9 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-10-31 Thread Moudy Ho
Add the fundamental hardware configuration of component HDR, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-hdr.yaml | 61 +++ 1 file changed, 61

[PATCH v9 14/16] dt-bindings: display: mediatek: ovl: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add a compatible string for the OVL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion

[PATCH v9 05/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 WROT

2023-10-31 Thread Moudy Ho
MT8195 WROT inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-wrot.yaml | 6 +- 1 file changed, 5 insertions(+), 1

[PATCH v9 09/16] dt-bindings: media: mediatek: mdp3: add component TCC for MT8195

2023-10-31 Thread Moudy Ho
Add the fundamental hardware configuration of component TCC, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-tcc.yaml | 62 +++ 1 file changed, 62

[PATCH v9 00/16] introduce more MDP3 components in MT8195

2023-10-31 Thread Moudy Ho
into their respective files. Hi, The purpose of this patch is to separate the MDP3-related bindings from the original mailing list mentioned below: https://lore.kernel.org/all/20230208092209.19472-1-moudy...@mediatek.com/ Those binding files describe additional components that are present in the mt8195. Moudy Ho

[PATCH v9 01/16] dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names

2023-10-31 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring

[PATCH v9 15/16] dt-bindings: display: mediatek: split: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add compatible string and GCE property for MT8195 SPLIT, of which is operated by MDP3. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,split.yaml | 27 +++ 1 file changed, 27 insertions

[PATCH v9 13/16] dt-bindings: display: mediatek: merge: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add a compatible string for the MERGE block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 1 + 1 file changed, 1 insertion

[PATCH v9 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add a compatible string for the COLOR block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion

[PATCH v9 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-10-31 Thread Moudy Ho
Add the fundamental hardware configuration of component TDSHP, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-tdshp.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644

[PATCH v9 11/16] dt-bindings: display: mediatek: aal: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add a compatible string for the AAL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Acked-by: Conor Dooley Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v9 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-10-31 Thread Moudy Ho
Add a compatible string for the PADDING block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v9 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-10-31 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-stitch.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644

[PATCH v9 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA

2023-10-31 Thread Moudy Ho
Added the configuration for MT8195 RDMA. In comparison to MT8183, it no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/media/mediatek,mdp3-rdma.yaml| 21 +++ 1 file

[PATCH v9 02/16] dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display

2023-10-31 Thread Moudy Ho
oxes" have been set up for this purpose. Within DISP, it directly receives component interrupt signals. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,mdp-rdma.yaml | 88 --- .../bindings/media/mediatek,mdp3-rdma.yaml

[PATCH v9 04/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 RSZ

2023-10-31 Thread Moudy Ho
MT8195 RSZ inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH v8 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-10-30 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-stitch.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644

[PATCH v8 11/16] dt-bindings: display: mediatek: aal: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add a compatible string for the AAL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Acked-by: Conor Dooley Reviewed-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v8 15/16] dt-bindings: display: mediatek: split: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add compatible string and GCE property for MT8195 SPLIT, of which is operated by MDP3. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,split.yaml | 27 +++ 1 file changed, 27 insertions

[PATCH v8 13/16] dt-bindings: display: mediatek: merge: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add a compatible string for the MERGE block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 1 + 1 file changed, 1 insertion

[PATCH v8 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add a compatible string for the COLOR block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion

[PATCH v8 09/16] dt-bindings: media: mediatek: mdp3: add component TCC for MT8195

2023-10-30 Thread Moudy Ho
Add the fundamental hardware configuration of component TCC, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-tcc.yaml | 62 +++ 1 file changed, 62

[PATCH v8 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-10-30 Thread Moudy Ho
Add the fundamental hardware configuration of component TDSHP, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-tdshp.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644

[PATCH v8 05/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 WROT

2023-10-30 Thread Moudy Ho
MT8195 WROT inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-wrot.yaml | 6 +- 1 file changed, 5 insertions(+), 1

[PATCH v8 01/16] dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names

2023-10-30 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring

[PATCH v8 14/16] dt-bindings: display: mediatek: ovl: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add a compatible string for the OVL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion

[PATCH v8 02/16] dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display

2023-10-30 Thread Moudy Ho
oxes" have been set up for this purpose. Within DISP, it directly receives component interrupt signals. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,mdp-rdma.yaml | 88 --- .../bindings/media/mediatek,mdp3-rdma.yaml

[PATCH v8 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-10-30 Thread Moudy Ho
Add the fundamental hardware configuration of component FG, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-fg.yaml | 61 +++ 1 file changed, 61

[PATCH v8 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-10-30 Thread Moudy Ho
Add the fundamental hardware configuration of component HDR, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski --- .../bindings/media/mediatek,mdp3-hdr.yaml | 61 +++ 1 file changed, 61

[PATCH v8 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-10-30 Thread Moudy Ho
Add a compatible string for the PADDING block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH v8 04/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 RSZ

2023-10-30 Thread Moudy Ho
MT8195 RSZ inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion

[PATCH v8 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA

2023-10-30 Thread Moudy Ho
Added the configuration for MT8195 RDMA. In comparison to MT8183, it no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/media/mediatek,mdp3-rdma.yaml| 26 ++- 1 file

[PATCH v8 00/16] introduce more MDP3 components in MT8195

2023-10-30 Thread Moudy Ho
mentioned below: https://lore.kernel.org/all/20230208092209.19472-1-moudy...@mediatek.com/ Those binding files describe additional components that are present in the mt8195. Moudy Ho (16): dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names dt-bindings: media

[PATCH v7 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-10-12 Thread Moudy Ho
Add the fundamental hardware configuration of component TDSHP, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-tdshp.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v7 13/16] dt-bindings: display: mediatek: merge: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add a compatible string for the MERGE block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v7 15/16] dt-bindings: display: mediatek: split: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add compatible string and GCE property for MT8195 SPLIT, of which is operated by MDP3. Signed-off-by: Moudy Ho --- .../display/mediatek/mediatek,split.yaml | 27 +++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[PATCH v7 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA

2023-10-12 Thread Moudy Ho
Added the configuration for MT8195 RDMA. In comparison to MT8183, it no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-rdma.yaml| 26 ++- 1 file changed, 25 insertions(+), 1 deletion(-) diff

[PATCH v7 11/16] dt-bindings: display: mediatek: aal: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add a compatible string for the AAL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho Acked-by: Conor Dooley --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v7 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add a compatible string for the PAD block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display

[PATCH v7 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-10-12 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-stitch.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v7 04/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 RSZ

2023-10-12 Thread Moudy Ho
MT8195 RSZ inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho --- .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3

[PATCH v7 09/16] dt-bindings: media: mediatek: mdp3: add component TCC for MT8195

2023-10-12 Thread Moudy Ho
Add the fundamental hardware configuration of component TCC, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-tcc.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v7 14/16] dt-bindings: display: mediatek: ovl: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add a compatible string for the OVL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[PATCH v7 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-10-12 Thread Moudy Ho
Add a compatible string for the COLOR block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v7 05/16] dt-bindings: media: mediatek: mdp3: add compatible for MT8195 WROT

2023-10-12 Thread Moudy Ho
MT8195 WROT inherited from MT8183, add the corresponding compatible name to it. Signed-off-by: Moudy Ho --- .../devicetree/bindings/media/mediatek,mdp3-wrot.yaml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3

[PATCH v7 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-10-12 Thread Moudy Ho
Add the fundamental hardware configuration of component HDR, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-hdr.yaml | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v7 02/16] dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display

2023-10-12 Thread Moudy Ho
oxes" have been set up for this purpose. Within DISP, it directly receives component interrupt signals. Signed-off-by: Moudy Ho --- .../display/mediatek/mediatek,mdp-rdma.yaml | 88 --- .../bindings/media/mediatek,mdp3-rdma.yaml| 55 +--- 2 files changed,

[PATCH v7 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-10-12 Thread Moudy Ho
Add the fundamental hardware configuration of component FG, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-fg.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v7 01/16] dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names

2023-10-12 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring --- .../bind

[PATCH v7 00/16] introduce more MDP3 components in MT8195

2023-10-12 Thread Moudy Ho
files describe additional components that are present in the mt8195. Moudy Ho (16): dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names dt-bindings: media: mediatek: mdp3: merge the indentical RDMA under display dt-bindings: media: mediatek: mdp3: add

[PATCH v6 07/16] dt-bindings: media: mediatek: mdp3: add component HDR for MT8195

2023-09-22 Thread Moudy Ho
Add the fundamental hardware configuration of component HDR, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-hdr.yaml | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v6 14/16] dt-bindings: display: mediatek: ovl: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the OVL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[PATCH v6 02/16] dt-bindings: media: mediatek: mdp3: split out general properties

2023-09-22 Thread Moudy Ho
In order to minimize duplication and standardize the document style, it is necessary to separate the general properties specific to MediaTek MDP3 RDMA. Signed-off-by: Moudy Ho --- .../media/mediatek,mdp3-rdma-common.yaml | 72 +++ 1 file changed, 72 insertions(+) create

[PATCH v6 09/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-09-22 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-tcc.yaml | 60 +++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v6 05/16] dt-bindings: media: mediatek: mdp3: add support MT8195 RDMA

2023-09-22 Thread Moudy Ho
Support for MT8195 RDMA has been added, allowing for the configuration of multiple MDP3 pipes. Furthermore, this particular device does not require sharing SRAM with RSZ. Signed-off-by: Moudy Ho --- .../media/mediatek,mdp3-rdma-8195.yaml| 64 +++ 1 file changed, 64

[PATCH v6 16/16] dt-bindings: display: mediatek: padding: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the PAD block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../bindings/display/mediatek/mediatek,padding.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display

[PATCH v6 15/16] dt-bindings: display: mediatek: split: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the SPLIT block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,split.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v6 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the COLOR block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v6 04/16] dt-bindings: media: mediatek: mdp3: rename to MT8183 RDMA

2023-09-22 Thread Moudy Ho
The file was renamed to support future scalability in response to the changes in general properties separation. Signed-off-by: Moudy Ho --- .../{mediatek,mdp3-rdma.yaml => mediatek,mdp3-rdma-8183.yaml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Documentation/devicet

[PATCH v6 13/16] dt-bindings: display: mediatek: merge: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the MERGE block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,merge.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v6 06/16] dt-bindings: media: mediatek: mdp3: add component FG for MT8195

2023-09-22 Thread Moudy Ho
Add the fundamental hardware configuration of component FG, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-fg.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v6 01/16] dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names

2023-09-22 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring --- .../bind

[PATCH v6 08/16] dt-bindings: media: mediatek: mdp3: add component STITCH for MT8195

2023-09-22 Thread Moudy Ho
Add the fundamental hardware configuration of component STITCH, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-stitch.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v6 11/16] dt-bindings: display: mediatek: aal: add compatible for MT8195

2023-09-22 Thread Moudy Ho
Add a compatible string for the AAL block in MediaTek MT8195 that is controlled by MDP3. Signed-off-by: Moudy Ho --- .../devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[PATCH v6 10/16] dt-bindings: media: mediatek: mdp3: add component TDSHP for MT8195

2023-09-22 Thread Moudy Ho
Add the fundamental hardware configuration of component TDSHP, which is controlled by MDP3 on MT8195. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-tdshp.yaml | 61 +++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media

[PATCH v6 00/16] introduce more MDP3 components in MT8195

2023-09-22 Thread Moudy Ho
...@mediatek.com/ Those binding files describe additional components that are present in the mt8195. Moudy Ho (16): dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names dt-bindings: media: mediatek: mdp3: split out general properties dt-bindings: media: mediatek: mdp3

[PATCH v6 03/16] dt-bindings: media: mediatek: mdp3: include common properties

2023-09-22 Thread Moudy Ho
To minimize duplication and standardize the document style, include the common properties for MT8183 RDMA. Signed-off-by: Moudy Ho --- .../bindings/media/mediatek,mdp3-rdma.yaml| 43 ++- 1 file changed, 4 insertions(+), 39 deletions(-) diff --git a/Documentation/devicetree

[PATCH v5 1/3] dt-binding: mediatek: correct MDP3 node with generic names

2023-09-18 Thread Moudy Ho
The DMA-related nodes RDMA/WROT in MDP3 should be changed to generic names. In addition, fix improper space indent in example. Fixes: 4ad7b39623ab ("media: dt-binding: mediatek: add bindings for MediaTek MDP3 components") Signed-off-by: Moudy Ho Acked-by: Rob Herring --- .../bind

[PATCH v5 11/14] media: platform: mtk-mdp3: add mt8195 platform configuration

2023-09-18 Thread Moudy Ho
Add MT8195 MDP3 basic configuration in file "mdp_cfg_data.c" and corresponding driver data. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_cfg_data.c | 666 ++ .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 1 + .../platform/mediatek/mdp3/mtk-m

[PATCH v5 01/14] arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes

2023-09-18 Thread Moudy Ho
In order to generalize the node names, the DMA-related nodes corresponding to MT8183 MDP3 need to be corrected. Fixes: 60a2fb8d202a ("arm64: dts: mt8183: add MediaTek MDP3 nodes") Signed-off-by: Moudy Ho --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 6 -- 1 file changed, 4 insert

[PATCH v5 02/14] arm64: dts: mediatek: mt8195: add MDP3 nodes

2023-09-18 Thread Moudy Ho
Add device nodes for Media Data Path 3 (MDP3) modules. Signed-off-by: Moudy Ho --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 378 +++ 1 file changed, 378 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index

[PATCH v5 09/14] media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT

2023-09-18 Thread Moudy Ho
Support for multiple RDMA/WROT waits for GCE events. Signed-off-by: Moudy Ho --- .../media/platform/mediatek/mdp3/mdp_cfg_data.c | 2 ++ .../platform/mediatek/mdp3/mtk-mdp3-comp.c | 17 +++-- .../platform/mediatek/mdp3/mtk-mdp3-core.h | 2 ++ 3 files changed, 15

[PATCH v5 10/14] media: platform: mtk-mdp3: add support for blending multiple components

2023-09-18 Thread Moudy Ho
Certain chips can combine several components to form complex virtual units with advanced functions. These components require simultaneous configuration of their MODs and clocks. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 10 +- .../platform/mediatek/mdp3

[PATCH v5 04/14] media: platform: mtk-mdp3: add support second sets of MUTEX

2023-09-18 Thread Moudy Ho
After setting up the second set of MMSYS (VPPSYS1), it is necessary to have a corresponding second set of MUTEX (MUTEX2) to assist in handling SOF/EOF. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 64 --- .../platform/mediatek/mdp3/mtk-mdp3-core.c

[PATCH v5 12/14] media: platform: mtk-mdp3: add mt8195 shared memory configurations

2023-09-18 Thread Moudy Ho
The configuration of the MT8195 components in the shared memory is defined in the header file "mdp_sm_mt8195.h". Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_sm_mt8195.h| 283 ++ .../platform/mediatek/mdp3/mtk-img-ipi.h | 4 + 2 files ch

[PATCH v5 08/14] media: platform: mtk-mdp3: avoid multiple driver registrations

2023-09-18 Thread Moudy Ho
The amount of MDP3 driver probes is determined by the registered clocks of MMSYS. Since MT8195 MDP3 utilizes VPPSYS0 and VPPSYS1, it's necessary to prevent multiple driver registrations. Signed-off-by: Moudy Ho --- drivers/media/platform/mediatek/mdp3/mdp_cfg_data.c | 1 + drivers/media

[PATCH v5 07/14] media: platform: mtk-mdp3: add checks for dummy components

2023-09-18 Thread Moudy Ho
Some components act as bridges only and do not require full configuration. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_cfg_data.c | 8 +++ .../platform/mediatek/mdp3/mtk-mdp3-cfg.h | 1 + .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 58 ++- 3 files

[PATCH v5 3/3] dt-binding: mediatek: add MediaTek mt8195 MDP3 components

2023-09-18 Thread Moudy Ho
Introduce more MDP3 components present in MT8195. Signed-off-by: Moudy Ho --- .../display/mediatek/mediatek,aal.yaml| 2 +- .../display/mediatek/mediatek,color.yaml | 2 +- .../display/mediatek/mediatek,merge.yaml | 1 + .../display/mediatek/mediatek,ovl.yaml| 2

[PATCH v5 03/14] media: platform: mtk-mdp3: add support second sets of MMSYS

2023-09-18 Thread Moudy Ho
MT8195 has two MMSYS sets, VPPSYS0 and VPPSYS1. These sets coordinate and control the clock, power, and register settings needed for the components of MDP3. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_cfg_data.c | 44 +-- .../platform/mediatek/mdp3/mtk-mdp3

[PATCH v5 13/14] media: platform: mtk-mdp3: add mt8195 MDP3 component settings

2023-09-18 Thread Moudy Ho
Extend the component settings used in MT8195 MDP3. Additionally, it is crucial to read all component settings in a specific manner to ensure that shared memory data structure lengths are aligned across different platforms. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c

[PATCH v5 05/14] media: platform: mtk-mdp3: introduce more pipelines from MT8195

2023-09-18 Thread Moudy Ho
Increasing the number of sets built by MMSYS and MUTEX in MT8195 will enable the creation of more pipelines in MDP3. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mtk-mdp3-cmdq.c| 80 --- .../platform/mediatek/mdp3/mtk-mdp3-core.h| 7 ++ 2 files changed, 60

[PATCH v5 14/14] media: platform: mtk-mdp3: add support for parallel pipe to improve FPS

2023-09-18 Thread Moudy Ho
In some chips, MDP3 has the ability to utilize two pipelines to parallelly process a single frame. To enable this feature, multiple CMDQ clients and packets need to be configured at the same time. Signed-off-by: Moudy Ho --- .../platform/mediatek/mdp3/mdp_cfg_data.c | 8 + .../platform

  1   2   >