Re: [PATCH 1/2] dt-bindings: gpio: Add CAT9532 GPIO
From: Linus Walleij
Date: Tue Sep 15 2026 - 06:14:25 EST
Hi Alban,
another thing!
The second patch says that the 9532 is an exclusively (?)
open drain GPIO controller.
In that case, the example here should show a consumer
using the open drain flag with a comment stating that
the driver can only provide open drain GPIOs so all
consumers must set this flag.
#include <dt-bindings/gpio/gpio.h>
consumer {
gpios = <&gpio 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
};
Yours,
Linus Walleij