GPIO driven charlieplex keypad support

modulename: charlieplex_keypad.ko

configname: CONFIG_KEYBOARD_CHARLIEPLEX

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Keyboards
└─>GPIO driven charlieplex keypad support
In linux kernel since version 5.10.255 (release Date: 2026-05-08)
Enable support for GPIO driven charlieplex keypad. A charlieplex
keypad allows to use fewer GPIO lines to interface to key switches.
For example, an N lines charlieplex keypad can be used to interface
to N^2-N different key switches. However, this type of keypad
cannot detect more than one key press at a time.

To compile this driver as a module, choose M here: the
module will be called charlieplex_keypad.
source code: