Re: [PATCH 2/2] gpio: adg1712: add driver support
From: Nuno Sá
Date: Mon Nov 10 2025 - 07:32:47 EST
On Mon, 2025-11-10 at 11:30 +0100, Linus Walleij wrote:
> Hi Antoniu,
>
> thanks for your patch!
>
> On Fri, Oct 31, 2025 at 5:08 PM Antoniu Miclaus
> <antoniu.miclaus@xxxxxxxxxx> wrote:
>
> > Add driver support for the ADG1712, which contains four independent
> > single-pole/single-throw (SPST) switches and operates with a
> > low-voltage single supply range from +1.08V to +5.5V or a low-voltage
> > dual supply range from ±1.08V to ±2.75V.
> >
> > Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
>
> So tying into the binding discussion:
>
> GPIO means "general purpose input/output".
>
> I am really confused as whether this is:
>
> - General purpose - seems to be for the purpose of switching
> currents and nothing else.
>
> - Input/Output - It's switching something else and not inputting
> or outputting anything and this makes the driver look strange.
>
>
Not the first time a part like this pops up [1]. At the time, the final
conclusion was to go with gpiolib. Naturally you can think otherwise now :)
Also, it looks like that series did not went anywhere (I'll probably ping the author internally)
[1]: https://lore.kernel.org/linux-gpio/20250213-for_upstream-v2-2-ec4eff3b3cd5@xxxxxxxxxx/
- Nuno Sá