Skip to contentSkip to conversation

dt-bindings: display: meson-vpu: Add missing amlogic, canvas property

PATCH In review Alexander Stein 4 participants 5 messages Dec 19, 2021 – Jan 3, 2022

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: display: meson-vpu: Add missing amlogic, canvas property

This property was already mentioned in the old textual bindings amlogic,meson-vpu.txt, but got dropped during conversion. Adding it back similar to amlogic,gx-vdec.yaml.

Fixes 6b9ebf1e0e67 ("dt-bindings: display: amlogic, meson-vpu: convert to yaml")

---
Changes in v2:
* Do not linebreak Fixes tag
* Make amlogic,canvas mandatory as it was in textual binding already
* Add amlogic,canvas to example

 .../devicetree/bindings/display/amlogic,meson-vpu.yaml      | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml +6 -0
index 851cb0781217..047fd69e0377 100644
@@ -78,6 +78,10 @@ properties:
   interrupts:
     maxItems: 1
 
+  amlogic,canvas:
+    description: should point to a canvas provider node
+    $ref: /schemas/types.yaml#/definitions/phandle
+
   power-domains:
     maxItems: 1
     description: phandle to the associated power domain
@@ -106,6 +110,7 @@ required:
   - port@1
   - "#address-cells"
   - "#size-cells"
+  - amlogic,canvas
 
 additionalProperties: false
 
@@ -118,6 +123,7 @@ examples:
         interrupts = <3>;
         #address-cells = <1>;
         #size-cells = <0>;
+        amlogic,canvas = <&canvas>;
 
         /* CVBS VDAC output port */
         port@0 {
Signature · 1 line
2.34.1
reviewer Reviewed-by on v2 1/1
#1 lore raw

Re: [PATCH v2 1/1] dt-bindings: display: meson-vpu: Add missing amlogic,canvas property

Quoted 7 lines · Alexander Stein

This property was already mentioned in the old textual bindings amlogic,meson-vpu.txt, but got dropped during conversion. Adding it back similar to amlogic,gx-vdec.yaml.

Fixes 6b9ebf1e0e67 ("dt-bindings: display: amlogic, meson-vpu: convert to yaml")

Thank you very much for this contribution!

Reviewed-by
#2 lore raw

Re: [PATCH v2 1/1] dt-bindings: display: meson-vpu: Add missing amlogic,canvas property

Hi,

+ [email protected]

Thanks for fixing this.

Le 19/12/2021 à 16:30, Martin Blumenstingl a écrit :

Quoted 7 lines
Quoted 5 lines · Alexander Stein

This property was already mentioned in the old textual bindings amlogic,meson-vpu.txt, but got dropped during conversion. Adding it back similar to amlogic,gx-vdec.yaml.

Quoted 6 lines
Quoted 2 lines
Fixes 6b9ebf1e0e67 ("dt-bindings: display: amlogic, meson-vpu: convert to yaml")

Thank you very much for this contribution!

I'll apply it to drm-misc-next next year or if another drm-misc maintainer can in the meantime, I'm ok with it.

Neil

maintainer Acked-by on v2 1/1
#3 lore raw

Re: [PATCH v2 1/1] dt-bindings: display: meson-vpu: Add missing amlogic,canvas property

In reply to Alexander Stein
Quoted 6 lines · Alexander Stein

This property was already mentioned in the old textual bindings amlogic,meson-vpu.txt, but got dropped during conversion. Adding it back similar to amlogic,gx-vdec.yaml.

Fixes 6b9ebf1e0e67 ("dt-bindings: display: amlogic, meson-vpu: convert to yaml")
Quoted 9 lines

---
Changes in v2:
* Do not linebreak Fixes tag
* Make amlogic,canvas mandatory as it was in textual binding already
* Add amlogic,canvas to example

 .../devicetree/bindings/display/amlogic,meson-vpu.yaml      | 6 ++++++
 1 file changed, 6 insertions(+)
#4 lore raw

Re: [PATCH v2 1/1] dt-bindings: display: meson-vpu: Add missing amlogic,canvas property

In reply to Alexander Stein
Quoted 40 lines · Alexander Stein

This property was already mentioned in the old textual bindings amlogic,meson-vpu.txt, but got dropped during conversion. Adding it back similar to amlogic,gx-vdec.yaml.

Fixes 6b9ebf1e0e67 ("dt-bindings: display: amlogic, meson-vpu: convert to yaml")

---
Changes in v2:
* Do not linebreak Fixes tag
* Make amlogic,canvas mandatory as it was in textual binding already
* Add amlogic,canvas to example

 .../devicetree/bindings/display/amlogic,meson-vpu.yaml      | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml +5 -0
index 851cb0781217..047fd69e0377 100644
@@ -78,6 +78,10 @@ properties:
   interrupts:
     maxItems: 1
 
+  amlogic,canvas:
+    description: should point to a canvas provider node
+    $ref: /schemas/types.yaml#/definitions/phandle
+
   power-domains:
     maxItems: 1
     description: phandle to the associated power domain
@@ -106,6 +110,7 @@ required:
   - port@1
   - "#address-cells"
   - "#size-cells"
+  - amlogic,canvas
 
 additionalProperties: false
 

Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml examples: · line 129

Quoted 7 lines
Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml +1 -0
@@ -118,6 +123,7 @@ examples:
         interrupts = <3>;
         #address-cells = <1>;
         #size-cells = <0>;
+        amlogic,canvas = <&canvas>;
 
         /* CVBS VDAC output port */
         port@0 {

Applying to drm-misc-fixes,

Thanks,
Neil