Commit 52120e8c authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

dt-bindings: display: fix panel warnings



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: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: default avatarRob 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
parent 1cfff5f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ additionalProperties: false

examples:
  - |
    dsi@ff450000 {
    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ additionalProperties: false

examples:
  - |
    dsi@ff450000 {
    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
+2 −2
Original line number Diff line number Diff line
@@ -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>;
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ required:

examples:
  - |
    dsi@0 {
    dsi {
      #address-cells = <1>;
      #size-cells = <0>;
      panel@0 {
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@ additionalProperties: false

examples:
  - |
    panel@0 {
    panel {
        compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
        label = "osddisplay";
        power-supply = <&vcc_supply>;
Loading