Re: [RFC PATCH v1 1/2] dt-bindings: gpio: add gpio-split controller
From: Krzysztof Kozlowski
Date: Thu Oct 09 2025 - 21:13:00 EST
On 10/10/2025 07:35, Jonas Jelonek wrote:
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-split.yaml b/Documentation/devicetree/bindings/gpio/gpio-split.yaml
> new file mode 100644
> index 000000000000..9a58c81da4fa
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/gpio-split.yaml
> @@ -0,0 +1,77 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/gpio/gpio-split.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: GPIO split
> +
> +maintainers:
> + - Jonas Jelonek <jelonek.jonas@xxxxxxxxx>
> +
> +description:
> + A virtual GPIO controller to provide virtual GPIOs backed by a single real
> + GPIO and a multiplexer. This controller may be used in case a real GPIO is
> + connected to multiple inputs/outputs and controlled by a multiplexer, and
> + another subsystem/driver is not able to work with multiplexer subsystem.
Instead, please fix the subsystem driver?
I have also doubts we actually want it in DT, because we tie the
limitation of Linux drivers to bindings.
Best regards,
Krzysztof