From patchwork Thu Apr 7 14:20:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1614525 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=0dMshD9A; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=i+7pZ9/N; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KZ3T50xZRz9sFr for ; Fri, 8 Apr 2022 00:20:57 +1000 (AEST) 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=ab4rEoSzsk3SYs+PvVtPY3mvYw5yGCyNMtTCdDIgKyE=; b=0dMshD9AjTbesq UvkLk+gu7aRzQrKbwptRlN6FY+3Q5fL88BiaPRGOPen3NdDEJW21XdrLk2BZxBAon9G3DXs9eOhm5 wGac3pT221QxEHJU18+Y34FRp3mULlNwxPKcD80w68By9cWxteuGkOQO/w+GBDjeIS/uGkuuUC2/k FRtJvQZxJZ+MXiXZgvBlz2Pr+pogvwn+Y2mac3M+uy0GhYT/N8VtDLV0MVG94rfCrwZGai4mxhI6e mBceGFrvnp1U9q0S9juzqv0z52zip++akzLZUeo9LGw+ph9UBhLcKd8jxOnI90m0STA2GeohxtkmB Z8HRDvl5ZeDeonUrYihw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncSzf-00CKSL-UP; Thu, 07 Apr 2022 14:20:15 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncSzb-00CKQf-Fg for linux-mtd@lists.infradead.org; Thu, 07 Apr 2022 14:20:13 +0000 Received: by mail-ed1-x52d.google.com with SMTP id x20so6558374edi.12 for ; Thu, 07 Apr 2022 07:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8yiAtg3rQQsYQrz3HB5ABJGFof1KEIaqkT/i4ea96+g=; b=i+7pZ9/Nair/2xYhlI9bGgpJiP5BqE3ziFD/WqnsIpu2jvt84iP1oK+U2wYZqW1n70 HjumBvZnYJ/Wm4eDrzj4CqPltjkoCmt5D2d44nl+l0Nrpj7tbIJbWXWi5DRbOqSyuBtd 5B9ycEYP05uCBB2bHC/MRChDklzSw+81GkmmnKj9vkS6tnL5DeftHBkyDc8ZCynVgii2 emGWXqGiNnT/5K8HSpLui38zySkSZ/SqAQUjZVGg+O6jZW6weetXZ/wi/FTtQfULiSbx bPk9oFmxDOuw8cbt6h/kKflta3iwlniNkPOV9ib8J7uaVlDq8S648DouwLwtl+F4lhsG 5RZQ== 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=8yiAtg3rQQsYQrz3HB5ABJGFof1KEIaqkT/i4ea96+g=; b=rzlKUEb7cD8/ofdomqFKoD3rQtuf5Z3+9Vu5orw0HHQfrUyflz5Ni/9bLLs6J6Q9km k6v5MgnsJ+60JDKLYcvzNFMNjGEddHl536Gcq7tzRKxhkbMemz3ZydH3GRSpQKNQDKJq 5GiObVt4e/DT3F/8CZwwahwTO1L9rFzXpz+QH2COb1/sB7M8xV+liUx/GwsoOrd+3hp+ Bc5m5eBNHt81TIgq2RMEp66BikCrSWReAd1psqPZ4xlVBAx5s6biF8f0TlnFiXBMRESX GJE+niLtXFPA3YpE40NS+u+eSaJj59zIG6+E9aMzfVzWqi0dSHlmHI3mrMjOuIo31/DM YXdA== X-Gm-Message-State: AOAM533/3PYGgRmUG9g7OWB1UuJMmHCSGSWDWJP6dFOtYl1OwFDAL/cl zfTljrIYiC8MGw3UMkKo9BdcuQ== X-Google-Smtp-Source: ABdhPJzyaOBLTEXENkXIMPbhz9LkdnGmd3J+mXWjFUZRe447oVTT7rG0hn9KUNzp9DqfPtB4nY3OSw== X-Received: by 2002:a05:6402:368d:b0:419:31c4:4db8 with SMTP id ej13-20020a056402368d00b0041931c44db8mr14563757edb.93.1649341207567; Thu, 07 Apr 2022 07:20:07 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id c1-20020a50cf01000000b0041cb7e02a5csm7416182edk.87.2022.04.07.07.20.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 07:20:07 -0700 (PDT) From: Krzysztof Kozlowski To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: mtd: jedec,spi-nor: remove unneeded properties Date: Thu, 7 Apr 2022 16:20:04 +0200 Message-Id: <20220407142004.292782-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_072011_621351_014FDBEB X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: After conversion the jedec,spi-nor DT schema to reference other schemas (SPI and MTD) and use unevaluatedProperties, several properties are redundant. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/mtd/jedec,spi-nor.yaml | 11 1 file changed, 11 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:52d 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.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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+incoming=patchwork.ozlabs.org@lists.infradead.org After conversion the jedec,spi-nor DT schema to reference other schemas (SPI and MTD) and use unevaluatedProperties, several properties are redundant. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Pratyush Yadav --- .../devicetree/bindings/mtd/jedec,spi-nor.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 4abfb4cfc157..708e7f88fd92 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -50,10 +50,6 @@ properties: minItems: 1 maxItems: 2 - spi-max-frequency: true - spi-rx-bus-width: true - spi-tx-bus-width: true - m25p,fast-read: type: boolean description: @@ -74,14 +70,9 @@ properties: be used on such systems, to denote the absence of a reliable reset mechanism. - label: true - partitions: type: object - '#address-cells': true - '#size-cells': true - patternProperties: # Note: use 'partitions' node for new users '^partition@': @@ -99,8 +90,6 @@ examples: #size-cells = <0>; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "spansion,m25p80", "jedec,spi-nor"; reg = <0>; spi-max-frequency = <40000000>;