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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt

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/nvidia,tegra20-kbc.txt (Architecture i386) and /Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt (Architecture m68k)


  1 * Tegra keyboard controller                         1 * Tegra keyboard controller
  2 The key controller has maximum 24 pins to make      2 The key controller has maximum 24 pins to make matrix keypad. Any pin
  3 can be configured as row or column. The maximu      3 can be configured as row or column. The maximum column pin can be 8
  4 and maximum row pins can be 16 for Tegra20/Teg      4 and maximum row pins can be 16 for Tegra20/Tegra30.
  5                                                     5 
  6 Required properties:                                6 Required properties:
  7 - compatible: "nvidia,tegra20-kbc"                  7 - compatible: "nvidia,tegra20-kbc"
  8 - reg: Register base address of KBC.                8 - reg: Register base address of KBC.
  9 - interrupts: Interrupt number for the KBC.         9 - interrupts: Interrupt number for the KBC.
 10 - nvidia,kbc-row-pins: The KBC pins which are      10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an
 11   array of pin numbers which is used as rows.      11   array of pin numbers which is used as rows.
 12 - nvidia,kbc-col-pins: The KBC pins which are      12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an
 13   array of pin numbers which is used as column     13   array of pin numbers which is used as column.
 14 - linux,keymap: The keymap for keys as describ     14 - linux,keymap: The keymap for keys as described in the binding document
 15   devicetree/bindings/input/matrix-keymap.txt.     15   devicetree/bindings/input/matrix-keymap.txt.
 16 - clocks: Must contain one entry, for the modu     16 - clocks: Must contain one entry, for the module clock.
 17   See ../clocks/clock-bindings.txt for details     17   See ../clocks/clock-bindings.txt for details.
 18 - resets: Must contain an entry for each entry     18 - resets: Must contain an entry for each entry in reset-names.
 19   See ../reset/reset.txt for details.              19   See ../reset/reset.txt for details.
 20 - reset-names: Must include the following entr     20 - reset-names: Must include the following entries:
 21   - kbc                                            21   - kbc
 22                                                    22 
 23 Optional properties, in addition to those spec     23 Optional properties, in addition to those specified by the shared
 24 matrix-keyboard bindings:                          24 matrix-keyboard bindings:
 25                                                    25 
 26 - linux,fn-keymap: a second keymap, same speci     26 - linux,fn-keymap: a second keymap, same specification as the
 27   matrix-keyboard-controller spec but to be us     27   matrix-keyboard-controller spec but to be used when the KEY_FN modifier
 28   key is pressed.                                  28   key is pressed.
 29 - nvidia,debounce-delay-ms: delay in milliseco     29 - nvidia,debounce-delay-ms: delay in milliseconds per row scan for debouncing
 30 - nvidia,repeat-delay-ms: delay in millisecond     30 - nvidia,repeat-delay-ms: delay in milliseconds before repeat starts
 31 - nvidia,ghost-filter: enable ghost filtering      31 - nvidia,ghost-filter: enable ghost filtering for this device
 32 - wakeup-source: configure keyboard as a wakeu     32 - wakeup-source: configure keyboard as a wakeup source for suspend/resume
 33                  (Legacy property supported: "     33                  (Legacy property supported: "nvidia,wakeup-source")
 34                                                    34 
 35 Example:                                           35 Example:
 36                                                    36 
 37 keyboard: keyboard {                               37 keyboard: keyboard {
 38         compatible = "nvidia,tegra20-kbc";         38         compatible = "nvidia,tegra20-kbc";
 39         reg = <0x7000e200 0x100>;                  39         reg = <0x7000e200 0x100>;
 40         interrupts = <0 85 0x04>;                  40         interrupts = <0 85 0x04>;
 41         clocks = <&tegra_car 36>;                  41         clocks = <&tegra_car 36>;
 42         resets = <&tegra_car 36>;                  42         resets = <&tegra_car 36>;
 43         reset-names = "kbc";                       43         reset-names = "kbc";
 44         nvidia,ghost-filter;                       44         nvidia,ghost-filter;
 45         nvidia,debounce-delay-ms = <640>;          45         nvidia,debounce-delay-ms = <640>;
 46         nvidia,kbc-row-pins = <0 1 2>;    /* p     46         nvidia,kbc-row-pins = <0 1 2>;    /* pin 0, 1, 2 as rows */
 47         nvidia,kbc-col-pins = <11 12 13>; /* p     47         nvidia,kbc-col-pins = <11 12 13>; /* pin 11, 12, 13 as columns */
 48         linux,keymap = <0x00000074                 48         linux,keymap = <0x00000074
 49                         0x00010067                 49                         0x00010067
 50                         0x00020066                 50                         0x00020066
 51                         0x01010068                 51                         0x01010068
 52                         0x02000069                 52                         0x02000069
 53                         0x02010070                 53                         0x02010070
 54                         0x02020071>;               54                         0x02020071>;
 55 };                                                 55 };
                                                      

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