dt-bindings: mtd: spi-nor: add optional interrupts property
authorJosua Mayer <josua@solid-run.com>
Mon, 19 Feb 2024 14:41:19 +0000 (15:41 +0100)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Mon, 26 Feb 2024 10:19:56 +0000 (12:19 +0200)
Some spi flash memories have an interrupt signal which can be used for
signalling on-chip events such as busy status or ecc errors to the host.

Add binding for "interrupts" property so that boards wiring this signal
may describe the connection.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Pratyush Yadav <pratyush@kernel.org>
Acked-by: Michael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20240219-mtd-flash-interrupt-binding-v7-1-206e30a656fa@solid-run.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml

index 58f0cea160ef54295b3a942d8cf7c7c46c04ec29..6e3afb42926ea6d22f0dd2ebf39752e115502615 100644 (file)
@@ -52,6 +52,9 @@ properties:
     minItems: 1
     maxItems: 2
 
+  interrupts:
+    maxItems: 1
+
   m25p,fast-read:
     type: boolean
     description: