Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp44664pxw; Fri, 8 Apr 2022 00:06:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAiANOu8xCM8mGYAQ8gjK9jK9LDVT81q0IyXypmNzhi40T4QkxYgxtkGbfdI+SiAB/q/hC X-Received: by 2002:a17:90b:3e82:b0:1c7:2920:7c54 with SMTP id rj2-20020a17090b3e8200b001c729207c54mr20519544pjb.2.1649401610289; Fri, 08 Apr 2022 00:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649401610; cv=none; d=google.com; s=arc-20160816; b=ZT31OeOesztVg/2FHughqGl2pOXYDNNJTApWCcaWl1Jh6MsEPMh3QUODEagwlNWFZd ztjBwNmpym2m+VoC+yFkaLKCpJpVLcxqsLTHgLPSgsfb0t6VVhx4TOifn6J8KuYRqCLn +bPEH/kPyDXvE5bR2c0q8MLqyV2mbnWl9eAbGH5gSaiiF6pVCOYiqiqctdGCwMbfaQlF xl7g4qBiGfFE6OxNFX6G9uuGN62Q79fBVC6k8FKQxtgKhqCQxzOyYRbNnsMn8sWE50fb 2zdPUFJiuNj1N5qeim7tjxsBXA1b+06DJDOuCsEww6er+mTzr8oRaHF1HzTweM/x/YIr rI1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hbooFuUTQsLms6josv+xfBkuUKWCG8qBtv0jZriAQsE=; b=Y0K9oPJEaYS/uTGYPsiJg5uA7Om9wQ9wU7tTFNfv7kaf+ItJ2UVunmL0/0k8qtAR9D wTcA95Ot13Rx6Qn55coneciwVUQ7wWLDpKE/Bpj2f5kxkTq5Qn4XI2hGaSLb89ZM5hYv GwY+KlMVGbggo8eyVDPHc0/I8r7OtMJ2yIOQmQh3iBw8Wa5EuXd6RcJP6eJMPjf4mQ4s 19otUEkPO6NB9fdhdP1KXICLG0T+qo+uFcmoSoy0SGRQRJt2MidPZ6UzunEvAbI9iNce mLF2hWb0baddc9YYQl+H6Ry1q9KOGp9ZeZTbTk9ATAfDnLsl0P/3lFq9EjyX+wizdpon wT8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KUiGrzyw; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j9-20020a170902690900b00156849c4f32si135011plk.84.2022.04.08.00.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 00:06:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KUiGrzyw; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F26F3AFAF6; Thu, 7 Apr 2022 23:37:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234304AbiDHGjd (ORCPT + 99 others); Fri, 8 Apr 2022 02:39:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbiDHGja (ORCPT ); Fri, 8 Apr 2022 02:39:30 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 593797486D for ; Thu, 7 Apr 2022 23:37:27 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id i27so15305810ejd.9 for ; Thu, 07 Apr 2022 23:37:27 -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=hbooFuUTQsLms6josv+xfBkuUKWCG8qBtv0jZriAQsE=; b=KUiGrzywkzIJieuqry4LzLftOUGd4CK09HkQZxMiCdN41F5MvltjUSmSUiJoSn8/Tv /4hf+9nkj+E5PaUY+g0FORT2PQIn5Bn4IXXhX0IwC5kbzKvBhUosYY3ZbkheRDxg8/M6 u2QxcyO+KlJ30iCG0aizbUuB3XESflzEmrPbQW2+LnmVovj8cMAht94miIwUvSRbFQ2A q6z/JkazuuECcKj8yXUtiXdnwYgywiu54BLbkPPGhSmpUJRD9CWjx1IxuELC8cqnEzYx x9eSqbTp46UtX9Jojy6NFIDczxQy6klYRWGv9C6V5DwLN7n8g74x+C7L+yfdhdGDVRfn APrQ== 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=hbooFuUTQsLms6josv+xfBkuUKWCG8qBtv0jZriAQsE=; b=GbVSrcFUDMu/AAxevkEmbDXtDC48Ib3qMJOQUFK0zu07f0TPVBp+75/7zmYxbFlSTO WORSRPQ/dZEdoYX47UbD05r3fNxHqi7qMqNpp5BBqrfDDHp31PVkz3gku2wCbqnqAevS iq5pf1russekCjM+YBTgS2FBDTPNe5lQXjE9IolT8NQwo9vkG0xXRtNf8g7L2tvcn/g3 Sk+udmA9YjnyXkvqjXAPtSivPJJ4HuSnT3lz6C4b9LeFc0WVTjU96DuhaTacD51hp+mj jifEEgc3s3cYdlXpWimykHzP9fP02RIzP6UsDzJY/vIKSejMHeQl2EOFhuMIVATMrVPB 8hng== X-Gm-Message-State: AOAM531+ElZbOKqA4oYVewJ0JBG8QkMur6Cx4WgqpqjleM2cu7rkuO1B oEeqlV5l5T8W1IT5OfUaK+zq+w== X-Received: by 2002:a17:907:2d9f:b0:6e8:58d9:8c4 with SMTP id gt31-20020a1709072d9f00b006e858d908c4mr550595ejc.386.1649399845877; Thu, 07 Apr 2022 23:37:25 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id t1-20020a170906178100b006e7edb2c0bdsm5705086eje.15.2022.04.07.23.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 23:37:25 -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 v2] dt-bindings: mtd: jedec,spi-nor: remove unneeded properties Date: Fri, 8 Apr 2022 08:37:20 +0200 Message-Id: <20220408063720.12826-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After conversion the jedec,spi-nor DT schema to reference other schemas (SPI and MTD) and use unevaluatedProperties, few properties are redundant. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Pratyush Yadav --- Changes since v1: 1. Do not remove address/size cells (Rob). 2. Add Pratyush review. --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 4abfb4cfc157..7149784a36ac 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,8 +70,6 @@ properties: be used on such systems, to denote the absence of a reliable reset mechanism. - label: true - partitions: type: object @@ -99,8 +93,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>; -- 2.32.0