Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-21 Thread Simon Glass
Hi Rob, On Thu, 21 Sept 2023 at 07:59, Rob Herring wrote: > > On Tue, Sep 19, 2023 at 3:26 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Mon, 18 Sept 2023 at 11:00, Rob Herring wrote: > > > > > > On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > > > > > > > Hi Rob, > > > > > > > > On W

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-21 Thread Rob Herring
On Tue, Sep 19, 2023 at 3:26 PM Simon Glass wrote: > > Hi Rob, > > On Mon, 18 Sept 2023 at 11:00, Rob Herring wrote: > > > > On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > > > > > > > On Fri, Sep 8, 2023 a

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-19 Thread Tom Rini
On Tue, Sep 19, 2023 at 02:25:49PM -0600, Simon Glass wrote: > Hi Rob, > > On Mon, 18 Sept 2023 at 11:00, Rob Herring wrote: > > > > On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > > > > > > > On Fri, Sep 8

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-19 Thread Simon Glass
Hi Rob, On Mon, 18 Sept 2023 at 11:00, Rob Herring wrote: > > On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > > > Hi Rob, > > > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > > > > > On Fri, Sep 8, 2023 at 1:06 PM Mark Kettenis > > > wrote: > > > > > > > > > From: Jassi Brar

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-18 Thread Rob Herring
On Thu, Sep 14, 2023 at 5:42 PM Simon Glass wrote: > > Hi Rob, > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > > > On Fri, Sep 8, 2023 at 1:06 PM Mark Kettenis > > wrote: > > > > > > > From: Jassi Brar > > > > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > > > > > > > Hi Simon, > > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-15 Thread Ilias Apalodimas
+CC Jose who's maintaining the metadata spec from Arm side. On Fri, 15 Sept 2023 at 02:38, Tom Rini wrote: > > On Thu, Sep 14, 2023 at 04:41:43PM -0600, Simon Glass wrote: > > Hi Rob, > > > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > [snip] > > > I don't think we should decide what to

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-14 Thread Tom Rini
On Thu, Sep 14, 2023 at 04:41:43PM -0600, Simon Glass wrote: > Hi Rob, > > On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: [snip] > > I don't think we should decide what to do here based on said > > certification program. It can adapt to what's decided. Probably, the > > /option nodes will be s

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-14 Thread Simon Glass
Hi Rob, On Wed, 13 Sept 2023 at 16:39, Rob Herring wrote: > > On Fri, Sep 8, 2023 at 1:06 PM Mark Kettenis wrote: > > > > > From: Jassi Brar > > > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > > > > > Hi Simon, > > > > > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > > > On Wed, 6 Sept 202

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-13 Thread Rob Herring
On Fri, Sep 8, 2023 at 1:06 PM Mark Kettenis wrote: > > > From: Jassi Brar > > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > > > Hi Simon, > > > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > > > I beg to differ. Devicetree is

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-11 Thread Ilias Apalodimas
Hi Tom, [...] > > > > > > > > > I don't think they should be in DT at all, they don't describe > > > > > > > > > anything to do with hardware, or generally even the runtime > > > > > > > > > of a > > > > > > > > > device, they don't even describe the boot/runtime state of the > > > > > > > > > f

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-11 Thread Tom Rini
On Fri, Sep 08, 2023 at 06:28:14PM +0300, Ilias Apalodimas wrote: > Hi Tom, > > On Fri, 8 Sept 2023 at 17:54, Tom Rini wrote: > > > > On Fri, Sep 08, 2023 at 01:13:42PM +0300, Ilias Apalodimas wrote: > > > Hi Simon, > > > > > > On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > > > > > > > Hi

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Mark Kettenis
> From: Jassi Brar > Date: Fri, 8 Sep 2023 09:37:12 -0500 > > Hi Simon, > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > > been. See, for example

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Ilias Apalodimas
Hi Tom, On Fri, 8 Sept 2023 at 17:54, Tom Rini wrote: > > On Fri, Sep 08, 2023 at 01:13:42PM +0300, Ilias Apalodimas wrote: > > Hi Simon, > > > > On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > > > > > Hi Ilias, > > > > > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > wrote: > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 01:13:42PM +0300, Ilias Apalodimas wrote: > Hi Simon, > > On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > wrote: > > > > > > Hi Rob, > > > > > > [...] > > > > > > > > > > > > > > > > > > > > > W

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Tom Rini
On Fri, Sep 08, 2023 at 09:37:12AM -0500, Jassi Brar wrote: > Hi Simon, > > On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > > been. See, for example t

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Jassi Brar
Hi Simon, On Thu, Sep 7, 2023 at 3:08 PM Simon Glass wrote: > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > > > > > > I beg to differ. Devicetree is more than just hardware and always has > > > > been. See, for example the /chosen and /options nodes. > > > > > > There are exceptions... > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-08 Thread Ilias Apalodimas
Hi Simon, On Thu, 7 Sept 2023 at 15:23, Simon Glass wrote: > > Hi Ilias, > > On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas > wrote: > > > > Hi Rob, > > > > [...] > > > > > > > > > > > > > > > > > > What is the point of removing them? Instead, we should make > > > > > > > > sure that > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-07 Thread Simon Glass
Hi Ilias, On Wed, 6 Sept 2023 at 23:20, Ilias Apalodimas wrote: > > Hi Rob, > > [...] > > > > > > > > > > > > > > > What is the point of removing them? Instead, we should make sure > > > > > > > that > > > > > > > we upstream the bindings and encourage SoC vendors to sync them. > > > > > > > If

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Ilias Apalodimas
Hi Rob, [...] > > > > > > > > > > > > What is the point of removing them? Instead, we should make sure > > > > > > that > > > > > > we upstream the bindings and encourage SoC vendors to sync them. If > > > > > > we > > > > > > remove them, no one will bother and U-Boot just becomes a dumping >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Thu, Sep 07, 2023 at 01:30:01AM +0200, Heinrich Schuchardt wrote: [snip] > The missing piece is validation of the U-Boot internal device-trees > against a schema in the U-Boot CI. This should be possible even if some > of the schema yaml files are maintained inside the U-Boot repo. Dropping Ro

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Heinrich Schuchardt
On 9/7/23 00:04, Tom Rini wrote: On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: Hi Peter, On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: Hi Peter, On Mon, 2

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: > On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > > > Hi Peter, > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Tom Rini
On Wed, Sep 06, 2023 at 09:21:39AM -0500, Rob Herring wrote: [snip] > On A/B updates, that really doesn't seem like a u-boot specific problem > to me. No one wants A/B updates in EDK2 or anything else? This specific case goes back to: https://lore.kernel.org/u-boot/20230410232112.72778-1-jaswind

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Simon Glass
Hi Rob, On Wed, 6 Sept 2023 at 08:21, Rob Herring wrote: > > On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > > > Hi Peter, > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-09-06 Thread Rob Herring
On Mon, Aug 28, 2023 at 04:09:29PM -0600, Simon Glass wrote: > Hi Peter, > > On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > > > Hi Peter, > > > > > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > > > > > On Mo

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-30 Thread Simon Glass
Hi Peter, On Wed, 30 Aug 2023 at 02:19, Peter Robinson wrote: > > > > > > > I have started the process to upstream the binman bindings. > > > > > > > > > > I don't think they should be in DT at all, they don't describe > > > > > anything to do with hardware, or generally even the runtime of a > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-30 Thread Peter Robinson
> > > > > I have started the process to upstream the binman bindings. > > > > > > > > I don't think they should be in DT at all, they don't describe > > > > anything to do with hardware, or generally even the runtime of a > > > > device, they don't even describe the boot/runtime state of the > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-29 Thread Simon Glass
Hi Peter, On Tue, 29 Aug 2023 at 04:33, Peter Robinson wrote: > > > > > > > > Provide a way for removing certain devicetree nodes and/or > > > > > > > properties > > > > > > > from the devicetree. This is needed to purge certain nodes and > > > > > > > properties which may be relevant only in U-

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-29 Thread Peter Robinson
> > > > > > Provide a way for removing certain devicetree nodes and/or > > > > > > properties > > > > > > from the devicetree. This is needed to purge certain nodes and > > > > > > properties which may be relevant only in U-Boot. Such nodes and > > > > > > properties are then removed from the devi

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Simon Glass
Hi Peter, On Mon, 28 Aug 2023 at 14:29, Peter Robinson wrote: > > On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > > > Hi Peter, > > > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > > > > > Hi, > > > > > > > >

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 6:54 PM Simon Glass wrote: > > Hi Peter, > > On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > > > Hi, > > > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu > > > wrote: > > > > > > > > > > > > Provid

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 10:19:55AM -0600, Simon Glass wrote: > Hi, > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > from the devicetree. This is needed to purge certain nodes and > > properties which may be

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Simon Glass
Hi Peter, On Mon, 28 Aug 2023 at 10:37, Peter Robinson wrote: > > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > Hi, > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > > from the devic

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Tom Rini
On Mon, Aug 28, 2023 at 05:37:45PM +0100, Peter Robinson wrote: > On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > > > Hi, > > > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > > from the devicet

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Peter Robinson
On Mon, Aug 28, 2023 at 5:20 PM Simon Glass wrote: > > Hi, > > On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > > > > Provide a way for removing certain devicetree nodes and/or properties > > from the devicetree. This is needed to purge certain nodes and > > properties which may be relevan

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Simon Glass
Hi, On Sat, 26 Aug 2023 at 03:07, Sughosh Ganu wrote: > > > Provide a way for removing certain devicetree nodes and/or properties > from the devicetree. This is needed to purge certain nodes and > properties which may be relevant only in U-Boot. Such nodes and > properties are then removed from t

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-28 Thread Sughosh Ganu
On Sat, 26 Aug 2023 at 15:36, Heinrich Schuchardt wrote: > > On 8/26/23 11:06, Sughosh Ganu wrote: > > > > Provide a way for removing certain devicetree nodes and/or properties > > from the devicetree. This is needed to purge certain nodes and > > properties which may be relevant only in U-Boot. S

Re: [RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-26 Thread Heinrich Schuchardt
On 8/26/23 11:06, Sughosh Ganu wrote: Provide a way for removing certain devicetree nodes and/or properties from the devicetree. This is needed to purge certain nodes and properties which may be relevant only in U-Boot. Such nodes and properties are then removed from the devicetree before it is

[RFC PATCH 0/5] Allow for removal of DT nodes and properties

2023-08-26 Thread Sughosh Ganu
Provide a way for removing certain devicetree nodes and/or properties from the devicetree. This is needed to purge certain nodes and properties which may be relevant only in U-Boot. Such nodes and properties are then removed from the devicetree before it is passed to the kernel. This ensures that