[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e550deb-7c27-894b-a0b5-62609a60f17f@microchip.com>
Date: Mon, 11 Apr 2022 08:30:33 +0000
From: <Tudor.Ambarus@...rochip.com>
To: <krzysztof.kozlowski@...aro.org>, <p.yadav@...com>,
<michael@...le.cc>, <miquel.raynal@...tlin.com>, <richard@....at>,
<vigneshr@...com>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>,
<linux-mtd@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] dt-bindings: mtd: jedec,spi-nor: remove unneeded
properties
On 4/8/22 09:37, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> 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 <krzysztof.kozlowski@...aro.org>
> Reviewed-by: Pratyush Yadav <p.yadav@...com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
>
> ---
>
> 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
>
Powered by blists - more mailing lists