drivers: ht16k33: convert keyscan driver from gpio API to kscan API
Convert the keyscan portion of the Holtek HT16K33 driver to adhere to the kscan API instead of the GPIO API. When this driver was introduced the kscan API was not present. The keyscan driver was therefore implemented as a GPIO interrupt driver. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
7e52ee7fe1
commit
588d22a755
17 changed files with 153 additions and 391 deletions
12
drivers/kscan/Kconfig.ht16k33
Normal file
12
drivers/kscan/Kconfig.ht16k33
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2019 - 2021 Henrik Brix Andersen <henrik@brixandersen.dk>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config KSCAN_HT16K33
|
||||
bool "HT16K33 keyscan driver"
|
||||
depends on HT16K33_KEYSCAN
|
||||
help
|
||||
Enable keyscan driver for HT16K33.
|
||||
|
||||
The HT16K33 is a memory mapping, multifunction LED
|
||||
controller driver. The controller supports matrix key scan
|
||||
circuit of up to 13x3 keys.
|
Loading…
Add table
Add a link
Reference in a new issue