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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/input/input.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/input/input.yaml (Architecture ppc) and /Documentation/devicetree/bindings/input/input.yaml (Architecture sparc64)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/input/input      4 $id: http://devicetree.org/schemas/input/input.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Input Devices Common Properties              7 title: Input Devices Common Properties
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Dmitry Torokhov <dmitry.torokhov@gmail.com>     10   - Dmitry Torokhov <dmitry.torokhov@gmail.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   autorepeat:                                      13   autorepeat:
 14     description: Enable autorepeat when key is     14     description: Enable autorepeat when key is pressed and held down.
 15     type: boolean                                  15     type: boolean
 16                                                    16 
 17   linux,keycodes:                                  17   linux,keycodes:
 18     description:                                   18     description:
 19       Specifies an array of numeric keycode va     19       Specifies an array of numeric keycode values to be used for reporting
 20       button presses.                              20       button presses.
 21     $ref: /schemas/types.yaml#/definitions/uin     21     $ref: /schemas/types.yaml#/definitions/uint32-array
 22     items:                                         22     items:
 23       minimum: 0                                   23       minimum: 0
 24       maximum: 0x2ff                               24       maximum: 0x2ff
 25                                                    25 
 26   linux,code:                                      26   linux,code:
 27     description:                                   27     description:
 28       Specifies a single numeric keycode value     28       Specifies a single numeric keycode value to be used for reporting
 29       button/switch events. Specify KEY_RESERV     29       button/switch events. Specify KEY_RESERVED (0) to opt out of event
 30       reporting.                                   30       reporting.
 31     $ref: /schemas/types.yaml#/definitions/uin     31     $ref: /schemas/types.yaml#/definitions/uint32
 32     maximum: 0x2ff                                 32     maximum: 0x2ff
 33                                                    33 
 34   linux,input-type:                                34   linux,input-type:
 35     $ref: /schemas/types.yaml#/definitions/uin     35     $ref: /schemas/types.yaml#/definitions/uint32
 36     enum:                                          36     enum:
 37       - 1   # EV_KEY                               37       - 1   # EV_KEY
 38       - 2   # EV_REL                               38       - 2   # EV_REL
 39       - 3   # EV_ABS                               39       - 3   # EV_ABS
 40       - 5   # EV_SW                                40       - 5   # EV_SW
 41     description:                                   41     description:
 42       Specifies whether the event is to be int     42       Specifies whether the event is to be interpreted as a key, relative,
 43       absolute, or switch.                         43       absolute, or switch.
 44                                                    44 
 45   poll-interval:                                   45   poll-interval:
 46     description: Poll interval time in millise     46     description: Poll interval time in milliseconds.
 47     $ref: /schemas/types.yaml#/definitions/uin     47     $ref: /schemas/types.yaml#/definitions/uint32
 48                                                    48 
 49   power-off-time-sec:                              49   power-off-time-sec:
 50     description:                                   50     description:
 51       Duration in seconds which the key should     51       Duration in seconds which the key should be kept pressed for device to
 52       power off automatically. Device with key     52       power off automatically. Device with key pressed shutdown feature can
 53       specify this property.                       53       specify this property.
 54                                                    54 
 55   reset-time-sec:                                  55   reset-time-sec:
 56     description:                                   56     description:
 57       Duration in seconds which the key should     57       Duration in seconds which the key should be kept pressed for device to
 58       reset automatically. Device with key pre     58       reset automatically. Device with key pressed reset feature can specify
 59       this property.                               59       this property.
 60                                                    60 
 61 dependencies:                                      61 dependencies:
 62   linux,input-type: [ "linux,code" ]               62   linux,input-type: [ "linux,code" ]
 63                                                    63 
 64 additionalProperties: true                         64 additionalProperties: true
                                                      

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