Skip to contentSkip to conversation

dt-bindings: display: st,stm32-dsi: Fix panel node name in example

PATCH Applied Rob Herring 1 participant 2 messages Dec 21, 2021 – Jan 4, 2022

Subsystems (4)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: display: st,stm32-dsi: Fix panel node name in example

With 'unevaluatedProperties' support enabled, the st,stm32-dsi binding has a new warning:

Documentation/devicetree/bindings/display/st,stm32-dsi.example.dt.yaml: dsi@5a000000: Unevaluated properties are not allowed ('panel-dsi@0' was unexpected)

The documented child node name is 'panel', so update the example.

---
 Documentation/devicetree/bindings/display/st,stm32-dsi.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/display/st,stm32-dsi.yaml +1 -2
index ce1ef93cce93..54f67cb51040 100644
@@ -110,7 +110,7 @@ examples:
               };
         };
 
-        panel-dsi@0 {
+        panel@0 {
               compatible = "orisetech,otm8009a";
               reg = <0>;
               reset-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;
@@ -125,4 +125,3 @@ examples:
     };
 
 ...
-
Signature · 1 line
2.32.0
author maintainer Applied
#1 lore raw
Quoted 12 lines · Rob Herring

With 'unevaluatedProperties' support enabled, the st,stm32-dsi binding has a new warning:

Documentation/devicetree/bindings/display/st,stm32-dsi.example.dt.yaml: dsi@5a000000: Unevaluated properties are not allowed ('panel-dsi@0' was unexpected)

The documented child node name is 'panel', so update the example.

---
 Documentation/devicetree/bindings/display/st,stm32-dsi.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks!