1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/gpio/gpio-delay.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO delay controller
10 - Alexander Stein <linux@ew.tq-group.com>
13 This binding describes an electrical setup where setting an GPIO output
14 is delayed by some external setup, e.g. RC circuit.
16 +----------+ +-----------+
20 | GPIO | | | R | Consumer |
21 |controller| ___ |_| | |
23 | [IOx|-------| |--+-----|-----+ |
26 +----------+ --- C +-----------+
32 If the input on the consumer is controlled by an open-drain signal
33 attached to an RC circuit the ramp-up delay is not under control
34 of the GPIO controller.
42 Specifies the pin, ramp-up and ramp-down delays. The
43 delays are specified in microseconds.
47 description: Array of GPIOs which output signal change is delayed
63 additionalProperties: false
67 #include <dt-bindings/gpio/gpio.h>
69 enable_delay: enable-delay {
70 compatible = "gpio-delay";
73 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>,
74 <&gpio3 1 GPIO_ACTIVE_HIGH>;
78 enable-gpios = <&enable_delay 0 130000 30000>;