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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nspire/nspire-clp.dts

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

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  *  Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
  4  */
  5 
  6 /dts-v1/;
  7 
  8 #include <dt-bindings/input/input.h>
  9 
 10 /include/ "nspire-classic.dtsi"
 11 
 12 &keypad {
 13         linux,keymap = <
 14                 MATRIX_KEY(0,  0, 0x1c)
 15                 MATRIX_KEY(0,  1, 0x1c)
 16                 MATRIX_KEY(0,  2, 0x39)
 17                 MATRIX_KEY(0,  4, 0x2c)
 18                 MATRIX_KEY(0,  5, 0x34)
 19                 MATRIX_KEY(0,  6, 0x15)
 20                 MATRIX_KEY(0,  7, 0x0b)
 21                 MATRIX_KEY(0,  8, 0x2d)
 22                 MATRIX_KEY(1,  0, 0x33)
 23                 MATRIX_KEY(1,  1, 0x4e)
 24                 MATRIX_KEY(1,  2, 0x11)
 25                 MATRIX_KEY(1,  3, 0x04)
 26                 MATRIX_KEY(1,  4, 0x2f)
 27                 MATRIX_KEY(1,  5, 0x03)
 28                 MATRIX_KEY(1,  6, 0x16)
 29                 MATRIX_KEY(1,  7, 0x02)
 30                 MATRIX_KEY(1,  8, 0x14)
 31                 MATRIX_KEY(2,  0, 0x62)
 32                 MATRIX_KEY(2,  1, 0x0c)
 33                 MATRIX_KEY(2,  2, 0x1f)
 34                 MATRIX_KEY(2,  3, 0x07)
 35                 MATRIX_KEY(2,  4, 0x13)
 36                 MATRIX_KEY(2,  5, 0x06)
 37                 MATRIX_KEY(2,  6, 0x10)
 38                 MATRIX_KEY(2,  7, 0x05)
 39                 MATRIX_KEY(2,  8, 0x19)
 40                 MATRIX_KEY(3,  0, 0x27)
 41                 MATRIX_KEY(3,  1, 0x37)
 42                 MATRIX_KEY(3,  2, 0x18)
 43                 MATRIX_KEY(3,  3, 0x0a)
 44                 MATRIX_KEY(3,  4, 0x31)
 45                 MATRIX_KEY(3,  5, 0x09)
 46                 MATRIX_KEY(3,  6, 0x32)
 47                 MATRIX_KEY(3,  7, 0x08)
 48                 MATRIX_KEY(3,  8, 0x26)
 49                 MATRIX_KEY(4,  0, 0x28)
 50                 MATRIX_KEY(4,  1, 0x35)
 51                 MATRIX_KEY(4,  2, 0x25)
 52                 MATRIX_KEY(4,  4, 0x24)
 53                 MATRIX_KEY(4,  6, 0x17)
 54                 MATRIX_KEY(4,  8, 0x23)
 55                 MATRIX_KEY(5,  0, 0x28)
 56                 MATRIX_KEY(5,  2, 0x22)
 57                 MATRIX_KEY(5,  3, 0x1b)
 58                 MATRIX_KEY(5,  4, 0x21)
 59                 MATRIX_KEY(5,  5, 0x1a)
 60                 MATRIX_KEY(5,  6, 0x12)
 61                 MATRIX_KEY(5,  7, 0x6f)
 62                 MATRIX_KEY(5,  8, 0x20)
 63                 MATRIX_KEY(5,  9, 0x2a)
 64                 MATRIX_KEY(6,  1, 0x1c)
 65                 MATRIX_KEY(6,  2, 0x2e)
 66                 MATRIX_KEY(6,  3, 0x68)
 67                 MATRIX_KEY(6,  4, 0x30)
 68                 MATRIX_KEY(6,  5, 0x6d)
 69                 MATRIX_KEY(6,  6, 0x1e)
 70                 MATRIX_KEY(6,  7, 0x01)
 71                 MATRIX_KEY(6,  8, 0x2b)
 72                 MATRIX_KEY(6,  9, 0x0f)
 73                 MATRIX_KEY(7,  0, 0x67)
 74                 MATRIX_KEY(7,  2, 0x6a)
 75                 MATRIX_KEY(7,  4, 0x6c)
 76                 MATRIX_KEY(7,  6, 0x69)
 77                 MATRIX_KEY(7,  7, 0x0e)
 78                 MATRIX_KEY(7,  8, 0x1d)
 79                 MATRIX_KEY(7, 10, 0x0d)
 80         >;
 81 };
 82 
 83 / {
 84         model = "TI-NSPIRE Clickpad";
 85         compatible = "ti,nspire-clp";
 86 };

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