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: 751422 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w6Gyr5nFDz9ryk for ; Tue, 18 Apr 2017 04:30:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qVaCuA39"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="IXiEzp06"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wWPlRyyG90K8t+3mFmUGoyeyFWahA/9ZET+NlD0tpKg=; b=qVaCuA39rl3+Z/ XaerAD9nDBR0brjTyJ/eW575GvL1N+K43GuEujaDnD+H4kO7DvGwxmdvby1GtDozpFdufSEH63Lxp ef4kSKm5Z6QBBc8p1WhMUOdy77M2uN9Mf52XM81u6RBlDOFwfIQYYILtza8hy7aH3LXCis4T88YT6 0XZgY/xmfLSiJKPKJh94GiZcO3Wv06rJZpkdyh6hhn42n3PRG884wQrmfXCvNB91OZc2q6b3Xpmfu xYMp6jJzpFCwr15YA4MPKS7vKpRD7ezA/cdTtfRLbmFWk+gHZH80Vd8qGDqvHh+HCjhZ9nBfBVLqZ Qe8PwHgVaEh/B4c1UGRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d0BPc-0007Y5-OS; Mon, 17 Apr 2017 18:30:08 +0000 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d0BOy-0005lF-Mv for linux-mtd@lists.infradead.org; Mon, 17 Apr 2017 18:29:34 +0000 Received: by mail-lf0-x243.google.com with SMTP id x72so16991106lfb.1 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=AuKh8OXYyiSLThO97zo+2GjMvddnF+CWD1F+tqUUkmyujpv7hq1yH/9gkDc2ftfaj9 7hDPkdcc/sGYjZHmmmrTw6hMcS3ThKCKovJZbEpx1XNT+STQe67sbPCPlAbhMcmY7d0A ps4gaA/RdWKEm/SxuBXtvNavozvRZqWT/rXsEvYUIWyawLL//6NYL1wYhzHUt3oLDA7K Nmv830sVNFjt0yPFKtpLRDQ3cp1Nn1Inj//lvTzr3JfWMwAxCofRWZ7YjXVrpwbTgI+U y5cYNoumaSAlilmH15cMWM2KESgtJRjWl0TEno0BX/FkWBEHW4KtnLJu1xElzkRKx1gt J80Q== X-Gm-Message-State: AN3rC/7enrKCYd+e5j3zAGKNXZV6HMnYP5bDjBSrjq/PxwHj5yLHVg+P tKWHLd8lHuuIJQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170417_112929_635330_77F8A0DC X-CRM114-Status: GOOD ( 12.26 ) X-Spam-Score: -1.8 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zajec5[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (zajec5[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Linus Walleij , Rob Herring , linux-mtd@lists.infradead.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Frank Rowand Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.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 --- 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 */ };