Re: [PATCH v4 2/2] dt-bindings: gpio: Add devicetree binding for IDT 79RC32434 GPIO controller
From: Linus Walleij <hidden>
Date: 2021-05-01 12:13:50
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2021-05-01 12:13:50
Also in:
linux-gpio, lkml
On Mon, Apr 26, 2021 at 11:54 AM Thomas Bogendoerfer [off-list ref] wrote:
Add YAML devicetree binding for IDT 79RC32434 GPIO controller Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> --- Changes in v4: - renamed to idt,32434-gpio this time for real
Overall looks good to me.
+required:
(...)
+ - ngpios
Is there a *technical* reason why this is required? Can't the driver just default to 32 gpios when not specified?
+ - interrupt-controller + - "#interrupt-cells" + - interrupts
Why can't interrupt support be made optional? It is fine if the driver errors out if not provided, but for the bindings this feels optional. Or does the thing break unless you handle the IRQs? Yours, Linus Walleij