File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ add_subdirectory_if_kconfig(audio)
3434add_subdirectory_if_kconfig(hwinfo)
3535add_subdirectory_if_kconfig(espi)
3636add_subdirectory_if_kconfig(ps2)
37+ add_subdirectory_if_kconfig(kscan)
3738
3839add_subdirectory_ifdef(CONFIG_FLASH_HAS_DRIVER_ENABLED flash)
3940add_subdirectory_ifdef(CONFIG_SERIAL_HAS_DRIVER serial)
Original file line number Diff line number Diff line change @@ -87,4 +87,6 @@ source "drivers/espi/Kconfig"
8787
8888source "drivers/ps2/Kconfig"
8989
90+ source "drivers/kscan/Kconfig"
91+
9092endmenu
Original file line number Diff line number Diff line change 1+ # SPDX-License-Identifier: Apache-2.0
2+
3+ zephyr_library()
Original file line number Diff line number Diff line change 1+ # Kconfig - Keyboard scan configuration options
2+
3+ #
4+ # Copyright (c) 2019 Intel Corporation
5+ #
6+ # SPDX-License-Identifier: Apache-2.0
7+ #
8+
9+ menuconfig KSCAN
10+ bool "Keyboard scan Drivers"
11+ help
12+ Include Keyboard scan drivers in system config.
13+
14+ if KSCAN
15+
16+ source "drivers/kscan/Kconfig.xec"
17+
18+ module = KSCAN
19+ module-str = kscan
20+ source "subsys/logging/Kconfig.template.log_config"
21+
22+ config KSCAN_INIT_PRIORITY
23+ int "Keyboard scan driver init priority"
24+ default 40
25+ help
26+ Keyboard scan device driver initialization priority.
27+
28+ endif #KSCAN
You can’t perform that action at this time.
0 commit comments