Message ID | 20200308115017.18563-2-sam@ravnborg.org |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | : dt-bindings: display: fix panel warnings | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 68 lines checked" |
On Sun, Mar 8, 2020 at 12:50 PM Sam Ravnborg <sam@ravnborg.org> wrote: > 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 > > Signed-off-by: Sam Ravnborg <sam@ravnborg.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> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
On 3/8/20 12:50 PM, Sam Ravnborg wrote: > 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 > > Signed-off-by: Sam Ravnborg <sam@ravnborg.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> I will add W=1 in my command line when check the yaml files to not reproduce this later. Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com> Thanks, Benjamin > --- > .../devicetree/bindings/display/panel/elida,kd35t133.yaml | 2 +- > .../bindings/display/panel/leadtek,ltk500hd1829.yaml | 2 +- > .../devicetree/bindings/display/panel/novatek,nt35510.yaml | 4 ++-- > .../devicetree/bindings/display/panel/orisetech,otm8009a.yaml | 2 +- > .../devicetree/bindings/display/panel/panel-dpi.yaml | 2 +- > .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 +- > .../devicetree/bindings/display/panel/raydium,rm68200.yaml | 2 +- > .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 2 +- > 8 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > index 4bd74eaa61be..aa761f697b7a 100644 > --- a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > +++ b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > @@ -34,7 +34,7 @@ additionalProperties: false > > examples: > - | > - dsi@ff450000 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > index 4ebcea7d0c63..2c9b8aa34815 100644 > --- a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > +++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > @@ -34,7 +34,7 @@ additionalProperties: false > > examples: > - | > - dsi@ff450000 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > index 791fc9daa68b..73d2ff3baaff 100644 > --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > @@ -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>; > diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > index 6e6ac995c27b..4b6dda6dbc0f 100644 > --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > @@ -39,7 +39,7 @@ required: > > examples: > - | > - dsi@0 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > index 5275d350f8cb..f63870384c00 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > @@ -48,7 +48,7 @@ additionalProperties: false > > examples: > - | > - panel@0 { > + panel { > compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; > label = "osddisplay"; > power-supply = <&vcc_supply>; > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > index 8b60368a2425..cefe19b6bf44 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > @@ -50,7 +50,7 @@ required: > > examples: > - | > - mdss_dsi@fd922800 { > + mdss_dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml > index 09149f140d5f..a35ba16fc000 100644 > --- a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml > +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml > @@ -42,7 +42,7 @@ required: > > examples: > - | > - dsi@0 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml b/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml > index 186e5e1c8fa3..39ec7ae525ad 100644 > --- a/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml > +++ b/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml > @@ -34,7 +34,7 @@ additionalProperties: false > > examples: > - | > - dsi@ff450000 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 {
On Thu, Mar 12, 2020 at 5:21 AM Benjamin GAIGNARD <benjamin.gaignard@st.com> wrote: > > > > On 3/8/20 12:50 PM, Sam Ravnborg wrote: > > 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 > > > > Signed-off-by: Sam Ravnborg <sam@ravnborg.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> > > I will add W=1 in my command line when check the yaml files to not > reproduce this later. No need to starting in 5.7. Rob
On Sun, Mar 8, 2020 at 6:50 AM Sam Ravnborg <sam@ravnborg.org> wrote: > > 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 > > Signed-off-by: Sam Ravnborg <sam@ravnborg.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> > --- > .../devicetree/bindings/display/panel/elida,kd35t133.yaml | 2 +- > .../bindings/display/panel/leadtek,ltk500hd1829.yaml | 2 +- > .../devicetree/bindings/display/panel/novatek,nt35510.yaml | 4 ++-- > .../devicetree/bindings/display/panel/orisetech,otm8009a.yaml | 2 +- > .../devicetree/bindings/display/panel/panel-dpi.yaml | 2 +- > .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 +- > .../devicetree/bindings/display/panel/raydium,rm68200.yaml | 2 +- > .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 2 +- > 8 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > index 4bd74eaa61be..aa761f697b7a 100644 > --- a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > +++ b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml > @@ -34,7 +34,7 @@ additionalProperties: false > > examples: > - | > - dsi@ff450000 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > index 4ebcea7d0c63..2c9b8aa34815 100644 > --- a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > +++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml > @@ -34,7 +34,7 @@ additionalProperties: false > > examples: > - | > - dsi@ff450000 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > index 791fc9daa68b..73d2ff3baaff 100644 > --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml > @@ -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>; > diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > index 6e6ac995c27b..4b6dda6dbc0f 100644 > --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml > @@ -39,7 +39,7 @@ required: > > examples: > - | > - dsi@0 { > + dsi { > #address-cells = <1>; > #size-cells = <0>; > panel@0 { > diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > index 5275d350f8cb..f63870384c00 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml > @@ -48,7 +48,7 @@ additionalProperties: false > > examples: > - | > - panel@0 { > + panel { > compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; > label = "osddisplay"; > power-supply = <&vcc_supply>; > diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > index 8b60368a2425..cefe19b6bf44 100644 > --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml > @@ -50,7 +50,7 @@ required: > > examples: > - | > - mdss_dsi@fd922800 { > + mdss_dsi { dsi { With that, Reviewed-by: Rob Herring <robh@kernel.org>
On Sun, Mar 08, 2020 at 12:50:17PM +0100, Sam Ravnborg wrote: > 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 > > Signed-off-by: Sam Ravnborg <sam@ravnborg.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> Applied and pushed to drm-misc-next with Rob's fix. Thanks for the reviews! Sam
diff --git a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml index 4bd74eaa61be..aa761f697b7a 100644 --- a/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml +++ b/Documentation/devicetree/bindings/display/panel/elida,kd35t133.yaml @@ -34,7 +34,7 @@ additionalProperties: false examples: - | - dsi@ff450000 { + dsi { #address-cells = <1>; #size-cells = <0>; panel@0 { diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml index 4ebcea7d0c63..2c9b8aa34815 100644 --- a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml +++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml @@ -34,7 +34,7 @@ additionalProperties: false examples: - | - dsi@ff450000 { + dsi { #address-cells = <1>; #size-cells = <0>; panel@0 { diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml index 791fc9daa68b..73d2ff3baaff 100644 --- a/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt35510.yaml @@ -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>; diff --git a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml index 6e6ac995c27b..4b6dda6dbc0f 100644 --- a/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml +++ b/Documentation/devicetree/bindings/display/panel/orisetech,otm8009a.yaml @@ -39,7 +39,7 @@ required: examples: - | - dsi@0 { + dsi { #address-cells = <1>; #size-cells = <0>; panel@0 { diff --git a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml index 5275d350f8cb..f63870384c00 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-dpi.yaml @@ -48,7 +48,7 @@ additionalProperties: false examples: - | - panel@0 { + panel { compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; label = "osddisplay"; power-supply = <&vcc_supply>; diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml index 8b60368a2425..cefe19b6bf44 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml @@ -50,7 +50,7 @@ required: examples: - | - mdss_dsi@fd922800 { + mdss_dsi { #address-cells = <1>; #size-cells = <0>; panel@0 { diff --git a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml index 09149f140d5f..a35ba16fc000 100644 --- a/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml +++ b/Documentation/devicetree/bindings/display/panel/raydium,rm68200.yaml @@ -42,7 +42,7 @@ required: examples: - | - dsi@0 { + dsi { #address-cells = <1>; #size-cells = <0>; panel@0 { diff --git a/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml b/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml index 186e5e1c8fa3..39ec7ae525ad 100644 --- a/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml +++ b/Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml @@ -34,7 +34,7 @@ additionalProperties: false examples: - | - dsi@ff450000 { + dsi { #address-cells = <1>; #size-cells = <0>; panel@0 {
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 Signed-off-by: Sam Ravnborg <sam@ravnborg.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> --- .../devicetree/bindings/display/panel/elida,kd35t133.yaml | 2 +- .../bindings/display/panel/leadtek,ltk500hd1829.yaml | 2 +- .../devicetree/bindings/display/panel/novatek,nt35510.yaml | 4 ++-- .../devicetree/bindings/display/panel/orisetech,otm8009a.yaml | 2 +- .../devicetree/bindings/display/panel/panel-dpi.yaml | 2 +- .../devicetree/bindings/display/panel/panel-simple-dsi.yaml | 2 +- .../devicetree/bindings/display/panel/raydium,rm68200.yaml | 2 +- .../devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)