[RFC PATCH 2/3] dt-binding: mtd: spi-nor: Allow two CS per device

Rob Herring robh+dt at kernel.org
Fri Nov 12 08:53:59 PST 2021


On Fri, Nov 12, 2021 at 9:24 AM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
>
> This will be needed in order to be able to describe Xilinx QSPI
> controller stacked and parallel modes.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> index ed590d7c6e37..dc99629e40db 100644
> --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> @@ -46,7 +46,7 @@ properties:
>        identified by the JEDEC READ ID opcode (0x9F).
>
>    reg:
> -    maxItems: 1
> +    maxItems: 2

You need minItems here.

>
>    spi-max-frequency: true
>    spi-rx-bus-width: true
> --
> 2.27.0
>



More information about the linux-mtd mailing list