From patchwork Fri Jun 10 20:37:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 580633 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp2073908max; Fri, 10 Jun 2022 13:39:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5jzBjjZCvPFmm7lHzFyjrlHEP1fKlzhAz0wqK3c+E0+Qkf0jgEi1pzhK2CkJZ1cZYZNcZ X-Received: by 2002:a65:60c7:0:b0:3fb:194f:9ccb with SMTP id r7-20020a6560c7000000b003fb194f9ccbmr41468985pgv.241.1654893546722; Fri, 10 Jun 2022 13:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654893546; cv=none; d=google.com; s=arc-20160816; b=MMFQbqKDlaThOOhXv+MCrV8jAkk2gNKMTq1RQlZEDG58dGQ8riuP6OJpxaelgByCIv iO/OCh8jd1vUbosnIjiAQ4BguQ0fOSeh25Q9EIXQi6lwBMw0HitocpyQMoNuqJQa6eJe C+CMZkfnUHU93VZzhR8+XoXLRYYFWSBAmFrwuSyi4Bun9IBoJC8Y6UC+JYlin6kfkaGk Rp+2vl5RmvAKMnQu5YINCIewuLBAr/YL62HaOp28eiIuKDBmmYivfhNTn/1uVjl6ytHA 5Yg2HnDdbSF+aoZm3nmvRNmYuN/32mnZG+l7NTP3G1moNHbxp7vi499gkIWEyteX/Flr bEbw== 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=VsmcZK+Qf1p3Mm3ArTAo1/YwsyH8N78HcOTJ1j10yLQ=; b=rDUXzO4ikIVT3o/q/bn9uGNXwYOmU36vKdrjw1qAWCGO90EArIN8R4KNXnY7PSzPHu RzuSXrrNYohVT1k+Nj404mYprZDf1qfUHN0K95hCdJl3ulXV0u+P3t5SwlAqTMQoPuKl /2k34CiQzE11SfAC0sBvouM8J0z+1L9ATJgu16DPga0Z5StpNOB3OL438AEGFGym8/Cb 926jQyimfIcUZjzpndSh486SRLZY6p/ctmxneYiVhoOCUNpykMtS8PbueNSzqLfKkA8O zZPHUybZXP8iRLhkoWEn9vsnZ4HQiEjqOiHUF1QJ1h8bzwkXBCoz9Da/VY1QdzTb/m42 B9lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20210309 header.b=3ATg+kHL; 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 b13-20020a63340d000000b00404fa8bc81dsi100468pga.762.2022.06.10.13.39.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 13:39:06 -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=3ATg+kHL; 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=VsmcZK+Qf1p3Mm3ArTAo1/YwsyH8N78HcOTJ1j10yLQ=; b=3ATg+kHLcX0hz0 VbmRYVK2dd6IwC+wilL7iri6cb+TXG9A7ujyK+He0AGcj7d+dlEygCv+IAF7E2RyNyWFyyF4Fg6l3 jBO2TSfkofQHAUInC948ZcvTAEhLHhQSUIZYGKRCg53rCqMlQ0o4w2ZgPvOeUEKihM20NaIMD46iz ANFqZTrI9MaaBTBUD4tlz0D1MOxyoVDiFlQQX31nVwL091+74Z0ihm9FiKWCfRqvOVQ/Ta+0kJ80K uAv+YgISS/OtS9/tJ+UsxyNZXCqDUWD5UfdPOw2JwH25UFA6DLrZDIqTqU2O93freGPyMizcROvcE XglSfRkcuJgPuhWP4LFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzlOb-009nYJ-Gu; Fri, 10 Jun 2022 20:38:17 +0000 Received: from mail-il1-f178.google.com ([209.85.166.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzlOY-009nXN-S6 for linux-mtd@lists.infradead.org; Fri, 10 Jun 2022 20:38:16 +0000 Received: by mail-il1-f178.google.com with SMTP id h7so164922ila.10 for ; Fri, 10 Jun 2022 13:38:13 -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=4m3Bo0gVkhfyIGU9xra6MloozgwWOG3t7N6ZclZnQ/I=; b=SO4IRZk1Lbd657+nB7hdNMeHFeULFZM46SSABiYbEbg9pjKOGj6FfchXsQQMUR52MY H2JdTkyuDj/WfZd3C0MtC/N3GE256yf3yY9Gt1ySyezrRNjCBrSTBnkMn7ahvOQuFYKx TPP6L77h34TCDJ3vxnodZlKqA1RJeNWj8qEmGND94Fwcks0xekIN7+3NQTzGVfkCEHsQ DQhsCqpx8AAkFjsSf4t0Q9xQhEKjw1dmpiLDcKol/oExJEecg+Dw1Hs1nDyZsijteAbi 2JH7eVknBDs6g2Zn0P1wkFT8QSXDvAZajmyilEkvaAX/OZ3ufn6I9kgMvXWhKDf1XJS4 gIzA== X-Gm-Message-State: AOAM5312/qES2qToLTdcBc84YQQVpcMujSeKx6mkDQNUWc6dzy5nNCSL jwoMp6m9NdbiRVvXdrdDWAjuiXhoGQ== X-Received: by 2002:a92:cbcd:0:b0:2d1:ba4f:2f4f with SMTP id s13-20020a92cbcd000000b002d1ba4f2f4fmr25692107ilq.181.1654893492813; Fri, 10 Jun 2022 13:38:12 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.251]) by smtp.googlemail.com with ESMTPSA id z20-20020a056638001400b003316f4b9b26sm16014jao.131.2022.06.10.13.38.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 13:38:12 -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] dt-bindings: mtd/partitions: Convert arm-firmware-suite to DT schema Date: Fri, 10 Jun 2022 14:37:44 -0600 Message-Id: <20220610203746.2191518-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-20220610_133814_950422_082F8226 X-CRM114-Status: GOOD ( 13.32 ) 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. Signed-off-by: Rob Herring --- .../mtd/partitions/arm,arm-firmware-suite.txt | 17 .../partitions/arm,arm-firmware-suite.yaml | 30 +++++++++++++++++++ 2 files changed, 30 [...] 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.178 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.178 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. Signed-off-by: Rob Herring Reviewed-by: Linus Walleij --- .../mtd/partitions/arm,arm-firmware-suite.txt | 17 ----------- .../partitions/arm,arm-firmware-suite.yaml | 30 +++++++++++++++++++ 2 files changed, 30 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..baf19ac0ea1f --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partitions/arm,arm-firmware-suite.yaml @@ -0,0 +1,30 @@ +# 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: + - | + flash@0 { + partitions { + compatible = "arm,arm-firmware-suite"; + }; + }; +...