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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/input/imx-keypad.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/imx-keypad.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/input/imx-keypad.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/input/imx-k      4 $id: http://devicetree.org/schemas/input/imx-keypad.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale i.MX Keypad Port(KPP)              7 title: Freescale i.MX Keypad Port(KPP)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Liu Ying <gnuiyl@gmail.com>                     10   - Liu Ying <gnuiyl@gmail.com>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: /schemas/input/matrix-keymap.yaml#       13   - $ref: /schemas/input/matrix-keymap.yaml#
 14                                                    14 
 15 description: |                                     15 description: |
 16   The KPP is designed to interface with a keyp     16   The KPP is designed to interface with a keypad matrix with 2-point contact
 17   or 3-point contact keys. The KPP is designed     17   or 3-point contact keys. The KPP is designed to simplify the software task
 18   of scanning a keypad matrix. The KPP is capa     18   of scanning a keypad matrix. The KPP is capable of detecting, debouncing,
 19   and decoding one or multiple keys pressed si     19   and decoding one or multiple keys pressed simultaneously on a keypad.
 20                                                    20 
 21 properties:                                        21 properties:
 22   compatible:                                      22   compatible:
 23     oneOf:                                         23     oneOf:
 24       - const: fsl,imx21-kpp                       24       - const: fsl,imx21-kpp
 25       - items:                                     25       - items:
 26           - enum:                                  26           - enum:
 27               - fsl,imx25-kpp                      27               - fsl,imx25-kpp
 28               - fsl,imx27-kpp                      28               - fsl,imx27-kpp
 29               - fsl,imx31-kpp                      29               - fsl,imx31-kpp
 30               - fsl,imx35-kpp                      30               - fsl,imx35-kpp
 31               - fsl,imx51-kpp                      31               - fsl,imx51-kpp
 32               - fsl,imx53-kpp                      32               - fsl,imx53-kpp
 33               - fsl,imx50-kpp                      33               - fsl,imx50-kpp
 34               - fsl,imx6q-kpp                      34               - fsl,imx6q-kpp
 35               - fsl,imx6sx-kpp                     35               - fsl,imx6sx-kpp
 36               - fsl,imx6sl-kpp                     36               - fsl,imx6sl-kpp
 37               - fsl,imx6sll-kpp                    37               - fsl,imx6sll-kpp
 38               - fsl,imx6ul-kpp                     38               - fsl,imx6ul-kpp
 39               - fsl,imx7d-kpp                      39               - fsl,imx7d-kpp
 40           - const: fsl,imx21-kpp                   40           - const: fsl,imx21-kpp
 41                                                    41 
 42   reg:                                             42   reg:
 43     maxItems: 1                                    43     maxItems: 1
 44                                                    44 
 45   interrupts:                                      45   interrupts:
 46     maxItems: 1                                    46     maxItems: 1
 47                                                    47 
 48   clocks:                                          48   clocks:
 49     maxItems: 1                                    49     maxItems: 1
 50                                                    50 
 51 required:                                          51 required:
 52   - compatible                                     52   - compatible
 53   - reg                                            53   - reg
 54   - interrupts                                     54   - interrupts
 55   - clocks                                         55   - clocks
 56   - linux,keymap                                   56   - linux,keymap
 57                                                    57 
 58 unevaluatedProperties: false                       58 unevaluatedProperties: false
 59                                                    59 
 60 examples:                                          60 examples:
 61   - |                                              61   - |
 62     keypad@73f94000 {                              62     keypad@73f94000 {
 63         compatible = "fsl,imx51-kpp", "fsl,imx     63         compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
 64         reg = <0x73f94000 0x4000>;                 64         reg = <0x73f94000 0x4000>;
 65         interrupts = <60>;                         65         interrupts = <60>;
 66         clocks = <&clks 0>;                        66         clocks = <&clks 0>;
 67         pinctrl-names = "default";                 67         pinctrl-names = "default";
 68         pinctrl-0 = <&pinctrl_kpp_1>;              68         pinctrl-0 = <&pinctrl_kpp_1>;
 69         linux,keymap = <0x00000067      /* KEY     69         linux,keymap = <0x00000067      /* KEY_UP */
 70                         0x0001006c      /* KEY     70                         0x0001006c      /* KEY_DOWN */
 71                         0x00020072      /* KEY     71                         0x00020072      /* KEY_VOLUMEDOWN */
 72                         0x00030066      /* KEY     72                         0x00030066      /* KEY_HOME */
 73                         0x0100006a      /* KEY     73                         0x0100006a      /* KEY_RIGHT */
 74                         0x01010069      /* KEY     74                         0x01010069      /* KEY_LEFT */
 75                         0x0102001c      /* KEY     75                         0x0102001c      /* KEY_ENTER */
 76                         0x01030073      /* KEY     76                         0x01030073      /* KEY_VOLUMEUP */
 77                         0x02000040      /* KEY     77                         0x02000040      /* KEY_F6 */
 78                         0x02010042      /* KEY     78                         0x02010042      /* KEY_F8 */
 79                         0x02020043      /* KEY     79                         0x02020043      /* KEY_F9 */
 80                         0x02030044      /* KEY     80                         0x02030044      /* KEY_F10 */
 81                         0x0300003b      /* KEY     81                         0x0300003b      /* KEY_F1 */
 82                         0x0301003c      /* KEY     82                         0x0301003c      /* KEY_F2 */
 83                         0x0302003d      /* KEY     83                         0x0302003d      /* KEY_F3 */
 84                         0x03030074>;    /* KEY     84                         0x03030074>;    /* KEY_POWER */
 85     };                                             85     };
                                                      

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