From patchwork Mon Apr 17 18:28:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 751421 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3w6Gxd4lYPz9ryk for ; Tue, 18 Apr 2017 04:29:09 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IXiEzp06"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756762AbdDQS3I (ORCPT ); Mon, 17 Apr 2017 14:29:08 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:36128 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754069AbdDQS3I (ORCPT ); Mon, 17 Apr 2017 14:29:08 -0400 Received: by mail-lf0-f65.google.com with SMTP id 75so16988862lfs.3 for ; Mon, 17 Apr 2017 11:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e83hlB7Asp/jOEnz8dMdQD7MoiZyQ0TYmr6TYmEag8o=; b=IXiEzp0695AG9Gr/FWSJ4rXfs7sxVZt8Rw9neZGP/sWiIUoh7x8PVmfOX7VpKs/ouO dEoOnc4ayPEbN09hODc7LjaJwLN8eirbiyALiv3WJejL32Jxv1+0jfGVnqQvEuVqgOjP URyl9HLc7A7NtRxk+RqskTwruHcucU9lCFgmht0WzJwvuR2NE0fLARFCOGvY5c4N2Hjv 7o9LJ+qRHnFZn1p+fGfUVjUuQqiPiaJU3Onl2PbrTaYIcrDTSEBMi3YL0UPBiB9wMwUT OoZQzeZ9uXBWNjNw3VxLaxIovO/r6vEBt7bt9HDiNJ+sris1Noeq4LHt8WooaXP3Tau4 E/RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e83hlB7Asp/jOEnz8dMdQD7MoiZyQ0TYmr6TYmEag8o=; b=M+wsQyuYuULpToHYAk1/hYSnR+GJKdMdwhvf9C40qUhuedfhC/X8ktud+ONlGl5sHf HJkXEYDjbOSLWciSc+szHQLZpXeT2oObeKf4Te2AkKirIII1XqyLRTBx9Lm/IgjKaPJb wYlIuAF/K+XnpVWo4DJ1o9rcM0/s1nGz/u1vO7XYXEZsE4yirSiLfW5uiKSiNd04aRNb 89KmKx7OtpPiSkf1LfCTakn2eSEDXL7Lr0UOEf4FyYP0frVVYmqnaj2a2aixsCnOyjDW hb6kkfe1CIsxEsGmJ+yioVP6Mgw7P/x/sF+3XIP40nayMJYspbUiKZ8abDwYqfHWhFVM gSZw== X-Gm-Message-State: AN3rC/5+ucjqKRhGzcOMIf0Hh+9DGRAYrxqZFTSzX+xN/T4Q0HHRkA2e F6k43RaYQx+Skg== X-Received: by 10.25.196.207 with SMTP id u198mr3195245lff.37.1492453746239; Mon, 17 Apr 2017 11:29:06 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id 26sm2073554lfr.7.2017.04.17.11.29.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Apr 2017 11:29:05 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen Cc: Rob Herring , Mark Rutland , Frank Rowand , Linus Walleij , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH V4 1/3] dt-bindings: mtd: document linux, part-probe property Date: Mon, 17 Apr 2017 20:28:51 +0200 Message-Id: <20170417182853.24281-1-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170331114016.26858-1-zajec5@gmail.com> References: <20170331114016.26858-1-zajec5@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki Support for this property has been introduced in 2010 with commit 9d5da3a9b849 ("mtd: extend physmap_of to let the device tree specify the parition probe") but it was never documented. Fix this by adding a proper description and example. Signed-off-by: Rafał Miłecki Acked-by: Rob Herring Acked-by: Boris Brezillon Acked-by: Boris Brezillon --- Documentation/devicetree/bindings/mtd/common.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt index fc068b923d7a..1ada70e718b2 100644 --- a/Documentation/devicetree/bindings/mtd/common.txt +++ b/Documentation/devicetree/bindings/mtd/common.txt @@ -6,10 +6,17 @@ Optional properties: controller based name) in order to ease flash device identification and/or describe what they are used for. +- linux,part-probe: if present, this property should contain a list of strings + with partition probes to be used for the flash device. A role of partition + probe (parser) is to read/construct partition table and register found + partitions. Getting partition table may be platform or device specific so + various devices may use various Linux drivers for this purpose. + Example: flash@0 { label = "System-firmware"; + linux,part-probe = "cmdlinepart", "ofpart"; /* flash type specific properties */ };