linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Add ADG1712 SPST switch controller support
@ 2025-11-17  9:13 Antoniu Miclaus
  2025-11-17  9:13 ` [PATCH v3 1/2] dt-bindings: switch: adg1712: add adg1712 support Antoniu Miclaus
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Antoniu Miclaus @ 2025-11-17  9:13 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Antoniu Miclaus, devicetree, linux-kernel,
	linux-gpio

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-11-20 23:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17  9:13 [PATCH v3 0/2] Add ADG1712 SPST switch controller support Antoniu Miclaus
2025-11-17  9:13 ` [PATCH v3 1/2] dt-bindings: switch: adg1712: add adg1712 support Antoniu Miclaus
2025-11-19 13:45   ` Linus Walleij
2025-11-19 17:56   ` Conor Dooley
2025-11-19 21:22     ` Linus Walleij
2025-11-20  0:31       ` Conor Dooley
2025-11-20 23:19         ` Linus Walleij
2025-11-17  9:13 ` [PATCH v3 2/2] gpio: adg1712: add driver support Antoniu Miclaus
2025-11-17 14:46   ` Bartosz Golaszewski
2025-11-19 13:59   ` Linus Walleij
2025-11-17 15:06 ` [PATCH v3 0/2] Add ADG1712 SPST switch controller support Nuno Sá

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).