From patchwork Thu Oct 15 13:19:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 55014 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id DEA832301F for ; Thu, 15 Oct 2015 13:20:14 +0000 (UTC) Received: by wicid10 with SMTP id id10sf9807578wic.2 for ; Thu, 15 Oct 2015 06:20:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=R80kSoWnZAPkaWmUyzaIMjQPkovRQqO+L4kKPTJjTeY=; b=IMhCbT1WUWga4/Mk8mIL36nrRwz9wSKL+iy36TAfGWsJIk5Zr2W5OPS6AEnV4ieK16 HCysWMee0cnPAnYP0YYQTpbgAFQ30HNlhEoLUBa+qzHKiSs9/TLNQhrRi11ne+pV1dyD YNkNRP5AweIqiQdxOkvgB+RY8HJx3/GJHfkug3B7+w5CeBXFSKynmANpxyHV2th57fH9 ZZJf1LdTkBjZBAN0ByOEMlTctxU4JIAhnpI3EeGqbD/CiwOhs+O2mAPultiMVMG6nmTI xcjqL7HGizFgl550zOHsw/mfbFUh08WmoHwsCjhlwjcHrFLEFMDQrU2rbCl05ylRjEiv 5mCg== X-Gm-Message-State: ALoCoQmXefSY3WE8uOH2fvQ90FtG9IqSkWyMoGbrPi6HuNSrX0EBWCNDkaP7VuFgSrUq5DfuYYIG X-Received: by 10.180.208.7 with SMTP id ma7mr2257923wic.5.1444915214211; Thu, 15 Oct 2015 06:20:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.21.42 with SMTP id l42ls139774lfi.96.gmail; Thu, 15 Oct 2015 06:20:14 -0700 (PDT) X-Received: by 10.112.151.106 with SMTP id up10mr4572796lbb.106.1444915214058; Thu, 15 Oct 2015 06:20:14 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id jh5si9108904lbc.136.2015.10.15.06.20.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 06:20:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbcao8 with SMTP id ao8so68763907lbc.3 for ; Thu, 15 Oct 2015 06:20:13 -0700 (PDT) X-Received: by 10.112.199.137 with SMTP id jk9mr4564838lbc.86.1444915213867; Thu, 15 Oct 2015 06:20:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp630345lbq; Thu, 15 Oct 2015 06:20:12 -0700 (PDT) X-Received: by 10.68.230.6 with SMTP id su6mr10195355pbc.80.1444915212283; Thu, 15 Oct 2015 06:20:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fd7si21590850pab.199.2015.10.15.06.20.12; Thu, 15 Oct 2015 06:20:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753193AbbJONUH (ORCPT + 7 others); Thu, 15 Oct 2015 09:20:07 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:36497 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbbJONUE (ORCPT ); Thu, 15 Oct 2015 09:20:04 -0400 Received: by lfeh64 with SMTP id h64so27318504lfe.3 for ; Thu, 15 Oct 2015 06:20:02 -0700 (PDT) X-Received: by 10.25.209.80 with SMTP id i77mr2946018lfg.92.1444915202866; Thu, 15 Oct 2015 06:20:02 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id am7sm2042129lbc.25.2015.10.15.06.20.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 06:20:02 -0700 (PDT) From: Linus Walleij To: David Woodhouse , Brian Norris , linux-mtd@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , devicetree@vger.kernel.org, Jason Gunthorpe , Liviu Dudau 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> X-Mailer: git-send-email 2.4.3 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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@vger.kernel.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.