WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / ht16k33.txt
blobd5a8b070b46779a410062a624ba9af0b498aaf18
1 Holtek ht16k33 RAM mapping 16*8 LED controller driver with keyscan
2 -------------------------------------------------------------------------------
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).
13 Optional properties:
14 - linux,no-autorepeat:  Disable keyrepeat.
15 - default-brightness-level: Initial brightness level [0-15] (default: 15).
17 Example:
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         };