[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240708083208.322f4418@xps-13>
Date: Mon, 8 Jul 2024 08:32:08 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Rafał Miłecki <zajec5@...il.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michael Walle <michael@...le.cc>, devicetree@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
u-boot@...ts.denx.de, linux-kernel@...r.kernel.org, Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH] dt-bindings: nvmem: convert U-Boot env to a layout
Hi Rafał,
zajec5@...il.com wrote on Sat, 6 Jul 2024 00:58:21 +0200:
> From: Rafał Miłecki <rafal@...ecki.pl>
>
> U-Boot environment variables can be stored in various data sources. MTD
> is just one of available options. Refactor DT binding into a layout so
> it can be used with UBI volumes and other NVMEM devices.
>
> Link: https://lore.kernel.org/all/20231221173421.13737-1-zajec5@gmail.com/
> Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
> ---
> I'm sending this PATCH without Linux changes to see if this is the
> right approach - for developers and (DT) maintainers to review it first.
>
> My previous attempt (see above Link) turned out in refusal so I'm just
> trying to save some time in case this one goes wrong as well.
>
> Hopefully the included example (which I really think we should add)
> explains well how I think this binding should be used with layouts.
>
> If I get some positive feedback I'll work on V2 with actual Linux
> changes.
>
I am still in favor of this change. I know from a binding perspective
it might be questionable; but from an OS perspective it makes total
sense to deprecated the old U-Boot env "device" driver in favor of this.
Thanks,
Miquèl
Powered by blists - more mailing lists