devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] obsolete references to Documentation/devicetree/bindings/net/ethernet.txt
@ 2019-12-23  9:00 Madalin Bucur (OSS)
  2019-12-26 11:08 ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Madalin Bucur (OSS) @ 2019-12-23  9:00 UTC (permalink / raw)
  To: maxime.ripard, robh+dt, mark.rutland; +Cc: devicetree, netdev

Hi,

this patch removed the ethernet.txt content and added the information found in
it in the ethernet-controller.yaml (Documentation/devicetree/bindings/net):

  commit 9d3de3c58347623b5e71d554628a1571cd3142ad
  Author: Maxime Ripard <maxime.ripard@bootlin.com>
  Date:   Thu Jun 27 17:31:43 2019 +0200

      dt-bindings: net: Add YAML schemas for the generic Ethernet options

      The Ethernet controllers have a good number of generic options that can be
      needed in a device tree. Add a YAML schemas for those.

      Reviewed-by: Rob Herring <robh@kernel.org>
      Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
      Reviewed-by: Andrew Lunn <andrew@lunn.ch>
      Signed-off-by: Rob Herring <robh@kernel.org>

There are still many references to the previous ethernet.txt document:

  $ grep ethernet.txt Documentation/devicetree/bindings/net/ -r | wc -l
  96

Should those be updated too or it's enough to rely on the current content
of the previous ethernet.txt file:

  $ cat Documentation/devicetree/bindings/net/ethernet.txt
  This file has moved to ethernet-controller.yaml.

Thanks,
Madalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] obsolete references to Documentation/devicetree/bindings/net/ethernet.txt
  2019-12-23  9:00 [RFC] obsolete references to Documentation/devicetree/bindings/net/ethernet.txt Madalin Bucur (OSS)
@ 2019-12-26 11:08 ` Andrew Lunn
  2020-01-08 16:24   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2019-12-26 11:08 UTC (permalink / raw)
  To: Madalin Bucur (OSS)
  Cc: maxime.ripard, robh+dt, mark.rutland, devicetree, netdev

On Mon, Dec 23, 2019 at 09:00:50AM +0000, Madalin Bucur (OSS) wrote:
> Hi,
> 
> this patch removed the ethernet.txt content and added the information found in
> it in the ethernet-controller.yaml (Documentation/devicetree/bindings/net):
> 
>   commit 9d3de3c58347623b5e71d554628a1571cd3142ad
>   Author: Maxime Ripard <maxime.ripard@bootlin.com>
>   Date:   Thu Jun 27 17:31:43 2019 +0200
> 
>       dt-bindings: net: Add YAML schemas for the generic Ethernet options
> 
>       The Ethernet controllers have a good number of generic options that can be
>       needed in a device tree. Add a YAML schemas for those.
> 
>       Reviewed-by: Rob Herring <robh@kernel.org>
>       Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
>       Reviewed-by: Andrew Lunn <andrew@lunn.ch>
>       Signed-off-by: Rob Herring <robh@kernel.org>
> 
> There are still many references to the previous ethernet.txt document:
> 
>   $ grep ethernet.txt Documentation/devicetree/bindings/net/ -r | wc -l
>   96
> 
> Should those be updated too or it's enough to rely on the current content
> of the previous ethernet.txt file:
> 
>   $ cat Documentation/devicetree/bindings/net/ethernet.txt
>   This file has moved to ethernet-controller.yaml.

Hi Madalin

Feel free to fix the references if you want. Probably a perl one liner
should do most of the work.

       Thanks
	Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] obsolete references to Documentation/devicetree/bindings/net/ethernet.txt
  2019-12-26 11:08 ` Andrew Lunn
@ 2020-01-08 16:24   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-01-08 16:24 UTC (permalink / raw)
  To: Andrew Lunn, Madalin Bucur (OSS)
  Cc: maxime.ripard, mark.rutland, devicetree, netdev

On Thu, Dec 26, 2019 at 12:08:21PM +0100, Andrew Lunn wrote:
> On Mon, Dec 23, 2019 at 09:00:50AM +0000, Madalin Bucur (OSS) wrote:
> > Hi,
> > 
> > this patch removed the ethernet.txt content and added the information found in
> > it in the ethernet-controller.yaml (Documentation/devicetree/bindings/net):
> > 
> >   commit 9d3de3c58347623b5e71d554628a1571cd3142ad
> >   Author: Maxime Ripard <maxime.ripard@bootlin.com>
> >   Date:   Thu Jun 27 17:31:43 2019 +0200
> > 
> >       dt-bindings: net: Add YAML schemas for the generic Ethernet options
> > 
> >       The Ethernet controllers have a good number of generic options that can be
> >       needed in a device tree. Add a YAML schemas for those.
> > 
> >       Reviewed-by: Rob Herring <robh@kernel.org>
> >       Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
> >       Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> >       Signed-off-by: Rob Herring <robh@kernel.org>
> > 
> > There are still many references to the previous ethernet.txt document:
> > 
> >   $ grep ethernet.txt Documentation/devicetree/bindings/net/ -r | wc -l
> >   96
> > 
> > Should those be updated too or it's enough to rely on the current content
> > of the previous ethernet.txt file:
> > 
> >   $ cat Documentation/devicetree/bindings/net/ethernet.txt
> >   This file has moved to ethernet-controller.yaml.

If this wasn't enough, we wouldn't have put that there.

> 
> Hi Madalin
> 
> Feel free to fix the references if you want. Probably a perl one liner
> should do most of the work.

The above was done to avoid some churn. The real fix is convert bindings 
to DT schema. The references should get dropped as part of that.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-08 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-23  9:00 [RFC] obsolete references to Documentation/devicetree/bindings/net/ethernet.txt Madalin Bucur (OSS)
2019-12-26 11:08 ` Andrew Lunn
2020-01-08 16:24   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).