auxdisplay: ht16k33: Keyscan function is now optional.
Subsystems (5)
Robin van der Gracht
maintainerPATCH 1/1 auxdisplay: ht16k33: Keyscan function is now optional.
Signed-off-by Robin van der Gracht <[email protected]>
--- .../devicetree/bindings/display/ht16k33.txt | 15 ++- drivers/auxdisplay/ht16k33.c | 126 +++++++++++---------- 2 files changed, 73 insertions(+), 68 deletions(-)
Documentation/devicetree/bindings/display/ht16k33.txt +9 -6
@@ -4,18 +4,21 @@ Holtek ht16k33 RAM mapping 16*8 LED controller driver with keyscan Required properties: - compatible: "holtek,ht16k33" - reg: I2C slave address of the chip. -- interrupt-parent: A phandle pointing to the interrupt controller - serving the interrupt for this chip. -- interrupts: Interrupt specification for the key pressed interrupt. - refresh-rate-hz: Display update interval in HZ. -- debounce-delay-ms: Debouncing interval time in milliseconds. -- linux,keymap: The keymap for keys as described in the binding - document (devicetree/bindings/input/matrix-keymap.txt). Optional properties: - linux,no-autorepeat: Disable keyrepeat. - default-brightness-level: Initial brightness level [0-15] (default: 15). +- Keypad + Supply the 'interrupts' property to enable the keyscan feature. + - interrupts: Interrupt specification for the key pressed interrupt. + - interrupt-parent: A phandle pointing to the interrupt controller + serving the interrupt for this chip. + - debounce-delay-ms: Debouncing interval time in milliseconds. + - linux,keymap: The keymap for keys as described in the binding + document (devicetree/bindings/input/matrix-keymap.txt). + Example: &i2c1 {
drivers/auxdisplay/ht16k33.c +64 -62
165 lines not on this page · raw message
Signature · 1 line
2.7.4