| # Microchip XEC Keyboard Scan Matrix configuration options |
| # Copyright (c) 2019 Intel Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| bool "XEC Microchip KSCAN driver" |
| depends on SOC_FAMILY_MEC |
| Enable the Microchip XEC Kscan IO driver. |
| config KSCAN_XEC_COLUMN_SIZE |
| int "KSCAN_XEC_COLUMN_SIZE" |
| Adjust the value to your keyboard columns. The maximum |
| column size for the Microchip XEC family is 18 (from 0 to 17). |
| config KSCAN_XEC_ROW_SIZE |
| Adjust the value to your keyboard rows. The maximum |
| column size for the Microchip XEC family is 8 (from 0 to 7). |
| config KSCAN_XEC_DEBOUNCE_DOWN |
| int "KSCAN_XEC_DEBOUNCE_DOWN" |
| Determines the time in msecs for debouncing a key press. |
| config KSCAN_XEC_DEBOUNCE_UP |
| int "KSCAN_XEC_DEBOUNCE_UP" |
| Determines the time in msecs for debouncing a key release. |
| config KSCAN_XEC_POLL_PERIOD |
| int "KSCAN_XEC_POLL_PERIOD" |
| Defines the poll period in msecs between between matrix scans. |