1# Microchip XEC Keyboard Scan Matrix configuration options 2 3# Copyright (c) 2019 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig KSCAN_XEC 7 bool "Microchip XEC series KSCAN driver" 8 default y 9 depends on DT_HAS_MICROCHIP_XEC_KSCAN_ENABLED 10 select MULTITHREADING 11 select PINCTRL 12 help 13 Enable the Microchip XEC Kscan IO driver. 14 15if KSCAN_XEC 16 17config KSCAN_XEC_COLUMN_SIZE 18 int "Keyscan XEC Column Size" 19 default 16 20 help 21 Adjust the value to your keyboard columns. The maximum 22 column size for the Microchip XEC family is 18 (from 0 to 17). 23 24config KSCAN_XEC_ROW_SIZE 25 int "Keyscan XEC Row Size" 26 default 8 27 help 28 Adjust the value to your keyboard rows. The maximum 29 column size for the Microchip XEC family is 8 (from 0 to 7). 30 31config KSCAN_XEC_DEBOUNCE_DOWN 32 int "Keyscan XEC Debounce Down" 33 default 10 34 help 35 Determines the time in msecs for debouncing a key press. 36 37config KSCAN_XEC_DEBOUNCE_UP 38 int "Keyscan XEC Debounce Up" 39 default 20 40 help 41 Determines the time in msecs for debouncing a key release. 42 43config KSCAN_XEC_POLL_PERIOD 44 int "Keyscan XEC Poll Period" 45 default 5 46 help 47 Defines the poll period in msecs between between matrix scans. 48 49endif # KSCAN_XEC 50