mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Antoniu Miclaus <antoniu.miclaus@analog.com>
To: Peter Rosin <peda@axentia.se>, Rob Herring <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Srinivas Kandagatla" <srini@kernel.org>,
	Antoniu Miclaus <antoniu.miclaus@analog.com>,
	Johan Hovold <johan+linaro@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	David Lechner <dlechner@baylibre.com>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH v5 0/2] mux: gpio-mux: add enable GPIO support
Date: Fri, 23 Jan 2026 16:57:30 +0200	[thread overview]
Message-ID: <20260123145743.75705-1-antoniu.miclaus@analog.com> (raw)

This series adds optional enable GPIO support to the gpio-mux driver.
The enable GPIO allows the multiplexer to be disabled before changing
address lines and re-enabled after, preventing glitches that could
briefly activate unintended channels during transitions.

This feature is useful for devices like the Analog Devices ADG2404
(4:1 mux) that require enable control for glitch-free operation. The
binding documentation now includes ADG2404 as a supported device with
a dedicated example.

Changes in v5:
 - dt-bindings: Expand enable-gpios description to explain high-impedance
   (high-Z) behavior and analog signal considerations
 - dt-bindings: Remove separate ADG2404 example, add enable-gpios to
   existing example instead
 - driver: Enhance code comment to explain high-Z state and downstream
   capacitance for analog multiplexers

Antoniu Miclaus (2):
  dt-bindings: mux: gpio-mux: add enable-gpios support
  mux: gpio-mux: add support for enable GPIO

 .../devicetree/bindings/mux/gpio-mux.yaml     | 16 +++++++++
 drivers/mux/gpio.c                            | 35 ++++++++++++++++++-
 2 files changed, 50 insertions(+), 1 deletion(-)

-- 
2.43.0


             reply	other threads:[~2026-01-23 14:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-23 14:57 Antoniu Miclaus [this message]
2026-01-23 14:57 ` [PATCH v5 1/2] dt-bindings: mux: gpio-mux: add enable-gpios support Antoniu Miclaus
2026-01-23 17:10   ` Conor Dooley
2026-01-23 14:57 ` [PATCH v5 2/2] mux: gpio-mux: add support for enable GPIO Antoniu Miclaus
2026-01-27  9:27   ` Bartosz Golaszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260123145743.75705-1-antoniu.miclaus@analog.com \
    --to=antoniu.miclaus@analog.com \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=johan+linaro@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peda@axentia.se \
    --cc=robh@kernel.org \
    --cc=srini@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®