Skip to content

Commit d3dc362

Browse files
geertulag-linaro
authored andcommitted
dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required
'#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: 361104b ("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]>
1 parent ec01319 commit d3dc362

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/mfd/dlg,da9063.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ allOf:
112112
required:
113113
- interrupts
114114
- interrupt-controller
115+
- '#interrupt-cells'
115116

116117
- if:
117118
properties:
@@ -162,10 +163,10 @@ examples:
162163
pmic@58 {
163164
compatible = "dlg,da9063";
164165
reg = <0x58>;
165-
#interrupt-cells = <2>;
166166
interrupt-parent = <&gpio6>;
167167
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
168168
interrupt-controller;
169+
#interrupt-cells = <2>;
169170
170171
rtc {
171172
compatible = "dlg,da9063-rtc";

0 commit comments

Comments
 (0)