From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76DE83B8BC9; Wed, 25 Feb 2026 15:54:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=162.243.120.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772034865; cv=none; b=juoNbpD1xnJsXjC6uMQZeRcgXcy8HSZvao9IgVWEOqDnC/KSk4oHtk4csXv07CpGTfezSbogY9BDT3XltQW+YAegNL2YlG0hF9umvLd4meQNCK0LS0pg5YuIxg78oNV3h89DdMA8q89Zh6UzBnNthzgDlLHa+fWB0DvsC3mdbtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772034865; c=relaxed/simple; bh=gKpVdtB4h+hYpnuulQUb6v1aQk49nel2bRlXlHVQ4UE=; h=From:To:Cc:Date:Message-ID:MIME-Version:Subject; b=CE2qmZgC6o/pdaYTgUprQCYCbUXEKFTyYFb9mflv1knrcpK2+pQoa/bcEBHJM9Gs8K9j53Zrz6RpiSvWRsVZOxeIEquj7A6vPqpKjwJ0ivX/Q/9SKmdg2cmqEZCrqXEQA7n9A/Y23ARWnijAvuv//WFJj6P+7fwp3n0v0P/Egl8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com; spf=pass smtp.mailfrom=hugovil.com; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b=zfjSHjNe; arc=none smtp.client-ip=162.243.120.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="zfjSHjNe" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Cc:To :From:subject:date:message-id:reply-to; bh=wHKdwAMNEz9YwMlr8EqS0oQhOrg5q+vUv7LPu03mT64=; b=zfjSHjNeqN0+aHPGFacwcMU2xT AeynVr6e9UBRY5NiqaFsK9zHOP+4w4YW0+9U1WpDWeMfPeb0El+uNrSxvCgPhc1ZilmgqGZYvWTn+ 62o10n4C0w7n3ptZocHFu6PH9+QOTsAPuccNX0yAxyEXJTbBU2e2Z6CPf1ZL9SEO1JyY=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:47746 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1vvHDH-0005uT-Ix; Wed, 25 Feb 2026 10:54:12 -0500 From: Hugo Villeneuve To: robin@protonic.nl, andy@kernel.org, geert@linux-m68k.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, hvilleneuve@dimonoff.com, mkorpershoek@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, lee@kernel.org, alexander.sverdlin@gmail.com, marek.vasut@gmail.com, akurz@blala.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, hugo@hugovil.com Date: Wed, 25 Feb 2026 10:53:57 -0500 Message-ID: <20260225155409.612478-1-hugo@hugovil.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Subject: [PATCH v3 0/4] input: add GPIO-based charlieplex keypad X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) From: Hugo Villeneuve Hello, this patch series add a new GPIO charlieplex keypad driver. The first two patches simply commonize two properties that are present in a few bindings, so that the actual patches for the charlieplex keypad driver can reuse them instead of also redefining them. I have tested the driver on a custom board with a Solidrun RZ/G2LC SOM with three charlieplex keyboards, all connected thru a single PCA9416 I2C GPIO expander. Link: [v1] https://lore.kernel.org/all/20260203155023.536103-1-hugo@hugovil.com/ Link: [v2] https://lore.kernel.org/all/20260213171431.2228814-1-hugo@hugovil.com/ Changes for v3: - Add ASCII diagram in bindings, and reference to it in example - Reorder properties alphabetically - Add patch to define common input settling-time-us property - Add patch to define common input debounce-delay-ms property Changes for v2: - Fix yamllint error for example - Remove unused debug variable (nkeys) - Remove support for custom linux,no-autorepeat DT property - Remove support for custom gpio-activelow DT property Thank you. Hugo Villeneuve (4): dt-bindings: input: add debounce-delay-ms common property dt-bindings: input: add settling-time-us common property dt-bindings: input: add GPIO charlieplex keypad Input: charlieplex_keypad: add GPIO charlieplex keypad .../bindings/auxdisplay/holtek,ht16k33.yaml | 5 +- .../bindings/input/cirrus,ep9307-keypad.yaml | 7 +- .../input/gpio-charlieplex-keypad.yaml | 106 +++++++++ .../bindings/input/gpio-matrix-keypad.yaml | 5 +- .../devicetree/bindings/input/input.yaml | 16 ++ .../input/mediatek,mt6779-keypad.yaml | 1 + .../devicetree/bindings/mfd/fsl,mc13xxx.yaml | 2 - MAINTAINERS | 7 + drivers/input/keyboard/Kconfig | 14 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/charlieplex_keypad.c | 213 ++++++++++++++++++ 11 files changed, 365 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/gpio-charlieplex-keypad.yaml create mode 100644 drivers/input/keyboard/charlieplex_keypad.c base-commit: ab2e361ca97a42b7af8be1d273646b30d3b75bf3 -- 2.47.3