Re: [PATCH] input: keyboard: Add sprd-keypad driver

From: Randy Dunlap
Date: Tue Aug 08 2023 - 16:54:35 EST


Hi--

On 8/8/23 00:25, Wenhua Lin wrote:
> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
> index 1d0c5f4c0f99..f35d9bf05f72 100644
> --- a/drivers/input/keyboard/Kconfig
> +++ b/drivers/input/keyboard/Kconfig
> @@ -809,4 +809,14 @@ config KEYBOARD_CYPRESS_SF
> To compile this driver as a module, choose M here: the
> module will be called cypress-sf.
>
> +config KEYBOARD_SPRD
> + tristate "Spreadtrum keyboard support"
> + depends on ARCH_SPRD || COMPILE_TEST
> + select INPUT_MATRIXKMAP
> + help
> + Keypad controller is used to interface a SoC with a matrix-keypad device,

an SoC device.

> + The keypad controller supports multiple row and column lines.
> + Say Y if you want to use the SPRD keyboard.
> + Say M if you want to use the SPRD keyboard on SoC as module.
> +
> endif

--
~Randy