]> git.ipfire.org Git - people/ms/linux.git/commit
dt-bindings: pinctrl: sunxi: Make interrupts optional
authorAndre Przywara <andre.przywara@arm.com>
Fri, 8 Jul 2022 10:52:30 +0000 (11:52 +0100)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sat, 9 Jul 2022 18:08:53 +0000 (20:08 +0200)
commit4eeca34bd992f503260355b936093c19454030c7
tree232df0f0b2389672ac024ed84dce66fe6b5ee286
parent3a1149e59a942bae46c03cf2f01c6e462e7a7b80
dt-bindings: pinctrl: sunxi: Make interrupts optional

The R_PIO pinctrl device on the Allwinner H616 SoC does not have an
interrupt (it features only two pins).
However the binding requires at least naming one upstream interrupt,
plus the #interrupt-cells and interrupt-controller properties.

Drop the unconditional requirement for the interrupt properties, and
make them dependent on being not this particular pinctrl device.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220708105235.3983266-3-andre.przywara@arm.com
Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml