Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1820087/?format=api
{ "id": 1820087, "url": "http://patchwork.ozlabs.org/api/patches/1820087/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/a640bb10e6fbaeef96efdb9e8b666ca39e993589.1691717480.git.daniel@makrotopia.org/", "project": { "id": 3, "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api", "name": "Linux MTD development", "link_name": "linux-mtd", "list_id": "linux-mtd.lists.infradead.org", "list_email": "linux-mtd@lists.infradead.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<a640bb10e6fbaeef96efdb9e8b666ca39e993589.1691717480.git.daniel@makrotopia.org>", "list_archive_url": null, "date": "2023-08-11T01:36:37", "name": "[v4,1/8] dt-bindings: mtd: add basic bindings for UBI", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "e2e6eb3228fcccd1689bc41f21b76a277ea003d4", "submitter": { "id": 64091, "url": "http://patchwork.ozlabs.org/api/people/64091/?format=api", "name": "Daniel Golle", "email": "daniel@makrotopia.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/a640bb10e6fbaeef96efdb9e8b666ca39e993589.1691717480.git.daniel@makrotopia.org/mbox/", "series": [ { "id": 368347, "url": "http://patchwork.ozlabs.org/api/series/368347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=368347", "date": "2023-08-11T01:36:37", "name": "mtd: ubi: allow UBI volumes to provide NVMEM", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/368347/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1820087/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1820087/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=<UNKNOWN>)", "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YN7r2hzP;\n\tdkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RMRHv5Hc7z1yfs\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 11 Aug 2023 11:37:47 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux))\n\tid 1qUH5K-0094wO-1A;\n\tFri, 11 Aug 2023 01:37:02 +0000", "from pidgin.makrotopia.org ([185.142.180.65])\n\tby bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux))\n\tid 1qUH5H-0094vZ-1k\n\tfor linux-mtd@lists.infradead.org;\n\tFri, 11 Aug 2023 01:37:01 +0000", "from local\n\tby pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256)\n\t (Exim 4.96)\n\t(envelope-from <daniel@makrotopia.org>)\n\tid 1qUH52-000530-0d;\n\tFri, 11 Aug 2023 01:36:45 +0000" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:\n\tMessage-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=PjR9hubE2StUp230MHm7e/20LnWhlwh7eTpoShtl1cE=; b=YN7r2hzPTKTGnx\n\t4+3lybqfVsknIU7PNPExCUt/ulcJ8QJlwU/XdJxV2Bx7npUFsFiNjSYz0CzXXsYNtnecwl4LWHspn\n\ttGvz8Lkw+7M1U/ur/9DtkTtYMvUnqJDk9V3r0W5Dit/5MFO1A4vRcYbSfpq6Pttp8qjxxhGbnKqRF\n\ti045SXcotnkCaJ+9ESyQywzjpmiu5GikLTv0T5tUo0o5W5n/ESNym67x1W3IeynWVDkWSRF3SZ/hK\n\t5x1W3Arn0JEg6zeAvIDS86LRHP8ZAqjQUvqtJLI03XyjWaoeqQc9fmTuyQpYZgAXQYc7z3GN3I4uv\n\ttTbygEeoDIpmTj2W9vYw==;", "Date": "Fri, 11 Aug 2023 02:36:37 +0100", "From": "Daniel Golle <daniel@makrotopia.org>", "To": "Randy Dunlap <rdunlap@infradead.org>,\n\tMiquel Raynal <miquel.raynal@bootlin.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tVignesh Raghavendra <vigneshr@ti.com>,\n\tRob Herring <robh+dt@kernel.org>,\n\tKrzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tDaniel Golle <daniel@makrotopia.org>, linux-mtd@lists.infradead.org,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org", "Subject": "[PATCH v4 1/8] dt-bindings: mtd: add basic bindings for UBI", "Message-ID": "\n <a640bb10e6fbaeef96efdb9e8b666ca39e993589.1691717480.git.daniel@makrotopia.org>", "References": "<cover.1691717480.git.daniel@makrotopia.org>", "MIME-Version": "1.0", "Content-Disposition": "inline", "In-Reply-To": "<cover.1691717480.git.daniel@makrotopia.org>", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20230810_183659_576881_5D0641B3 ", "X-CRM114-Status": "GOOD ( 13.58 )", "X-Spam-Score": "0.0 (/)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: Add basic bindings for UBI devices and volumes.\n Signed-off-by:\n Daniel Golle <daniel@makrotopia.org> ---\n .../bindings/mtd/partitions/linux,ubi.yaml\n | 65 +++++++++++++++++++ .../bindings/mtd/partitions/ubi-volume.yaml | 36\n ++++++++++ 2 files changed, [...]\n Content analysis details: (0.0 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record", "X-BeenThere": "linux-mtd@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>", "List-Post": "<mailto:linux-mtd@lists.infradead.org>", "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>", "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "Add basic bindings for UBI devices and volumes.\n\nSigned-off-by: Daniel Golle <daniel@makrotopia.org>\n---\n .../bindings/mtd/partitions/linux,ubi.yaml | 65 +++++++++++++++++++\n .../bindings/mtd/partitions/ubi-volume.yaml | 36 ++++++++++\n 2 files changed, 101 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml", "diff": "diff --git a/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml b/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\nnew file mode 100644\nindex 0000000000000..a06c1666d5184\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\n@@ -0,0 +1,65 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/mtd/partitions/linux,ubi.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Unsorted Block Images\n+\n+description: |\n+ UBI (\"Unsorted Block Images\") is a volume management system for raw\n+ flash devices which manages multiple logical volumes on a single\n+ physical flash device and spreads the I/O load (i.e, wear-leveling)\n+ across whole flash chip.\n+\n+maintainers:\n+ - Daniel Golle <daniel@makrotopia.org>\n+\n+allOf:\n+ - $ref: partition.yaml#\n+\n+properties:\n+ compatible:\n+ const: linux,ubi\n+\n+ volumes:\n+ type: object\n+ description: UBI Volumes\n+\n+ patternProperties:\n+ \"^ubi-volume-.*$\":\n+ $ref: /schemas/mtd/partitions/ubi-volume.yaml\n+\n+ unevaluatedProperties: false\n+\n+required:\n+ - compatible\n+\n+unevaluatedProperties: false\n+\n+examples:\n+ - |\n+ partitions {\n+ compatible = \"fixed-partitions\";\n+ #address-cells = <1>;\n+ #size-cells = <1>;\n+\n+ partition@0 {\n+ reg = <0x0 0x100000>;\n+ label = \"bootloader\";\n+ read-only;\n+ };\n+\n+ partition@100000 {\n+ reg = <0x100000 0x1ff00000>;\n+ label = \"ubi\";\n+ compatible = \"linux,ubi\";\n+\n+ volumes {\n+ ubi-volume-caldata {\n+ volume-id = <2>;\n+ volume-name = \"rf\";\n+ };\n+ };\n+ };\n+ };\ndiff --git a/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml b/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml\nnew file mode 100644\nindex 0000000000000..e14c85bbeeb91\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml\n@@ -0,0 +1,36 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/mtd/partitions/ubi-volume.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: UBI volume\n+\n+description: |\n+ This binding describes a single UBI volume. Volumes can be matches either\n+ by their ID or their name, or both.\n+\n+maintainers:\n+ - Daniel Golle <daniel@makrotopia.org>\n+\n+properties:\n+ compatible: true\n+\n+ volume-id:\n+ $ref: /schemas/types.yaml#/definitions/uint32\n+ description:\n+ Match UBI volume ID\n+\n+ volume-name:\n+ $ref: /schemas/types.yaml#/definitions/string\n+ description:\n+ Match UBI volume name\n+\n+anyOf:\n+ - required:\n+ - volume-id\n+\n+ - required:\n+ - volume-name\n+\n+unevaluatedProperties: false\n", "prefixes": [ "v4", "1/8" ] }