diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-02-26 13:50:02 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-02-29 20:15:26 +0300 |
commit | d3dc362b3a3d20d64208426cc86146eb241d7c7f (patch) | |
tree | 7190f4a9d8a9ab5c086878ad6c421602b5123cc1 /Documentation/devicetree/bindings/mfd/dlg,da9063.yaml | |
parent | ec0131916367e73420c66e9c4089f11872e028f1 (diff) | |
download | linux-d3dc362b3a3d20d64208426cc86146eb241d7c7f.tar.xz |
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: 361104b05684 ("dt-bindings: mfd: Convert da9063 to yaml")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/f512045738d2102c771a171a514ed7cf612c6d6f.1708944455.git.geert+renesas@glider.be
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/dlg,da9063.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/dlg,da9063.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml index da741c999445..51612dc22748 100644 --- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml +++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml @@ -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"; |