The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/input/lpc32xx-key.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 NXP LPC32xx Key Scan Interface
    2 
    3 This binding is based on the matrix-keymap binding with the following
    4 changes:
    5 
    6 Required Properties:
    7 - compatible: Should be "nxp,lpc3220-key"
    8 - reg: Physical base address of the controller and length of memory mapped
    9   region.
   10 - interrupts: The interrupt number to the cpu.
   11 - clocks: phandle to clock controller plus clock-specifier pair
   12 - nxp,debounce-delay-ms: Debounce delay in ms
   13 - nxp,scan-delay-ms: Repeated scan period in ms
   14 - linux,keymap: the key-code to be reported when the key is pressed
   15   and released, see also
   16   Documentation/devicetree/bindings/input/matrix-keymap.txt
   17 
   18 Note: keypad,num-rows and keypad,num-columns are required, and must be equal
   19 since LPC32xx only supports square matrices
   20 
   21 Example:
   22 
   23         key@40050000 {
   24                 compatible = "nxp,lpc3220-key";
   25                 reg = <0x40050000 0x1000>;
   26                 clocks = <&clk LPC32XX_CLK_KEY>;
   27                 interrupt-parent = <&sic1>;
   28                 interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
   29                 keypad,num-rows = <1>;
   30                 keypad,num-columns = <1>;
   31                 nxp,debounce-delay-ms = <3>;
   32                 nxp,scan-delay-ms = <34>;
   33                 linux,keymap = <0x00000002>;
   34         };

Cache object: 33f5a7321831ab91cb07229518c4ec92


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.