[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172064681629.3804403.16986704276630415661.robh@kernel.org>
Date: Wed, 10 Jul 2024 15:26:57 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Rafał Miłecki <zajec5@...il.com>
Cc: Michael Walle <michael@...le.cc>,
Rafał Miłecki <rafal@...ecki.pl>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mtd@...ts.infradead.org,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Conor Dooley <conor+dt@...nel.org>, u-boot@...ts.denx.de,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
devicetree@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: nvmem: convert U-Boot env to a layout
On Sat, 06 Jul 2024 00:58:21 +0200, Rafał Miłecki wrote:
> 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.
>
> .../bindings/nvmem/layouts/nvmem-layout.yaml | 1 +
> .../nvmem/{ => layouts}/u-boot,env.yaml | 39 ++++++++++++++++---
> 2 files changed, 35 insertions(+), 5 deletions(-)
> rename Documentation/devicetree/bindings/nvmem/{ => layouts}/u-boot,env.yaml (75%)
>
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists