Re: [PATCH 02/13] mtd: allow getting MTD device associated with a specific DT node

From: Miquel Raynal
Date: Mon Sep 19 2022 - 11:49:57 EST



miquel.raynal@xxxxxxxxxxx wrote on Mon, 19 Sep 2022 17:42:30 +0200:

> Hi Srinivas,
>
> srinivas.kandagatla@xxxxxxxxxx wrote on Fri, 16 Sep 2022 13:20:49 +0100:
>
> > From: Rafał Miłecki <rafal@xxxxxxxxxx>
> >
> > MTD subsystem API allows interacting with MTD devices (e.g. reading,
> > writing, handling bad blocks). So far a random driver could get MTD
> > device only by its name (get_mtd_device_nm()). This change allows
> > getting them also by a DT node.
> >
> > This API is required for drivers handling DT defined MTD partitions in a
> > specific way (e.g. U-Boot (sub)partition with environment variables).
> >
> > Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>
> > Acked-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
>
> Can you please keep me in Cc for the whole series, otherwise I only
> receive a single patch among 13 and it does not make any sense.

I see just now the "applied, thanks", I eventually remembered what all
this was about, so it's fine.

Thanks,
Miquèl