]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: display: fix panel warnings
authorSam Ravnborg <sam@ravnborg.org>
Sun, 8 Mar 2020 11:50:17 +0000 (12:50 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 13 Mar 2020 23:08:29 +0000 (00:08 +0100)
Fix following type af warnings in the panel bindings:

Warning (unit_address_vs_reg): /example-0/dsi/panel: node has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): /example-0/dsi@ff450000: node has a unit name, but no reg property

Removing the "@xxx" from the node name fixed first warning.
Adding a missing reg property fixed the second warning

v2:
  - renamed mdss_dsi to dsi in panel-simple-dsi.yaml (Rob)

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200308115017.18563-2-sam@ravnborg.org
Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml
Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml
Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml
Documentation/devicetree/bindings/display/panel/panel-dpi.yaml
Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml
Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml

index 4bd74eaa61be352d3428e97d42100e5cd5802db1..aa761f697b7ae52305d58a2cef70668719dc0e24 100644 (file)
@@ -34,7 +34,7 @@ additionalProperties: false
 
 examples:
   - |
-    dsi@ff450000 {
+    dsi {
         #address-cells = <1>;
         #size-cells = <0>;
         panel@0 {
index 4ebcea7d0c6399335bee21b23217b30436709d8e..2c9b8aa34815a40543f0e117ebbf78988aae6c3f 100644 (file)
@@ -34,7 +34,7 @@ additionalProperties: false
 
 examples:
   - |
-    dsi@ff450000 {
+    dsi {
         #address-cells = <1>;
         #size-cells = <0>;
         panel@0 {
index 791fc9daa68b5d10d5044ff735a5edc4184fd863..73d2ff3baaff16d5df0d5a9b8a039b834ea4c758 100644 (file)
@@ -40,10 +40,10 @@ examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
 
-    dsi@a0351000 {
+    dsi {
         #address-cells = <1>;
         #size-cells = <0>;
-        panel {
+        panel@0 {
             compatible = "hydis,hva40wv1", "novatek,nt35510";
             reg = <0>;
             vdd-supply = <&ab8500_ldo_aux4_reg>;
index 6e6ac995c27b896ccb67ddbfe540de1788dad8dc..4b6dda6dbc0f9a3cccd65d8b00e6ce39d2cae0b2 100644 (file)
@@ -39,7 +39,7 @@ required:
 
 examples:
   - |
-    dsi@0 {
+    dsi {
       #address-cells = <1>;
       #size-cells = <0>;
       panel@0 {
index 5275d350f8cb380aa56e50abf0351f4d61e4342a..f63870384c00f113689a116f082b7795f2b2a885 100644 (file)
@@ -48,7 +48,7 @@ additionalProperties: false
 
 examples:
   - |
-    panel@0 {
+    panel {
         compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
         label = "osddisplay";
         power-supply = <&vcc_supply>;
index 8b60368a24254735d36f9550fc77ad016579c87f..b2e8742fd6af8cc9f099517f4b7abdd54da5c306 100644 (file)
@@ -50,7 +50,7 @@ required:
 
 examples:
   - |
-    mdss_dsi@fd922800 {
+    dsi {
       #address-cells = <1>;
       #size-cells = <0>;
       panel@0 {
index 09149f140d5fdbba5136f303ce91f72e590f0ae4..a35ba16fc000e49114debfa1924ec95bc17cdfa1 100644 (file)
@@ -42,7 +42,7 @@ required:
 
 examples:
   - |
-    dsi@0 {
+    dsi {
       #address-cells = <1>;
       #size-cells = <0>;
       panel@0 {
index 186e5e1c8fa3b7c836eb35adb4c797413adada48..39ec7ae525addf5ee8db395fc35393b825693fb9 100644 (file)
@@ -34,7 +34,7 @@ additionalProperties: false
 
 examples:
   - |
-    dsi@ff450000 {
+    dsi {
         #address-cells = <1>;
         #size-cells = <0>;
         panel@0 {