From patchwork Wed Jun 29 18:50:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 585818 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp624815mab; Wed, 29 Jun 2022 11:51:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1usZDVgJ4Rzzigw97zLsd0nFKgenDd2vx6fWyB0a7Y1N1QFohdaiDZeXmhRo5WaQ6WFuQ3o X-Received: by 2002:a63:d554:0:b0:40d:86ec:626b with SMTP id v20-20020a63d554000000b0040d86ec626bmr4068936pgi.530.1656528688408; Wed, 29 Jun 2022 11:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656528688; cv=none; d=google.com; s=arc-20160816; b=ztBN+CPIIUb4hIBOqh8XorXJIUrvaGuKdU0f7FxwUs6CLR3IOE1AAdwCHNGer31rP5 nBYOBDWlJs1E3JvzF9voKK/TTboB8RLbZmBtRs0ZtPQ9VncZ5MOEJLUm5ze+IKENPF0y zHMnPW8fF4YfbgXVZNSt9d+Z/Vm1byTFO3c9ZuHJvC/WApXHqaGWMpfO2spAcUnmtzsy cA1vwPBD5VWNvwQCOfvBNMJrDi70nMzJb76daUWfrjfVLqWCKxZhDcK2WqVbtI6ibc/x q+XC1698ICVWWAj7EPbezzlUdUkcGSjdNI/tMQPurbVVXDj6SNlWyKWDv+V4uRsGiap3 L/fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=C/+5naaz1Ln2YbGmXEHeCsYe/IVSKbHkQvdMOVbGTEo=; b=NgZ9IshOxcUGGzzkUwLx6tKhCU+SqKUw1MfU1pxsS1eJYxs/Y0+HNFItM/vSLVrTHM P3Nsm9TvXnVW7hrFcTH+F2hO4zhUDOkNRIMXAc084/y6lVgn+bwgnRmbZmaseqr/OU4C niXnu00zx3bDRZc6Rw/pKSisUSD3ZctlfR7x6AR7E44E7ll0FLLHu+qnQTyawWHnUokk hKTYqVXwKnWc7xNv+2d7a9c0XSYS/71F9jfXhnoCNDy2h8aANKmeg4olKjzzqqS9sPxW cga245gKdSSFUguXP+zC57JWwpwMwh4ygflQdDMOttmud13QIAZjF65W4R2MITZtzZhd 4B6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=CvH0AkKt; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:3::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:3::133]) by mx.google.com with ESMTPS id j191-20020a638bc8000000b0040da3e73d45si2527469pge.258.2022.06.29.11.51.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:51:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:3::133 as permitted sender) client-ip=2607:7c80:54:3::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=CvH0AkKt; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:3::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=C/+5naaz1Ln2YbGmXEHeCsYe/IVSKbHkQvdMOVbGTEo=; b=CvH0AkKtyjC2AC 4TGz6+yraB2ktE7pD8z7D/OXhCxFhxUF7LYJW8tl+C8U3s31lExebBZeh3LtMNLEvCGWLldaMsk4u MM2ieJnmWkCk+M7CY/R/DRrOKb2n/JfPl8rUk8vRpRTFpLRRM67DpahFb3MkRsLhYnRG0rorfLHw6 dhu51o+TlLDj8wJfLLZQXrHRNbGZizS1XzS9A8W2ze+8ukptGbq/J9Qd3AfOkAR8w9+4cHEINmShZ ZV/HevU9+1soQ/nmnbymSgS0D80nsZer4O/hE/bfkFMvdtwRvhc8+S2G4cXsv6hRJrYeZjjdoZIlP Z9B7nucKGhKNiotUWv5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6cm1-00DdaE-7a; Wed, 29 Jun 2022 18:50:49 +0000 Received: from mail-io1-f48.google.com ([209.85.166.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6clw-00DdYF-RV for linux-mtd@lists.infradead.org; Wed, 29 Jun 2022 18:50:48 +0000 Received: by mail-io1-f48.google.com with SMTP id v185so10230996ioe.11 for ; Wed, 29 Jun 2022 11:50:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lC0FS/YwnawDE3dIPNG4OuxNJ6LL8yKImCI5KP81WTo=; b=axNxPjcdx+MYCI6I022XG97o/U+CuMY2VrhAYBOH7JBWTLC18tun/iTaHtVtGy+Vad DcZsvJvbMrF5fBevQKcMjjw5kqvRky5Q7BDLexYQtTU6rgZY2QaJy9dThe5JkTkjTBV7 bigXsK7ZCY0rIqXZDEuA1YQoeaYyYtsqjzwRxRwXffQp+0PRajJmHBL4JQ07msPot+iv 2XjPE8ScjyJ/9pG8SCoLzGvpLcnvNCG7brO2EQMZa/DMTf8PWdZL5XKlTDrjwsfHdWil 9GRMyHi8n6y7fxXgFz8ljscfcTavcdgqqLHt65ltpNgQMhU1WKAqnFTyNHWLkLhPcbvt gRcA== X-Gm-Message-State: AJIora/VWaAlgc8QIFX0bcastxPBgchULAEIWhNGmKqP57f/mHvWZKlL q3qxuTeU8E4G9S8TriHDCA== X-Received: by 2002:a02:c057:0:b0:339:e390:c94a with SMTP id u23-20020a02c057000000b00339e390c94amr2813647jam.20.1656528641021; Wed, 29 Jun 2022 11:50:41 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id w3-20020a02b0c3000000b00339d4037e7csm7617381jah.44.2022.06.29.11.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 11:50:40 -0700 (PDT) From: Rob Herring To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Linus Walleij Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: mtd/partitions: Convert arm-firmware-suite to DT schema Date: Wed, 29 Jun 2022 12:50:30 -0600 Message-Id: <20220629185031.23826-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_115044_923569_AD121411 X-CRM114-Status: GOOD ( 14.68 ) X-Spam-Score: 0.7 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Convert the arm,arm-firmware-suite partition binding to DT schema format. Simple conversion as there's only a compatible property. Reviewed-by: Linus Walleij Signed-off-by: Rob Herring --- v2: - Fix example dtc warning --- .../mtd/partitions/arm,arm-firmware-suite.txt | 17 [...] Content analysis details: (0.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.166.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [robherring2[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [robherring2[at]gmail.com] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.166.48 listed in wl.mailspike.net] 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Convert the arm,arm-firmware-suite partition binding to DT schema format. Simple conversion as there's only a compatible property. Reviewed-by: Linus Walleij Signed-off-by: Rob Herring --- v2: - Fix example dtc warning --- .../mtd/partitions/arm,arm-firmware-suite.txt | 17 ----------- .../partitions/arm,arm-firmware-suite.yaml | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt create mode 100644 Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt deleted file mode 100644 index d5c5616f6db5..000000000000 --- a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.txt +++ /dev/null @@ -1,17 +0,0 @@ -ARM AFS - ARM Firmware Suite Partitions -======================================= - -The ARM Firmware Suite is a flash partitioning system found on the -ARM reference designs: Integrator AP, Integrator CP, Versatile AB, -Versatile PB, the RealView family, Versatile Express and Juno. - -Required properties: -- compatible : (required) must be "arm,arm-firmware-suite" - -Example: - -flash@0 { - partitions { - compatible = "arm,arm-firmware-suite"; - }; -}; diff --git a/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml new file mode 100644 index 000000000000..76c88027b6d2 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/arm,arm-firmware-suite.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Firmware Suite (AFS) Partitions + +maintainers: + - Linus Walleij + +description: | + The ARM Firmware Suite is a flash partitioning system found on the + ARM reference designs: Integrator AP, Integrator CP, Versatile AB, + Versatile PB, the RealView family, Versatile Express and Juno. + +properties: + compatible: + const: arm,arm-firmware-suite + +additionalProperties: false + +examples: + - | + partitions { + compatible = "arm,arm-firmware-suite"; + }; +...