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/display/ht16k33.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 Holtek ht16k33 RAM mapping 16*8 LED controller driver with keyscan
    2 -------------------------------------------------------------------------------
    3 
    4 Required properties:
    5 - compatible:           "holtek,ht16k33"
    6 - reg:                  I2C slave address of the chip.
    7 - interrupts:           Interrupt specification for the key pressed interrupt.
    8 - refresh-rate-hz:      Display update interval in HZ.
    9 - debounce-delay-ms:    Debouncing interval time in milliseconds.
   10 - linux,keymap:         The keymap for keys as described in the binding
   11                         document (devicetree/bindings/input/matrix-keymap.txt).
   12 
   13 Optional properties:
   14 - linux,no-autorepeat:  Disable keyrepeat.
   15 - default-brightness-level: Initial brightness level [0-15] (default: 15).
   16 
   17 Example:
   18 
   19 &i2c1 {
   20         ht16k33: ht16k33@70 {
   21                 compatible = "holtek,ht16k33";
   22                 reg = <0x70>;
   23                 refresh-rate-hz = <20>;
   24                 debounce-delay-ms = <50>;
   25                 interrupt-parent = <&gpio4>;
   26                 interrupts = <5 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>;
   27                 linux,keymap = <
   28                         MATRIX_KEY(2, 0, KEY_F6)
   29                         MATRIX_KEY(3, 0, KEY_F8)
   30                         MATRIX_KEY(4, 0, KEY_F10)
   31                         MATRIX_KEY(5, 0, KEY_F4)
   32                         MATRIX_KEY(6, 0, KEY_F2)
   33                         MATRIX_KEY(2, 1, KEY_F5)
   34                         MATRIX_KEY(3, 1, KEY_F7)
   35                         MATRIX_KEY(4, 1, KEY_F9)
   36                         MATRIX_KEY(5, 1, KEY_F3)
   37                         MATRIX_KEY(6, 1, KEY_F1)
   38                 >;
   39         };
   40 };

Cache object: bc1fa58251ac1bd8f70bed3da00dcc28


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