[PATCH v3 0/2] Add ADG1712 SPST switch controller support
From: Antoniu Miclaus
Date: Mon Nov 17 2025 - 04:23:27 EST
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
- Driver now sets switches once at probe time based on DT properties
- Updated descriptions to clarify that switches cannot be changed from userspace
- Simplified driver structure and removed all GPIO chip functionality
Antoniu Miclaus (2):
dt-bindings: switch: adg1712: add adg1712 support
gpio: adg1712: add driver support
.../bindings/switch/adi,adg1712.yaml | 68 +++++++++++++++
drivers/gpio/Kconfig | 9 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-adg1712.c | 87 +++++++++++++++++++
4 files changed, 165 insertions(+)
create mode 100644 Documentation/devicetree/bindings/switch/adi,adg1712.yaml
create mode 100644 drivers/gpio/gpio-adg1712.c
--
2.43.0