OSDN Git Service

dt-bindings: display/panel: Add missing unit names
authorGuido Günther <agx@sigxcpu.org>
Mon, 25 Mar 2019 16:08:10 +0000 (17:08 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 3 Apr 2019 16:44:40 +0000 (18:44 +0200)
Some examples were missing the unit names triggering

 Warning (unit_address_vs_reg): .../panel: node has a reg or ranges property, but no unit name

warnings when used verbatim in DTs and running dtc with W=1.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/901e836ea06889a9d91a799102b2a6b836d93dcd.1553529797.git.agx@sigxcpu.org
Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt
Documentation/devicetree/bindings/display/panel/innolux,p097pfg.txt
Documentation/devicetree/bindings/display/panel/kingdisplay,kd097d04.txt

index d0f5516..3ab8c74 100644 (file)
@@ -12,7 +12,7 @@ Optional properties:
 Example:
 
        &mipi_dsi {
-               panel {
+               panel@0 {
                        compatible = "innolux,p079zca";
                        reg = <0>;
                        power-supply = <...>;
index 595d9df..d1cab3a 100644 (file)
@@ -13,7 +13,7 @@ Optional properties:
 Example:
 
        &mipi_dsi {
-               panel {
+               panel@0 {
                        compatible = "innolux,p079zca";
                        reg = <0>;
                        avdd-supply = <...>;
index 164a5fa..cfefff6 100644 (file)
@@ -12,7 +12,7 @@ Optional properties:
 Example:
 
        &mipi_dsi {
-               panel {
+               panel@0 {
                        compatible = "kingdisplay,kd097d04";
                        reg = <0>;
                        power-supply = <...>;