[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231220082736.246e947c@xps-13>
Date: Wed, 20 Dec 2023 08:27:36 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Rafał Miłecki <zajec5@...il.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>, Rob Herring
<robh+dt@...nel.org>, Krzysztof Kozlowski
<krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Michael Walle
<michael@...le.cc>, linux-mtd@...ts.infradead.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, u-boot@...ts.denx.de, Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH V2 5/5] nvmem: layouts: add U-Boot env layout
Hi Rafał,
zajec5@...il.com wrote on Tue, 19 Dec 2023 18:40:25 +0100:
> From: Rafał Miłecki <rafal@...ecki.pl>
>
> This patch moves all generic (NVMEM devices independent) code from NVMEM
Nit: In general we avoid starting with "This patch does..." and instead
use the imperative form, like: "Move all generic code..."
> device driver to NVMEM layout driver. Then it adds a simple NVMEM layout
Then add...
> code on top of it.
>
> Thanks to proper layout it's possible to support U-Boot env data stored
> on any kind of NVMEM device.
>
> For backward compatibility with old DT bindings we need to keep old
> NVMEM device driver functional. To avoid code duplication a parsing
> function is exported and reused in it.
>
> Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
> ---
> V2: Support new compatibles & use device_get_match_data() helper
>
> IMPORTANT:
> This is based on top of the:
> [PATCH v6.8 1/2] nvmem: layouts: refactor .add_cells() callback arguments
Thanks for the move. Looks good to me:
Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Thanks,
Miquèl
Powered by blists - more mailing lists