From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: [PATCH] mtd: document linux-specific partition parser DT binding Date: Thu, 15 Oct 2015 15:19:51 +0200 Message-ID: <1444915191-28350-1-git-send-email-linus.walleij@linaro.org> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Woodhouse , Brian Norris , linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Linus Walleij , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jason Gunthorpe , Liviu Dudau List-Id: devicetree@vger.kernel.org The Linux code in drivers/mtd/maps/physmap_of.c will optionally look for this binding for hints on a partition type to look for in the MTD. It was added in commit 9d5da3a9b849 "mtd: extend physmap_of to let the device tree specify the parition probe" but no corresponding device tree binding was added. Fix this. Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Jason Gunthorpe Cc: Liviu Dudau Reported-by: Liviu Dudau Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/mtd/mtd-physmap.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt index 4a0a48bf4ecb..0dee084651da 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt @@ -26,6 +26,9 @@ file systems on embedded devices. - linux,mtd-name: allow to specify the mtd name for retro capability with physmap-flash drivers as boot loader pass the mtd partition via the old device name physmap-flash. + - linux,part-probe: a flash partition type to look for, using the + Linux-internal partition naming scheme, e.g. "afs" for the ARM + Flash footers. - use-advanced-sector-protection: boolean to enable support for the advanced sector protection (Spansion: PPB - Persistent Protection Bits) locking. -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html