Skip to contentSkip to conversation

support mt8186 encoder

PATCH In review kyrie.wu 2 participants 4 messages Mar 16, 2022

Subsystems (4)
lore
Share & tools
lore

kyrie.wu

author
#0 lore raw

v2 cover support mt8186 encoder

From: kyrie wu <[email protected]>

Add "mediatek,mt8186-vcodec-enc" in yaml file.

Patche 1 add mt8186 compatible attribute in yaml file.

---
---
changes compared with v1:
no change compared with V1.

kyrie wu (1):
dt-bindings: media: mtk-vcodec: Adds encoder dt-bindings for mt8186

 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml       | 1 +
 1 file changed, 1 insertion(+)
Signature · 7 lines
2.18.0


_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
author
#1 lore raw

PATCH v2 1/1 dt-bindings: media: mtk-vcodec: Adds encoder dt-bindings for mt8186

From: kyrie wu <[email protected]>

Adds encoder dt-bindings for mt8186.

---
 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml       | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +1 -0
index e7b65a91c92c..6d52947f30a5 100644
@@ -22,6 +22,7 @@ properties:
       - mediatek,mt8183-vcodec-enc
       - mediatek,mt8192-vcodec-enc
       - mediatek,mt8195-vcodec-enc
+      - mediatek,mt8186-vcodec-enc
 
   reg:
     maxItems: 1
Signature · 7 lines
2.18.0


_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
#2 lore raw

Re: [V2: 1/1] dt-bindings: media: mtk-vcodec: Adds encoder dt-bindings for mt8186

Quoted 20 lines · kyrie.wu

From: kyrie wu <[email protected]>

Adds encoder dt-bindings for mt8186.

---
 .../devicetree/bindings/media/mediatek,vcodec-encoder.yaml       | 1
(quoted diff) +1 -0
+
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml
index e7b65a91c92c..6d52947f30a5 100644
--- a/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml

Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml properties: · line 26

Quoted 5 lines
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +1 -0
@@ -22,6 +22,7 @@ properties:
       - mediatek,mt8183-vcodec-enc
       - mediatek,mt8192-vcodec-enc
       - mediatek,mt8195-vcodec-enc
+      - mediatek,mt8186-vcodec-enc
 

Hello Kyrie,

As metioned in v1, I think it's better to move the 8186 below 8183.

BRs,
Rex

Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml properties: · line 28

Quoted 2 lines
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +0 -0
   reg:
     maxItems: 1

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek

#3 lore raw

Re: [V2: 1/1] dt-bindings: media: mtk-vcodec: Adds encoder dt-bindings for mt8186

Quoted 31 lines · Rex-BC Chen
Quoted 22 lines · kyrie.wu

From: kyrie wu <[email protected]>

Adds encoder dt-bindings for mt8186.

---
.../devicetree/bindings/media/mediatek,vcodec-encoder.yaml |
1
+

 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml
index e7b65a91c92c..6d52947f30a5 100644
--- a/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml
+++ b/Documentation/devicetree/bindings/media/mediatek,vcodec- encoder.yaml

Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml properties: · line 26

Quoted 5 lines
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +1 -0
@@ -22,6 +22,7 @@ properties:
       - mediatek,mt8183-vcodec-enc
       - mediatek,mt8192-vcodec-enc
       - mediatek,mt8195-vcodec-enc
+      - mediatek,mt8186-vcodec-enc
 

Hello Kyrie,

Quoted 8 lines

As metioned in v1, I think it's better to move the 8186 below 8183.

BRs,
Rex

Quoted 2 lines
Documentation/devicetree/bindings/media/mediatek,vcodec-encoder.yaml +0 -0
   reg:
     maxItems: 1

Hello Kyrie,

By the way, I see you re-use 8183 data in v1.
I think the binding should be somthing like this:

Before you send next patch, make sure you run the binding check.

compatible:
oneOf:
-items:
- enum:
- mediatek,mt8173-vcodec-enc-vp8
- mediatek,mt8173-vcodec-enc
- mediatek,mt8183-vcodec-enc
- mediatek,mt8192-vcodec-enc
- mediatek,mt8195-vcodec-enc
-items:
- enum:
- mediatek,mt8186-vcodec-enc
- const: mediatek,mt8183-vcodec-enc

BRs,
Rex

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek