[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGngYiWESbg6uq4pdtb5--YSzatwAwXiGnRjiAfAQj8nRYPMqw@mail.gmail.com>
Date: Thu, 18 Jul 2019 15:52:52 -0400
From: Sven Van Asbroeck <thesven73@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Fabio Estevam <festevam@...il.com>,
Lucas Stach <l.stach@...gutronix.de>,
Fugang Duan <fugang.duan@....com>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] net: fec: generate warning when using deprecated phy reset
Hi Andrew,
On Thu, Jul 18, 2019 at 3:41 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> Hi Sven
>
> One option would be to submit a patch or a patchset changing all
> existing device tree files to make use of the core method. Anybody
> cut/pasting will then automatically use the correct core way of doing
> it.
>
> There is also a move towards using YAML to verify the correctness of
> DT files. It should be possible to mark the old property as
> deprecated, so there will be a build time warning, not a boot time
> warning.
>
Thanks for the helpful suggestions, that makes sense.
What I keep forgetting in my little arm-imx6 world, is that devicetrees
aren't in-kernel apis, but that they have out-of-kernel
dependencies. It makes more sense to to see them as userspace
apis, albeit directed at firmware/bootloaders, right?
So if bootloaders were as varied/uncontrollable as userspace,
then deprecated properties would have to be supported forever...
Powered by blists - more mailing lists