[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <200a2002-8573-efaa-774a-51dcec9cc807@linaro.org>
Date: Thu, 7 Apr 2022 23:06:24 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: Tudor Ambarus <tudor.ambarus@...rochip.com>,
Pratyush Yadav <p.yadav@...com>,
Michael Walle <michael@...le.cc>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-mtd@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: mtd: jedec,spi-nor: remove unneeded
properties
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 <krzysztof.kozlowski@...aro.org>
>> ---
>> .../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
Powered by blists - more mailing lists