Re: [PATCH 3/6] Input: mc13783-pwrbutton: enable other mc13xxx PMIC
From: Lee Jones <lee@kernel.org>
Date: 2025-09-02 13:43:54
Also in:
linux-devicetree, lkml
From: Lee Jones <lee@kernel.org>
Date: 2025-09-02 13:43:54
Also in:
linux-devicetree, lkml
On Sun, 17 Aug 2025, Alexander Kurz wrote:
All three mc13xxx types do feature two common power buttons while mc13783 and mc13892 provide one extra button each that differs unfortunately. The common buttons are ONOFD[12] (mc13783) and PWRON[12] (mc13892/mc34708). ONOFD3 on mc13783 will still be supported while support for PWRON3 for mc13892 will be left unsupported for simplicity. Add the similarities to the header files for reference, extend the platform_driver struct with the id table to support all three types. Signed-off-by: Alexander Kurz <redacted> --- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/mc13783-pwrbutton.c | 21 ++++++++++++++++++---
include/linux/mfd/mc13783.h | 4 ++-- include/linux/mfd/mc13xxx.h | 9 +++++++++
Acked-by: Lee Jones <lee@kernel.org>
4 files changed, 31 insertions(+), 7 deletions(-)
-- Lee Jones [李琼斯]