Re: [PATCH v3 3/4] dt-bindings: mux: gpio-mux: add adi,adg2404 support

From: Krzysztof Kozlowski

Date: Fri Jan 16 2026 - 03:29:50 EST


On Thu, Jan 15, 2026 at 02:18:21PM +0200, Antoniu Miclaus wrote:
> Add adi,adg2404 as a compatible string. The ADG2404 is a 4:1 analog
> multiplexer that uses the enable-gpios feature.
>
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@xxxxxxxxxx>
> ---
> changes in v3:
> * integrate with gpio-mux bindings instead of separate adi,adg2404.yaml
> ---
> .../devicetree/bindings/mux/gpio-mux.yaml | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mux/gpio-mux.yaml b/Documentation/devicetree/bindings/mux/gpio-mux.yaml
> index 199792d42323..f5866b9f46dd 100644
> --- a/Documentation/devicetree/bindings/mux/gpio-mux.yaml
> +++ b/Documentation/devicetree/bindings/mux/gpio-mux.yaml
> @@ -19,7 +19,9 @@ description: |+
>
> properties:
> compatible:
> - const: gpio-mux
> + enum:
> + - gpio-mux
> + - adi,adg2404

I do not understand why this was placed in gpio-mux. You have a strictly
defined hardware, with known muxes, not a flexible semi-software
binding.

Otherwise please explain: why do you have both 0 and 1 cells?

This is supposed to be in its own binding.

Best regards,
Krzysztof