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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/serio/ps2-gpio.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/serio/ps2-gpio.yaml (Architecture mips) and /Documentation/devicetree/bindings/serio/ps2-gpio.yaml (Architecture sparc)


  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/serio/ps2-g      4 $id: http://devicetree.org/schemas/serio/ps2-gpio.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: GPIO based PS/2                              7 title: GPIO based PS/2
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Danilo Krummrich <danilokrummrich@dk-develo     10   - Danilo Krummrich <danilokrummrich@dk-develop.de>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     const: ps2-gpio                                14     const: ps2-gpio
 15                                                    15 
 16   data-gpios:                                      16   data-gpios:
 17     description:                                   17     description:
 18       the gpio used for the data signal - this     18       the gpio used for the data signal - this should be flagged as
 19       active high using open drain with (GPIO_     19       active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)
 20       from <dt-bindings/gpio/gpio.h> since the     20       from <dt-bindings/gpio/gpio.h> since the signal is open drain by
 21       definition                                   21       definition
 22     maxItems: 1                                    22     maxItems: 1
 23                                                    23 
 24   clk-gpios:                                       24   clk-gpios:
 25     description:                                   25     description:
 26       the gpio used for the clock signal - thi     26       the gpio used for the clock signal - this should be flagged as
 27       active high using open drain with (GPIO_     27       active high using open drain with (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)
 28       from <dt-bindings/gpio/gpio.h> since the     28       from <dt-bindings/gpio/gpio.h> since the signal is open drain by
 29       definition                                   29       definition
 30     maxItems: 1                                    30     maxItems: 1
 31                                                    31 
 32   interrupts:                                      32   interrupts:
 33     description:                                   33     description:
 34       The given interrupt should trigger on th     34       The given interrupt should trigger on the falling edge of the clock line.
 35     maxItems: 1                                    35     maxItems: 1
 36                                                    36 
 37   write-enable:                                    37   write-enable:
 38     type: boolean                                  38     type: boolean
 39     description:                                   39     description:
 40       Indicates whether write function is prov     40       Indicates whether write function is provided to serio device. Possibly
 41       providing the write function will not wo     41       providing the write function will not work, because of the tough timing
 42       requirements.                                42       requirements.
 43                                                    43 
 44 required:                                          44 required:
 45   - compatible                                     45   - compatible
 46   - data-gpios                                     46   - data-gpios
 47   - clk-gpios                                      47   - clk-gpios
 48   - interrupts                                     48   - interrupts
 49                                                    49 
 50 additionalProperties: false                        50 additionalProperties: false
 51                                                    51 
 52 examples:                                          52 examples:
 53   - |                                              53   - |
 54     #include <dt-bindings/gpio/gpio.h>             54     #include <dt-bindings/gpio/gpio.h>
 55     #include <dt-bindings/interrupt-controller     55     #include <dt-bindings/interrupt-controller/irq.h>
 56                                                    56 
 57     ps2 {                                          57     ps2 {
 58         compatible = "ps2-gpio";                   58         compatible = "ps2-gpio";
 59         interrupt-parent = <&gpio>;                59         interrupt-parent = <&gpio>;
 60         interrupts = <23 IRQ_TYPE_EDGE_FALLING     60         interrupts = <23 IRQ_TYPE_EDGE_FALLING>;
 61         data-gpios = <&gpio 24 (GPIO_ACTIVE_HI     61         data-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 62         clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIG     62         clk-gpios = <&gpio 23 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 63         write-enable;                              63         write-enable;
 64     };                                             64     };
                                                      

~ [ 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