From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D555C433FE for ; Thu, 7 Apr 2022 21:06:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230448AbiDGVIb (ORCPT ); Thu, 7 Apr 2022 17:08:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230460AbiDGVIa (ORCPT ); Thu, 7 Apr 2022 17:08:30 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3F911786B9 for ; Thu, 7 Apr 2022 14:06:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id m30so9765861wrb.1 for ; Thu, 07 Apr 2022 14:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=VYDGD/lRh/S3APeRLxg/uVBh3CXm8UmCkYzmr6Xm0TY=; b=N6uhWtFP3F3lmqbvC4tdoeq5G5+gzPYi+82xknSqaEiYQjD5S39+Z+S3+npgLuTd8p sBy09OhRV9U58FqxU+iRDHKxUJjA/1YCpHWdBBa+iZf5PtXaVn2ddP/k7cLBeUdi8a4n ZKMpK/VOaaeiCPcW5Y5hdNGIiL6OR3ayzJsY6bTXlUuM/ZMOomUHcKkwzKg7hLPNw9sJ CUP2mOuyh3Ktc6sZVnY1fIFqSOCO+7bYpX+Eyg/zt4YkLfgKXDkZ+4wz8SUh2e1O5hN0 QmpO0X/QdYr0J1sZzo8gOas2C1h1fBqD4fXRq3iBGANBtGxnB1MgN1VtdCNg4UFPCjDs I3ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=VYDGD/lRh/S3APeRLxg/uVBh3CXm8UmCkYzmr6Xm0TY=; b=T5/N0OMscgL65s9eaxzLz8SJCfQrJ0VAK/Zm79dxvEhTy0JFN48QopsDqB4Kj7DjvY C/XNHf6O59pPMunpn5AjhyWnMa1LQS4ZdhKmGqb8uCFzZazooD+StdFVWESDlTHyTrcG 80surFrmQEnl/tT1/DqhaWOx9z8CP8ElSdqusj96qrU9+qLePaQ/iFTsfgvhCaW0w/6D kJFCFg0KvX+7qnZcnJsHoG5yCrJzESEKnt7cLY+t2kWCJ+iTy0LTedx4+x0FIDEnxjH/ cS7yeURCaTPP0gZDfd8siJT2V/n3eu0eWLWXlFvjdxf1g5F2NuWmTJ/p9F1k1Cx68t/f r/ZQ== X-Gm-Message-State: AOAM531lPkCvCzBZrS4R2PcnpdUZlWGurAjcmfdQAxFoTULS4+ELktfa TSCaOycdCRnWTErwljuZI7MAlQ== X-Google-Smtp-Source: ABdhPJyQiv2+i2IpnqHJGw+2b8dO4TXqtW/XLBZB8wqTI1qe3ixmX60ZJmaCzuoWpm23qRrv0x8KeA== X-Received: by 2002:a5d:64e6:0:b0:204:975:acde with SMTP id g6-20020a5d64e6000000b002040975acdemr11872191wri.466.1649365586356; Thu, 07 Apr 2022 14:06:26 -0700 (PDT) Received: from [192.168.0.187] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id h10-20020a05600c144a00b0038ccc75a6adsm8363430wmi.37.2022.04.07.14.06.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 14:06:25 -0700 (PDT) Message-ID: <200a2002-8573-efaa-774a-51dcec9cc807@linaro.org> Date: Thu, 7 Apr 2022 23:06:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] dt-bindings: mtd: jedec,spi-nor: remove unneeded properties Content-Language: en-US To: Rob Herring Cc: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220407142004.292782-1-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 07/04/2022 20:21, Rob Herring wrote: > On Thu, Apr 07, 2022 at 04:20:04PM +0200, Krzysztof Kozlowski wrote: >> 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(-) >> >> 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 > > These are needed for 'partition' nodes. > I am sure I saw them in one of referenced schemas, that's why I removed them. But now I cannot find it so probably I looked at wrong schema. Thanks for pointing this out, I'll fix the patch. Best regards, Krzysztof