[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f6545c08-3be2-523e-db21-81b2b9233743@linaro.org>
Date: Mon, 23 Jan 2023 09:13:00 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Li Chen <lchen@...arella.com>, Li Chen <me@...ux.beauty>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: "moderated list:ARM/Ambarella SoC support"
<linux-arm-kernel@...ts.infradead.org>,
"open list:MEMORY TECHNOLOGY DEVICES (MTD)"
<linux-mtd@...ts.infradead.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 11/15] dt-bindings: mtd: Add binding for Ambarella
On 23/01/2023 08:32, Li Chen wrote:
> Ambarella SoC contains nand flash controller.
> Add compatible for it.
>
> Signed-off-by: Li Chen <lchen@...arella.com>
> Change-Id: I4108699a0678ba45e5d4347cbd860bc552dd91dd
> ---
> .../bindings/mtd/ambarella,nand.yaml | 77 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 78 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mtd/ambarella,nand.yaml
>
> diff --git a/Documentation/devicetree/bindings/mtd/ambarella,nand.yaml b/Documentation/devicetree/bindings/mtd/ambarella,nand.yaml
> new file mode 100644
> index 000000000000..7c2e7c2ebc7b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mtd/ambarella,nand.yaml
> @@ -0,0 +1,77 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mtd/ambarella,nand.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Ambarella NAND Controller
> +
> +maintainers:
> + - Li Chen <lchen@...arella.com>
> +
> +properties:
> + compatible:
> + - const: ambarella,nand
> +
> + reg:
> + minItems: 1
> + maxItems: 1
All your patches are weirder and weirder. Do you see such syntax in any
patches before?
Drop minItems.
> +
> + interrupts:
> + minItems: 1
> + maxItems: 1
Drop both.
> + items:
> + - description: fio irq
> +
> + clocks:
> + maxItems: 1
> + description: reference to the clock for the NAND controller
> +
> + nand-on-flash-bbt:
OK, so this was for sure not tested.
Do not send untested patches.
Best regards,
Krzysztof
Powered by blists - more mailing lists