]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: phram: Allow probing via reserved-memory
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 12 Apr 2022 13:53:01 +0000 (15:53 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 25 Apr 2022 08:37:49 +0000 (10:37 +0200)
commitcce7336f8f94d017c5e93465be10558a559c000c
tree2502d5909ef283e06301f6fd0407dfbe55a4c4c9
parent577754636a8c806e13ac2eef350c6bc73ba9c5c0
mtd: phram: Allow probing via reserved-memory

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@axis.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220412135302.1682890-4-vincent.whitchurch@axis.com
drivers/mtd/devices/phram.c
drivers/of/platform.c