diff mbox series

[1/2] dt-bindings: display: ltk500hd1829: Remove the reg property

Message ID 20200328183641.11226-1-festevam@gmail.com
State Not Applicable, archived
Headers show
Series [1/2] dt-bindings: display: ltk500hd1829: Remove the reg property | expand

Checks

Context Check Description
robh/checkpatch warning "total: 0 errors, 3 warnings, 7 lines checked"

Commit Message

Fabio Estevam March 28, 2020, 6:36 p.m. UTC
Commit 52120e8c7ae3 ("dt-bindings: display: fix panel warnings") removed
the dsi unit name, but missed to remove the 'reg' property, which causes
the following 'make dt_binding_check' warning:

Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.example.dts:17.5-29.11: Warning (unit_address_vs_reg): /example-0/dsi: node has a reg or ranges property, but no unit name

Fix it by removing the unneeded 'reg' property.

Fixes: 52120e8c7ae3 ("dt-bindings: display: fix panel warnings")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 .../devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml  | 1 -
 1 file changed, 1 deletion(-)

Comments

Sam Ravnborg March 28, 2020, 8:30 p.m. UTC | #1
On Sat, Mar 28, 2020 at 03:36:40PM -0300, Fabio Estevam wrote:
> Commit 52120e8c7ae3 ("dt-bindings: display: fix panel warnings") removed
> the dsi unit name, but missed to remove the 'reg' property, which causes
> the following 'make dt_binding_check' warning:
> 
> Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.example.dts:17.5-29.11: Warning (unit_address_vs_reg): /example-0/dsi: node has a reg or ranges property, but no unit name
> 
> Fix it by removing the unneeded 'reg' property.
> 
> Fixes: 52120e8c7ae3 ("dt-bindings: display: fix panel warnings")
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Thanks, applied to drm-misc-next.

	Sam

> ---
>  .../devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml  | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
> index fd931b293816..b900973b5f7b 100644
> --- a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
> @@ -37,7 +37,6 @@ examples:
>      dsi {
>          #address-cells = <1>;
>          #size-cells = <0>;
> -        reg = <0xff450000 0x1000>;
>  
>          panel@0 {
>              compatible = "leadtek,ltk500hd1829";
> -- 
> 2.17.1
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Rob Herring April 9, 2020, 4:04 p.m. UTC | #2
On Sat, Mar 28, 2020 at 2:30 PM Sam Ravnborg <sam@ravnborg.org> wrote:
>
> On Sat, Mar 28, 2020 at 03:36:40PM -0300, Fabio Estevam wrote:
> > Commit 52120e8c7ae3 ("dt-bindings: display: fix panel warnings") removed
> > the dsi unit name, but missed to remove the 'reg' property, which causes
> > the following 'make dt_binding_check' warning:
> >
> > Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.example.dts:17.5-29.11: Warning (unit_address_vs_reg): /example-0/dsi: node has a reg or ranges property, but no unit name
> >
> > Fix it by removing the unneeded 'reg' property.
> >
> > Fixes: 52120e8c7ae3 ("dt-bindings: display: fix panel warnings")
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
>
> Thanks, applied to drm-misc-next.

This should go in fixes for 5.7 as well as the one for xinpeng,xpp055c272.

Rob
Sam Ravnborg April 9, 2020, 5:10 p.m. UTC | #3
Hi Rob.

On Thu, Apr 09, 2020 at 10:04:13AM -0600, Rob Herring wrote:
> On Sat, Mar 28, 2020 at 2:30 PM Sam Ravnborg <sam@ravnborg.org> wrote:
> >
> > On Sat, Mar 28, 2020 at 03:36:40PM -0300, Fabio Estevam wrote:
> > > Commit 52120e8c7ae3 ("dt-bindings: display: fix panel warnings") removed
> > > the dsi unit name, but missed to remove the 'reg' property, which causes
> > > the following 'make dt_binding_check' warning:
> > >
> > > Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.example.dts:17.5-29.11: Warning (unit_address_vs_reg): /example-0/dsi: node has a reg or ranges property, but no unit name
> > >
> > > Fix it by removing the unneeded 'reg' property.
> > >
> > > Fixes: 52120e8c7ae3 ("dt-bindings: display: fix panel warnings")
> > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> >
> > Thanks, applied to drm-misc-next.
> 
> This should go in fixes for 5.7 as well as the one for xinpeng,xpp055c272.
Will take care later this week or start next week.
Ping me if you continue to see panel releated warnings in late -rc1.

	Sam
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
index fd931b293816..b900973b5f7b 100644
--- a/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
+++ b/Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml
@@ -37,7 +37,6 @@  examples:
     dsi {
         #address-cells = <1>;
         #size-cells = <0>;
-        reg = <0xff450000 0x1000>;
 
         panel@0 {
             compatible = "leadtek,ltk500hd1829";