Re: [PATCH v3 0/2] Add ADG1712 SPST switch controller support

From: Nuno Sá

Date: Mon Nov 17 2025 - 10:05:52 EST


On Mon, 2025-11-17 at 09:13 +0000, Antoniu Miclaus wrote:
> This series adds support for the Analog Devices ADG1712 quad single-pole,
> single-throw (SPST) switch controller.
>
> The ADG1712 contains four independent analog switches, each controlled by
> a dedicated GPIO input pin. This implementation configures the switches
> once at probe time based on device tree properties.
>
> Changes in v3:
> - Moved device tree bindings from gpio/ to switch/ subsystem
> - Completely redesigned driver architecture: removed GPIO controller interface
> - Added 'switch-states' device tree property for configuring initial switch states

Hmm but if we are going that direction, I wonder if this should be in drivers/gpio at
all?

We have drivers/mux/gpio.c. While this is a switch (and not a mux) I guess it would still
be more appropriate in there and probably works out of the box?

- Nuno Sá