~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/gpio-delay.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/gpio/gpio-delay.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/gpio/gpio-delay.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/gpio/gpio-d      4 $id: http://devicetree.org/schemas/gpio/gpio-delay.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: GPIO delay controller                        7 title: GPIO delay controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Alexander Stein <linux@ew.tq-group.com>         10   - Alexander Stein <linux@ew.tq-group.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   This binding describes an electrical setup w     13   This binding describes an electrical setup where setting an GPIO output
 14   is delayed by some external setup, e.g. RC c     14   is delayed by some external setup, e.g. RC circuit.
 15                                                    15 
 16   +----------+                    +-----------     16   +----------+                    +-----------+
 17   |          |             VCC_B  |                17   |          |             VCC_B  |           |
 18   |          |              |     |                18   |          |              |     |           |
 19   |          | VCC_A        _     |                19   |          | VCC_A        _     |           |
 20   |  GPIO    |             | | R  |  Consumer      20   |  GPIO    |             | | R  |  Consumer |
 21   |controller|        ___  |_|    |                21   |controller|        ___  |_|    |           |
 22   |          |       |   |  |     |                22   |          |       |   |  |     |           |
 23   |      [IOx|-------|   |--+-----|-----+          23   |      [IOx|-------|   |--+-----|-----+     |
 24   |          |       |___|  |     |   input        24   |          |       |___|  |     |   input   |
 25   |          |              |     |                25   |          |              |     |           |
 26   +----------+             --- C  +-----------     26   +----------+             --- C  +-----------+
 27                            ---                     27                            ---
 28                             |                      28                             |
 29                             -                      29                             -
 30                            GND                     30                            GND
 31                                                    31 
 32   If the input on the consumer is controlled b     32   If the input on the consumer is controlled by an open-drain signal
 33   attached to an RC circuit the ramp-up delay      33   attached to an RC circuit the ramp-up delay is not under control
 34   of the GPIO controller.                          34   of the GPIO controller.
 35                                                    35 
 36 properties:                                        36 properties:
 37   compatible:                                      37   compatible:
 38     const: gpio-delay                              38     const: gpio-delay
 39                                                    39 
 40   "#gpio-cells":                                   40   "#gpio-cells":
 41     description: |                                 41     description: |
 42       Specifies the pin, ramp-up and ramp-down     42       Specifies the pin, ramp-up and ramp-down delays. The
 43       delays are specified in microseconds.        43       delays are specified in microseconds.
 44     const: 3                                       44     const: 3
 45                                                    45 
 46   gpios:                                           46   gpios:
 47     description: Array of GPIOs which output s     47     description: Array of GPIOs which output signal change is delayed
 48     minItems: 1                                    48     minItems: 1
 49     maxItems: 32                                   49     maxItems: 32
 50                                                    50 
 51   gpio-controller: true                            51   gpio-controller: true
 52                                                    52 
 53   gpio-line-names:                                 53   gpio-line-names:
 54     minItems: 1                                    54     minItems: 1
 55     maxItems: 32                                   55     maxItems: 32
 56                                                    56 
 57 required:                                          57 required:
 58   - compatible                                     58   - compatible
 59   - "#gpio-cells"                                  59   - "#gpio-cells"
 60   - gpio-controller                                60   - gpio-controller
 61   - gpios                                          61   - gpios
 62                                                    62 
 63 additionalProperties: false                        63 additionalProperties: false
 64                                                    64 
 65 examples:                                          65 examples:
 66   - |                                              66   - |
 67     #include <dt-bindings/gpio/gpio.h>             67     #include <dt-bindings/gpio/gpio.h>
 68                                                    68 
 69     enable_delay: enable-delay {                   69     enable_delay: enable-delay {
 70         compatible = "gpio-delay";                 70         compatible = "gpio-delay";
 71         #gpio-cells = <3>;                         71         #gpio-cells = <3>;
 72         gpio-controller;                           72         gpio-controller;
 73         gpios = <&gpio0 3 GPIO_ACTIVE_LOW>,        73         gpios = <&gpio0 3 GPIO_ACTIVE_LOW>,
 74                 <&gpio3 1 GPIO_ACTIVE_HIGH>;       74                 <&gpio3 1 GPIO_ACTIVE_HIGH>;
 75     };                                             75     };
 76                                                    76 
 77     consumer {                                     77     consumer {
 78         enable-gpios = <&enable_delay 0 130000     78         enable-gpios = <&enable_delay 0 130000 30000>;
 79     };                                             79     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php