[PATCH] spi: dt-bindings: mediatek, spi-mtk-nor: Fix example 'interrupts' property

Rob Herring robh at kernel.org
Thu Jan 6 10:25:17 PST 2022


A phandle for 'interrupts' value is wrong and should be one or more numbers.

Signed-off-by: Rob Herring <robh at kernel.org>
---
 .../devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
index 7393f30535df..da43a545614f 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml
@@ -72,7 +72,7 @@ examples:
       nor_flash: spi at 1100d000 {
         compatible = "mediatek,mt8173-nor";
         reg = <0 0x1100d000 0 0xe0>;
-        interrupts = <&spi_flash_irq>;
+        interrupts = <1>;
         clocks = <&pericfg CLK_PERI_SPI>, <&topckgen CLK_TOP_SPINFI_IFR_SEL>;
         clock-names = "spi", "sf";
         #address-cells = <1>;
@@ -84,4 +84,3 @@ examples:
         };
       };
     };
-
-- 
2.32.0




More information about the Linux-mediatek mailing list