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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nspire/nspire-tp.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.9 ] ~ [ 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,  4, 0x39)
 17                 MATRIX_KEY(0,  5, 0x2c)
 18                 MATRIX_KEY(0,  6, 0x15)
 19                 MATRIX_KEY(0,  7, 0x0b)
 20                 MATRIX_KEY(0,  8, 0x0f)
 21                 MATRIX_KEY(1,  0, 0x2d)
 22                 MATRIX_KEY(1,  1, 0x11)
 23                 MATRIX_KEY(1,  2, 0x2f)
 24                 MATRIX_KEY(1,  3, 0x04)
 25                 MATRIX_KEY(1,  4, 0x16)
 26                 MATRIX_KEY(1,  5, 0x14)
 27                 MATRIX_KEY(1,  6, 0x1f)
 28                 MATRIX_KEY(1,  7, 0x02)
 29                 MATRIX_KEY(1, 10, 0x6a)
 30                 MATRIX_KEY(2,  0, 0x13)
 31                 MATRIX_KEY(2,  1, 0x10)
 32                 MATRIX_KEY(2,  2, 0x19)
 33                 MATRIX_KEY(2,  3, 0x07)
 34                 MATRIX_KEY(2,  4, 0x18)
 35                 MATRIX_KEY(2,  5, 0x31)
 36                 MATRIX_KEY(2,  6, 0x32)
 37                 MATRIX_KEY(2,  7, 0x05)
 38                 MATRIX_KEY(2,  8, 0x28)
 39                 MATRIX_KEY(2,  9, 0x6c)
 40                 MATRIX_KEY(3,  0, 0x26)
 41                 MATRIX_KEY(3,  1, 0x25)
 42                 MATRIX_KEY(3,  2, 0x24)
 43                 MATRIX_KEY(3,  3, 0x0a)
 44                 MATRIX_KEY(3,  4, 0x17)
 45                 MATRIX_KEY(3,  5, 0x23)
 46                 MATRIX_KEY(3,  6, 0x22)
 47                 MATRIX_KEY(3,  7, 0x08)
 48                 MATRIX_KEY(3,  8, 0x35)
 49                 MATRIX_KEY(3,  9, 0x69)
 50                 MATRIX_KEY(4,  0, 0x21)
 51                 MATRIX_KEY(4,  1, 0x12)
 52                 MATRIX_KEY(4,  2, 0x20)
 53                 MATRIX_KEY(4,  4, 0x2e)
 54                 MATRIX_KEY(4,  5, 0x30)
 55                 MATRIX_KEY(4,  6, 0x1e)
 56                 MATRIX_KEY(4,  7, 0x0d)
 57                 MATRIX_KEY(4,  8, 0x37)
 58                 MATRIX_KEY(4,  9, 0x67)
 59                 MATRIX_KEY(5,  1, 0x38)
 60                 MATRIX_KEY(5,  2, 0x0c)
 61                 MATRIX_KEY(5,  3, 0x1b)
 62                 MATRIX_KEY(5,  4, 0x34)
 63                 MATRIX_KEY(5,  5, 0x1a)
 64                 MATRIX_KEY(5,  6, 0x06)
 65                 MATRIX_KEY(5,  8, 0x27)
 66                 MATRIX_KEY(5,  9, 0x0e)
 67                 MATRIX_KEY(5, 10, 0x6f)
 68                 MATRIX_KEY(6,  0, 0x2b)
 69                 MATRIX_KEY(6,  2, 0x4e)
 70                 MATRIX_KEY(6,  3, 0x68)
 71                 MATRIX_KEY(6,  4, 0x03)
 72                 MATRIX_KEY(6,  5, 0x6d)
 73                 MATRIX_KEY(6,  6, 0x09)
 74                 MATRIX_KEY(6,  7, 0x01)
 75                 MATRIX_KEY(6,  9, 0x0f)
 76                 MATRIX_KEY(7,  8, 0x2a)
 77                 MATRIX_KEY(7,  9, 0x1d)
 78                 MATRIX_KEY(7, 10, 0x33)
 79         >;
 80 };
 81 
 82 / {
 83         model = "TI-NSPIRE Touchpad";
 84         compatible = "ti,nspire-tp";
 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