[PATCH v3 3/4] mtd: phram: Allow probing via reserved-memory

Rob Herring robh at kernel.org
Thu Apr 14 09:02:00 PDT 2022


On Tue, Apr 12, 2022 at 03:53:01PM +0200, Vincent Whitchurch wrote:
> Allow phram to be probed from the devicetree.  It expects to be in a
> reserved-memory node as documented by the bindings.  This allows things
> like partitioning to be specified via the devicetree.
> 
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch at axis.com>
> ---
> 
> Notes:
>     v3:
>     - Add missing semicolon after MODULE_DEVICE_TABLE causing build errors on some
>       configs.
> 
>  drivers/mtd/devices/phram.c | 67 ++++++++++++++++++++++++++++++++++---
>  drivers/of/platform.c       |  1 +

For DT,

Acked-by: Rob Herring <robh at kernel.org>



More information about the linux-mtd mailing list