]> Git Repo - J-linux.git/commitdiff
dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required
authorGeert Uytterhoeven <[email protected]>
Mon, 26 Feb 2024 10:50:02 +0000 (11:50 +0100)
committerLee Jones <[email protected]>
Thu, 29 Feb 2024 17:15:26 +0000 (17:15 +0000)
'#interrupt-cells' is a required provided for interrupt providers,
hence make it required.

While at it, move '#interrupt-cells' in the example to match common sort
order.

Fixes: 361104b05684 ("dt-bindings: mfd: Convert da9063 to yaml")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/f512045738d2102c771a171a514ed7cf612c6d6f.1708944455.git.geert+renesas@glider.be
Signed-off-by: Lee Jones <[email protected]>
Documentation/devicetree/bindings/mfd/dlg,da9063.yaml

index da741c9994456ad9f42378d2ea1804e683d9d772..51612dc22748fcbfc0805877abf7a9c91fe0a88e 100644 (file)
@@ -112,6 +112,7 @@ allOf:
       required:
         - interrupts
         - interrupt-controller
+        - '#interrupt-cells'
 
   - if:
       properties:
@@ -162,10 +163,10 @@ examples:
       pmic@58 {
         compatible = "dlg,da9063";
         reg = <0x58>;
-        #interrupt-cells = <2>;
         interrupt-parent = <&gpio6>;
         interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
         interrupt-controller;
+        #interrupt-cells = <2>;
 
         rtc {
           compatible = "dlg,da9063-rtc";
This page took 0.036979 seconds and 4 git commands to generate.