[PATCH v1 0/2] Input: Add Nuvoton MA35D1 keypad support
From: Feng-Yi Hsueh
Date: Tue Nov 10 2026 - 06:18:52 EST
This series adds support for the Nuvoton MA35D1 hardware
matrix keypad controller.
The controller supports up to eight rows and eight columns.
It provides key press and release event registers, which
the driver handles through the Linux input subsystem.
The driver uses the common clock framework and configures
the controller's scanning and debounce parameters using
fixed register settings.
The series consists of:
- A device tree binding for the MA35D1 keypad controller.
- An input driver with Kconfig and Makefile integration.
Tested on a Nuvoton MA35D1 board with a 4x1 keypad
configuration and a 1 MHz KPI clock.
Tests performed:
- Key press and release events verified using evtest.
- Input device open and close verified using evtest.
An earlier MA35D1 keypad driver was submitted by Ming-jen Chen. This series is a separate v1 submission with a revised implementation, focusing on simpler clock management and hardware event handling
Feng-Yi Hsueh (2):
dt-bindings: input: Add Nuvoton MA35D1 keypad controller
Input: keyboard: Add Nuvoton MA35D1 keypad driver
.../bindings/input/nuvoton,ma35d1-keypad.yaml | 73 ++++
drivers/input/keyboard/Kconfig | 11 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/ma35d1_keypad.c | 405 ++++++++++++++++++
4 files changed, 490 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/nuvoton,ma35d1-keypad.yaml
create mode 100644 drivers/input/keyboard/ma35d1_keypad.c
--
2.43.0