From patchwork Thu Mar 30 21:53:32 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: 745434 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 3vvJLy3lhWz9ryv for ; Fri, 31 Mar 2017 08:54:34 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uX6E3KaZ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KzA5w5gN"; 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=ABCDkCyu1L47uwyYKeIi8PofdDDn7hCNXW7GOFjmbfM=; b=uX6E3KaZfKTWzK A8nTbWORwLJtfNsFypf8gR18Bbp7q3CDpz34VCdZsoYPdtl/u9/WxBzznfwnAEZLCbs0Z6LNPeQJZ nLGLjFYErUilSw5Hl8pEJ/ifcRbFbQpluuyux62zzTatLQS39j/+prSuj6E6R+htzV8QVdyyVjXlz g80cLLwmlEpotWkAgk/Wl2Af7VsVclP/2neWpN0ef/UPnOH+cST6F9DVQCfMMf/vqpih0KphVb5Xr GhWpQEstJDO3o8HJx5j52W5r0CEsQDzUSHKiQdAe3UxQJwECvnUc+MhDWD0+hcVdTf6CRv0oABzkS kofGxH+2N/mAWmtU5f6Q==; 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 1cti1Y-0005s9-A6; Thu, 30 Mar 2017 21:54:32 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cti1O-0005et-Rw for linux-mtd@lists.infradead.org; Thu, 30 Mar 2017 21:54:24 +0000 Received: by mail-lf0-x241.google.com with SMTP id n78so5755896lfi.3 for ; Thu, 30 Mar 2017 14:54:02 -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=+KTYtgse3hk7J5mfIeM9LdMRdWAQ0rxi8bH2tOffK2w=; b=KzA5w5gNPhlNURDU2nuQVgYBBe/z8yto2CKSgArIqzBE4MGz6NM3hkuX69DHEFi92T towh/pYy+6HtJZZ+p+zbTbTCHi23GkTumKSZMFq9+tAc+yCdfGgpcm9ZB3+uZ2X9bo82 GYz76kCjFzMandS5sF1z9239V3hz1pvS8nikrcGzciLUXF9yuNLzwyuERmBnAzRQjx9B YzkMRim5FkVQ/qR7oy31WuXKjDI4dfXkItiz4kaV9kHfVY8iE1isHLqPdNbnv0F8gh4e Ulu5/kuxYrqueqHnAiaLayIUiva3TfiTAWS5gmIk3nsHdcoUeu+kyD7HRaLzFM0SSTZW kbEw== 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=+KTYtgse3hk7J5mfIeM9LdMRdWAQ0rxi8bH2tOffK2w=; b=Kl8WV1i/u60lTNnIC8BcDBl6HhdjIhQb5/JUX9GjUVGWC479NKT/ajBEWE0zaBhOeo EMXWnUqcWVqi6pq1KJ1yD1AiCpAQep59zdxCVaIFBlOLmVY0iu0K7w2/4OZDcEwtQK7d GcP+F2CaYkjgSFIm+j5G27RU3m25wG2fbWYSZ17FLXvvXSiSguJ+bCUPVYVaY/AEb0lD PePHIM/MRpuRy4CaZmbBaHHkGQgvs4JrhTsgWwVjyjMsVeds4QbJ0oqPGIaszVIye+xn Y1tr7BBTR+HRhK+ZlKrORUoN27LeeyIrINWBSeIKCod4bcnzVgz2sJFJ9tQY0ooADY40 aaYA== X-Gm-Message-State: AFeK/H04fddSdyF0Zs0MyrvyMYIjKOSaz63NUvoU6S60y/YyWj/btRx+N9+0CMAGPeZBMQ== X-Received: by 10.25.208.11 with SMTP id h11mr614949lfg.150.1490910840840; Thu, 30 Mar 2017 14:54:00 -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 2sm584571ljh.57.2017.03.30.14.53.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Mar 2017 14:54:00 -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 2/2] dt-bindings: mtd: document linux,part-probe property Date: Thu, 30 Mar 2017 23:53:32 +0200 Message-Id: <20170330215332.32699-2-zajec5@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170330215332.32699-1-zajec5@gmail.com> References: <20170330215332.32699-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170330_145423_094954_E4B02A4D X-CRM114-Status: GOOD ( 12.61 ) X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] -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 --- 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 */ };